Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created October 25, 2018 12:24
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/97f65358c04a9c3638d65b4cb4d8dfe5 to your computer and use it in GitHub Desktop.
Save aEnigmatic/97f65358c04a9c3638d65b4cb4d8dfe5 to your computer and use it in GitHub Desktop.
Phoenix 3* [AI ONLY]
###
# Phoenix
###
# Skills
###
#
# Rebirth Flame (189390) [Magic]
#
# Magic fire damage (3.5x, MAG) to all enemies
# Restore 999999999 HP to caster
# Unused parameters: [0,0,0,0,0,0]
# Remove all buffs and debuffs from caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dive (189400) [Physical]
#
# Physical damage (7x, ATK) to one enemy
# Reduce DEF and SPR by 20% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Fire Breath (189410) [Magic]
#
# Magic fire damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Its wings burn brightly. (189420) [None]
#
# Increase ATK and MAG by 20% for one turn to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Its wings burn with a faint light. (189430) [None]
#
# Reduce resistance to Ice and Water by 100% for one turn to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sonic Boom (189440) [Magic]
#
# Magic damage (6x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Preparing for reincarnation. (189450) [None]
#
# Reduce magic damage taken by 99% to caster for one turn (can not be removed)
# Reduce physical damage taken by 99% to caster for one turn (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shockwave (189460) [Magic]
#
# Magic damage (5.5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(1, 'random') # Rebirth Flame (189390): Magic fire damage (3.5x, MAG) to all enemies, Restore 999999999 HP to caster, Remove all buffs and debuffs from caster
apple = True # reset next turn
elif green == 10:
useSkill(1, 'random') # Rebirth Flame (189390): Magic fire damage (3.5x, MAG) to all enemies, Restore 999999999 HP to caster, Remove all buffs and debuffs from caster
white = 0
green = 0
apple = True # reset next turn
elif green == 9:
useSkill(7, 'random') # Preparing for reincarnation. (189450): Reduce magic damage taken by 99% to caster for one turn (can not be removed), Reduce physical damage taken by 99% to caster for one turn (can not be removed)
green += 1
apple = True # reset next turn
elif white == 2 and peach == False:
useSkill(5, 'random') # Its wings burn with a faint light. (189430): Reduce resistance to Ice and Water by 100% for one turn to caster
white = 0
peach = True # reset next turn
elif peach == False:
useSkill(4, 'random') # Its wings burn brightly. (189420): Increase ATK and MAG by 20% for one turn to caster
white += 1
peach = True # reset next turn
elif berry == False:
useSkill(3, 'random') # Fire Breath (189410): Magic fire damage (10x, MAG) to all enemies
green += 1
berry = True # reset next turn
elif olive == False:
useSkill(6, 'random') # Sonic Boom (189440): Magic damage (6x, MAG) to all enemies
olive = True # reset next turn
elif isTurnMod(3) and mango == False:
useSkill(6, 'random') # Sonic Boom (189440): Magic damage (6x, MAG) to all enemies
mango = True # reset next turn
elif self.HP < 0.7 and grape == False:
useSkill(8, 'random') # Shockwave (189460): Magic damage (5.5x, MAG) to one enemy
grape = True # reset next turn
elif self.HP < 0.5 and melon == False:
useSkill(8, 'random') # Shockwave (189460): Magic damage (5.5x, MAG) to one enemy
melon = True # reset next turn
elif lemon == False:
useSkill(2, 'random') # Dive (189400): Physical damage (7x, ATK) to one enemy, Reduce DEF and SPR by 20% for 3 turns to one enemy
lemon = True # reset next turn
elif random() <= 0.30 and isTurnMod(2):
useSkill(2, 'random') # Dive (189400): Physical damage (7x, ATK) to one enemy, Reduce DEF and SPR by 20% for 3 turns to one enemy
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment