Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created January 27, 2018 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aEnigmatic/ea9fe08547fe567ab31b6d1c3eb813a7 to your computer and use it in GitHub Desktop.
Save aEnigmatic/ea9fe08547fe567ab31b6d1c3eb813a7 to your computer and use it in GitHub Desktop.
Nam-Yensa Sandsea - Exploration (HARD)
##
# Mission 'Nam-Yensa Sandsea - Exploration (HARD)' (7690101)
##
##
# Monster Info
##
#
# Monster Alraune (111111007)
# Race Plantoid
# Level 75
# Actions 3-3
#
#
# Stats
# HP 300000
# MP 280
# ATK 360
# DEF 25
# MAG 25
# SPR 25
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind -50%
# Earth 0%
# Light 0%
# Dark 0%
#
#
# Status resist (+10% / application)
# Poison 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 0%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 0%
#
#
# Immunity
# Death -
# Gravity -
#
###
###
# Skills
###
#
# Ram (Physical)
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Warsong (None)
#
# Increase ATK by 50% for 3 turns to all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if once():
useSkill(2, 'random') # Warsong (176200): Increase ATK by 50% for 3 turns to all allies
apple = True # reset next turn
elif apple == False:
useSkill(1, 'random') # Ram (176190): Physical damage (3x, ATK) to one enemy
apple = True # reset next turn
elif berry == False and isTurnMod(4):
useSkill(2, 'random') # Warsong (176200): Increase ATK by 50% for 3 turns to all allies
berry = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster Speartongue (203101007)
# Race Aquatic
# Level 75
# Actions 3-3
#
#
# Stats
# HP 300000
# MP 280
# ATK 360
# DEF 25
# MAG 25
# SPR 25
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -50%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Lunge (Physical)
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Magic Ballad (None)
#
# Increase MAG by 50% for 3 turns to all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if once():
useSkill(2, 'random') # Magic Ballad (176240): Increase MAG by 50% for 3 turns to all allies
apple = True # reset next turn
elif apple == False:
useSkill(1, 'random') # Lunge (176220): Physical damage (3x, ATK) to one enemy
apple = True # reset next turn
elif berry == False and isTurnMod(4):
useSkill(2, 'random') # Magic Ballad (176240): Increase MAG by 50% for 3 turns to all allies
berry = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster Yensa (203111005)
# Race Aquatic
# Level 75
# Actions 5-5
#
#
# Stats
# HP 500000
# MP 450
# ATK 450
# DEF 25
# MAG 25
# SPR 25
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind -50%
# Earth 0%
# Light 0%
# Dark 0%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# AI
###
# None
##
##
# Monster Info
##
#
# Monster Wyvern (307071004)
# Race Dragon
# Level 75
# Actions 3-3
#
#
# Stats
# HP 500000
# MP 450
# ATK 450
# DEF 25
# MAG 250
# SPR 25
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water -50%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Gust (Physical)
#
# Physical wind damage (3x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Aero (Magic)
#
# Magic wind damage (3x, MAG) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Ram (Physical)
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
end_turn()
elif self.HP < 0.5 and once():
useSkill(1, 'random') # Gust (176260): Physical wind damage (3x, ATK) to all enemies
apple = True # reset next turn
elif random() <= 0.50 and berry == False:
useSkill(2, 'random') # Aero (176280): Magic wind damage (3x, MAG) to one enemy
berry = True # reset next turn
elif peach == False:
useSkill(3, 'random') # Ram (176190): Physical damage (3x, ATK) to one enemy
peach = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster Urutan Eater (303051001)
# Race Aquatic
# Level 99
# Actions 7-7
#
#
# Stats
# HP 4000000
# MP 5000
# ATK 700
# DEF 50
# MAG 480
# SPR 50
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind -50%
# Earth 300%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 0%
# Berserk? 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Sonic Turn (Physical)
#
# Physical damage (7x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Thunder (Magic)
#
# Magic lightning damage (3x, MAG) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Protect (Magic)
#
# Increase DEF by 100% for 3 turns to one ally
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Fire (Magic)
#
# Magic fire damage (3x, MAG) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Blizzard (Magic)
#
# Magic ice damage (3x, MAG) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Recovery (None)
#
# Restore 10% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
end_turn()
elif self.HP < 0.8 and once():
useSkill(1, 'random') # Sonic Turn (176370): Physical damage (7x, ATK) to one enemy
elif self.HP < 0.8 and once():
useSkill(3, 'random') # Protect (160090): Increase DEF by 100% for 3 turns to one ally
apple = True # reset next turn
elif self.HP < 0.6 and once():
useSkill(1, 'random') # Sonic Turn (176370): Physical damage (7x, ATK) to one enemy
elif self.HP < 0.6 and once():
useSkill(6, 'random') # Recovery (176400): Restore 10% HP to caster
apple = True # reset next turn
elif self.HP < 0.4 and once():
useSkill(1, 'random') # Sonic Turn (176370): Physical damage (7x, ATK) to one enemy
berry = True # reset next turn
elif berry == True and peach == False:
useSkill(6, 'random') # Recovery (176400): Restore 10% HP to caster
peach = True # reset next turn
elif peach == True:
useSkill(3, 'random') # Protect (160090): Increase DEF by 100% for 3 turns to one ally
apple = True # reset next turn
elif green == 3 and mango == False:
useSkill(1, 'random') # Sonic Turn (176370): Physical damage (7x, ATK) to one enemy
berry = True # reset next turn
mango = True # reset next turn
green = 0
elif random() <= 0.30 and self.HP < 0.5 and olive == False:
useSkill(2, 'random') # Thunder (176380): Magic lightning damage (3x, MAG) to one enemy
olive = True # reset next turn
elif random() <= 0.33 and self.HP < 0.5 and olive == False:
useSkill(4, 'random') # Fire (176390): Magic fire damage (3x, MAG) to one enemy
olive = True # reset next turn
elif self.HP < 0.5 and olive == False:
useSkill(5, 'random') # Blizzard (171950): Magic ice damage (3x, MAG) to one enemy
olive = True # reset next turn
elif lemon == False:
useSkill(4, 'random') # Fire (176390): Magic fire damage (3x, MAG) to one enemy
lemon = True # reset next turn
mango = True # reset next turn
green += 1
elif random() <= 0.50 and grape == False:
useSkill(2, 'random') # Thunder (176380): Magic lightning damage (3x, MAG) to one enemy
grape = True # reset next turn
elif grape == False:
useSkill(5, 'random') # Blizzard (171950): Magic ice damage (3x, MAG) to one enemy
grape = True # reset next turn
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment