Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic aEnigmatic/407031102.jp.py

Last active Apr 26, 2019
Embed
What would you like to do?
Bahamut 2* [AI only]
###
# Bahamut 2*
###
# Skills
###
#
# メガフレア (216681) [Magic]
#
# Magic damage (18x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 3 (166380) [Magic]
#
# Inflict Paralyze (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 2 (166390) [Magic]
#
# Inflict Paralyze (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 1 (166400) [Magic]
#
# Inflict Paralyze (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 稲妻 (216676) [Magic]
#
# Magic lightning damage (24x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 吹雪 (216677) [Magic]
#
# Magic ice damage (24x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# アトミックレイ (216678) [Magic]
#
# Magic fire damage (24x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Nihility (166440) [Magic]
#
# Remove all buffs and debuffs from all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# フレア (216679) [Magic]
#
# Magic fire damage (27x, MAG) to one enemy
# Reduce resistance to Water by 30% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# メガフレア (216680) [Magic]
#
# Magic damage (14x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(1, 'random') # メガフレア (216681): Magic damage (18x, MAG) to all enemies
apple = True # reset next turn
elif sushi == True and berry == False:
useSkill(1, 'random') # メガフレア (216681): Magic damage (18x, MAG) to all enemies
apple = True # reset next turn
sushi = False # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 6 and honey == True and ramen == True and sushi == False:
useSkill(4, 'random') # 1 (166400): Inflict Paralyze (100%) on all enemies
green = 0
berry = True # reset next turn
sushi = True # persistent
elif green >= 6 and honey == True and ramen == False:
useSkill(3, 'random') # 2 (166390): Inflict Paralyze (100%) on all enemies
green = 0
ramen = True # persistent
elif green >= 6 and honey == False and ramen == False:
useSkill(2, 'random') # 3 (166380): Inflict Paralyze (100%) on all enemies
green = 0
honey = True # persistent
elif self.HP < 0.8 and once():
useSkill(5, 'random') # 稲妻 (216676): Magic lightning damage (24x, MAG) to all enemies
green += 1
elif self.HP < 0.6 and once():
useSkill(6, 'random') # 吹雪 (216677): Magic ice damage (24x, MAG) to all enemies
green += 1
bacon = True # persistent
elif self.HP < 0.4 and once():
useSkill(7, 'random') # アトミックレイ (216678): Magic fire damage (24x, MAG) to all enemies
green += 1
elif self.HP < 0.2 and once():
useSkill(10, 'random') # メガフレア (216680): Magic damage (14x, MAG) to all enemies
green += 1
elif ramen == True and peach == False:
useSkill(7, 'random') # アトミックレイ (216678): Magic fire damage (24x, MAG) to all enemies
green += 1
peach = True # reset next turn
elif honey == True and peach == False:
useSkill(6, 'random') # 吹雪 (216677): Magic ice damage (24x, MAG) to all enemies
green += 1
peach = True # reset next turn
elif honey == False and peach == False:
useSkill(5, 'random') # 稲妻 (216676): Magic lightning damage (24x, MAG) to all enemies
green += 1
peach = True # reset next turn
elif bacon == True and olive == False:
useSkill(9, 'highest MP') # フレア (216679): Magic fire damage (27x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
green += 1
olive = True # reset next turn
elif isTurnMod(4) and mango == False:
useSkill(8, 'random') # Nihility (166440): Remove all buffs and debuffs from all enemies
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
You can’t perform that action at this time.