Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created September 26, 2018 15:28
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/f3ee83fec81750c233539b3684b5f1e5 to your computer and use it in GitHub Desktop.
Save aEnigmatic/f3ee83fec81750c233539b3684b5f1e5 to your computer and use it in GitHub Desktop.
Fenrir 3* (AI only)
###
# Fenrir
###
# Skills
###
#
# Howling Moon (185930) [None]
#
# Increase ATK, DEF, MAG and SPR by 100% for 3 turns to one ally
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Snap (185940) [Physical]
#
# 99% HP damage to one enemy
# Unused parameters: [99,100]
# Restore 1% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Pointed Fang (185950) [Physical]
#
# Physical damage (4x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Breath (185960) [Magic]
#
# Magic dark damage (9x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Cold Breath (185970) [Magic]
#
# Magic ice damage (9x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Super Roar (185980) [Magic]
#
# Magic damage (6.5x, MAG) to all enemies
# Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies
# Inflict Paralyze (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Frighten Prey (185990) [None]
#
# Increase chance of being targeted by 100% for 3 turns
# Reduce ATK, DEF, MAG and SPR by 70% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Moon of the Beast (186000) [None]
#
# Reduce physical damage taken by 50% to caster for 3 turns (can not be removed)
# Reduce magic damage taken by 50% to caster for 3 turns (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hell Fang (186430) [Magic]
#
# [Death]
# Instant KO (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark (186440) [Magic]
#
# Magic dark damage (9x, MAG) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Fangs of Chaos (186450) [Magic]
#
# Inflict Confusion (100%) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
green = 0
elif honey == False and self.HP < 0.5 and green == 7 and once():
useSkill(1, 'random') # Howling Moon (185930): Increase ATK, DEF, MAG and SPR by 100% for 3 turns to one ally
apple = True # reset next turn
honey = True # persistent
elif honey == False and green == 7 and isTurnMod(5):
useSkill(1, 'random') # Howling Moon (185930): Increase ATK, DEF, MAG and SPR by 100% for 3 turns to one ally
apple = True # reset next turn
elif honey == False and green == 8:
endTurn()
green = 0
elif once():
useSkill(8, 'random') # Moon of the Beast (186000): Reduce physical damage taken by 50% to caster for 3 turns (can not be removed), Reduce magic damage taken by 50% to caster for 3 turns (can not be removed)
green += 1
elif isTurnMod(6) and lemon == False:
useSkill(8, 'random') # Moon of the Beast (186000): Reduce physical damage taken by 50% to caster for 3 turns (can not be removed), Reduce magic damage taken by 50% to caster for 3 turns (can not be removed)
green += 1
lemon = True # reset next turn
elif once() and grape == False:
useSkill(7, 'random') # Frighten Prey (185990): Increase chance of being targeted by 100% for 3 turns, Reduce ATK, DEF, MAG and SPR by 70% for 3 turns to one enemy
green += 1
grape = True # reset next turn
elif isTurnMod(6) and grape == False:
useSkill(7, 'random') # Frighten Prey (185990): Increase chance of being targeted by 100% for 3 turns, Reduce ATK, DEF, MAG and SPR by 70% for 3 turns to one enemy
green += 1
grape = True # reset next turn
elif white == 2 and berry == False:
useSkill(6, 'random') # Super Roar (185980): Magic damage (6.5x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies, Inflict Paralyze (100%) on all enemies
white = 0
green += 1
berry = True # reset next turn
elif white == 1 and berry == False:
useSkill(5, 'random') # Cold Breath (185970): Magic ice damage (9x, MAG) to all enemies
white += 1
green += 1
berry = True # reset next turn
elif white == 0 and berry == False:
useSkill(4, 'random') # Dark Breath (185960): Magic dark damage (9x, MAG) to all enemies
white += 1
green += 1
berry = True # reset next turn
elif self.HP < 0.3 and peach == False:
useSkill(6, 'random') # Super Roar (185980): Magic damage (6.5x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies, Inflict Paralyze (100%) on all enemies
green += 1
peach = True # reset next turn
elif random() <= 0.20 and self.HP < 0.5:
useSkill(2, 'random') # Snap (185940): 99% HP damage to one enemy, Restore 1% HP to caster
elif self.HP < 0.5 and grape == False:
useSkill(11, 'random') # Fangs of Chaos (186450): Inflict Confusion (100%) on one enemy
grape = True # reset next turn
elif isTurnMod(4) and lemon == False:
useSkill(9, 'random') # Hell Fang (186430): [Death], Instant KO (100%) to one enemy
green += 1
lemon = True # reset next turn
elif olive == False:
useSkill(10, 'random') # Dark (186440): Magic dark damage (9x, MAG) to one enemy
green += 1
olive = True # reset next turn
elif mango == False:
useSkill(3, 'random') # Pointed Fang (185950): Physical damage (4x, ATK) to one enemy
green += 1
mango = True # reset next turn
else:
attack('random')
green += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment