Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created August 28, 2018 18:35
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/1134a4399853315addf28497de7b1e75 to your computer and use it in GitHub Desktop.
Save aEnigmatic/1134a4399853315addf28497de7b1e75 to your computer and use it in GitHub Desktop.
Tetra Sylphid 3* - New Trial of the Wind Sprite
##
# Mission 'New Trial of the Wind Sprite' (1815107)
##
##
# Monster Info
##
#
# Monster Tetra Sylphid (408021002)
# Race Fairy
# Level 99
# Actions 9-9
#
#
# Stats
# HP 70000000
# MP 100000
# ATK 400
# DEF 50
# MAG 530
# SPR 25
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth -100%
# 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 100%
# Berserk? 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 風属性吸収 (100011) [Passive]
#
# Absorb Wind elemental attacks
#
##
###
# Skills
###
#
# Tornado (185580) [Magic]
#
# Magic wind damage (4x, MAG) to all enemies
# Reduce resistance to Wind by 30% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Gale Slash (185590) [Magic]
#
# Magic damage (4x, MAG) to one enemy
# Reduce DEF and SPR by 50% for 3 turns to one enemy
# Reduce resistance to all elements by 50% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tornado Bomb (185600) [Magic]
#
# Magic fire and wind damage (4x, MAG) to all enemies
# Reduce ATK and MAG by 50% for 3 turns to all enemies
# Reduce resistance to Fire by 30% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Delta Scrub (185610) [Physical]
#
# Physical damage (5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Cumulonimbus (185620) [Magic]
#
# Magic wind damage (4x, MAG) to all enemies
# Reduce DEF and SPR by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wind Hole (185630) [None]
#
# Remove one enemy from the fight
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sand Storm (185640) [Magic]
#
# Magic damage (4x, MAG) to all enemies
# Inflict Blind, Silence and Petrify (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Red Wind (185650) [Magic]
#
# Magic damage (0.3x) as MP drain (30%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hurricane Dance (185660) [Magic]
#
# Increase ATK, DEF, MAG and SPR by 50% for 3 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Soul Dance (185670) [Magic]
#
# Increase ATK, DEF, MAG and SPR by 50% for 3 turns to caster
# Reduce damage taken by 50% to caster for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Rejection Dance (185680) [Magic]
#
# Reflect all spell(s) for 3 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heavenswind (185690) [Magic]
#
# Magic wind damage (15x, MAG) to all enemies
# Reduce resistance to all elements by 50% for 5 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif self.HP < 0.4 and once():
useSkill(6, 'int_max') # Wind Hole (185630): Remove one enemy from the fight
elif self.HP < 0.8 and once():
useSkill(12, 'random') # Heavenswind (185690): Magic wind damage (15x, MAG) to all enemies, Reduce resistance to all elements by 50% for 5 turns to all enemies
elif self.HP < 0.8 and once():
useSkill(8, 'random') # Red Wind (185650): Magic damage (0.3x) as MP drain (30%) to one enemy
elif self.HP < 0.8 and once():
useSkill(9, 'random') # Hurricane Dance (185660): Increase ATK, DEF, MAG and SPR by 50% for 3 turns to caster
apple = True # reset next turn
elif self.HP < 0.5 and once():
useSkill(12, 'random') # Heavenswind (185690): Magic wind damage (15x, MAG) to all enemies, Reduce resistance to all elements by 50% for 5 turns to all enemies
elif self.HP < 0.5 and once():
useSkill(8, 'random') # Red Wind (185650): Magic damage (0.3x) as MP drain (30%) to one enemy
elif self.HP < 0.5 and once():
useSkill(5, 'random') # Cumulonimbus (185620): Magic wind damage (4x, MAG) to all enemies, Reduce DEF and SPR by 50% for 3 turns to all enemies
elif self.HP < 0.5 and once():
useSkill(10, 'random') # Soul Dance (185670): Increase ATK, DEF, MAG and SPR by 50% for 3 turns to caster, Reduce damage taken by 50% to caster for 3 turns
elif self.HP < 0.5 and once():
useSkill(9, 'random') # Hurricane Dance (185660): Increase ATK, DEF, MAG and SPR by 50% for 3 turns to caster
apple = True # reset next turn
elif self.HP < 0.3 and once():
useSkill(12, 'random') # Heavenswind (185690): Magic wind damage (15x, MAG) to all enemies, Reduce resistance to all elements by 50% for 5 turns to all enemies
elif self.HP < 0.3 and once():
useSkill(8, 'random') # Red Wind (185650): Magic damage (0.3x) as MP drain (30%) to one enemy
elif self.HP < 0.3 and once():
useSkill(5, 'random') # Cumulonimbus (185620): Magic wind damage (4x, MAG) to all enemies, Reduce DEF and SPR by 50% for 3 turns to all enemies
elif self.HP < 0.3 and once():
useSkill(9, 'random') # Hurricane Dance (185660): Increase ATK, DEF, MAG and SPR by 50% for 3 turns to caster
apple = True # reset next turn
elif green == 2 and self.HP < 0.5 and peach == False:
useSkill(7, 'random') # Sand Storm (185640): Magic damage (4x, MAG) to all enemies, Inflict Blind, Silence and Petrify (100%) on all enemies
green = 0
peach = True # reset next turn
elif green == 1 and self.HP < 0.5 and peach == False:
useSkill(5, 'random') # Cumulonimbus (185620): Magic wind damage (4x, MAG) to all enemies, Reduce DEF and SPR by 50% for 3 turns to all enemies
green = 1
peach = True # reset next turn
elif green == 0 and self.HP < 0.5 and peach == False:
useSkill(3, 'random') # Tornado Bomb (185600): Magic fire and wind damage (4x, MAG) to all enemies, Reduce ATK and MAG by 50% for 3 turns to all enemies, Reduce resistance to Fire by 30% for 3 turns to all enemies
green = 1
peach = True # reset next turn
elif green == 2 and berry == False:
useSkill(7, 'random') # Sand Storm (185640): Magic damage (4x, MAG) to all enemies, Inflict Blind, Silence and Petrify (100%) on all enemies
green = 0
berry = True # reset next turn
elif green == 1 and berry == False:
useSkill(5, 'random') # Cumulonimbus (185620): Magic wind damage (4x, MAG) to all enemies, Reduce DEF and SPR by 50% for 3 turns to all enemies
green = 1
berry = True # reset next turn
elif green == 0 and berry == False:
useSkill(3, 'random') # Tornado Bomb (185600): Magic fire and wind damage (4x, MAG) to all enemies, Reduce ATK and MAG by 50% for 3 turns to all enemies, Reduce resistance to Fire by 30% for 3 turns to all enemies
green = 1
berry = True # reset next turn
elif self.HP > 0.5 and isTurnMod(2) and peach == False:
useSkill(1, 'random') # Tornado (185580): Magic wind damage (4x, MAG) to all enemies, Reduce resistance to Wind by 30% for 3 turns to all enemies
peach = True # reset next turn
elif isTurnMod(4) and olive == False:
useSkill(11, 'random') # Rejection Dance (185680): Reflect all spell(s) for 3 turns to caster
olive = True # reset next turn
elif self.HP < 0.4 and mango == False:
useSkill(2, 'random') # Gale Slash (185590): Magic damage (4x, MAG) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy, Reduce resistance to all elements by 50% for 3 turns to one enemy
mango = True # reset next turn
elif lemon == False:
useSkill(2, 'random') # Gale Slash (185590): Magic damage (4x, MAG) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy, Reduce resistance to all elements by 50% for 3 turns to one enemy
lemon = True # reset next turn
elif random() <= 0.20:
useSkill(4, 'random') # Delta Scrub (185610): Physical damage (5x, ATK) to one enemy
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment