Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active February 17, 2019 14:49
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/40335fb73716ff2beb345092c5f25c7a to your computer and use it in GitHub Desktop.
Save aEnigmatic/40335fb73716ff2beb345092c5f25c7a to your computer and use it in GitHub Desktop.
Ignacio SE - Bonus stage
##
# Mission 'Bonus Stage 1' (8230901)
#
# Battles
# * Terror Knight
##
##
# Monster Info
##
#
# Monster Terror Knight (312001004)
# Race Reaper
# Level 99
# Actions 8-8
#
#
# Stats
# HP 5000000
# MP 10000
# ATK 1626
# DEF 500
# MAG 1454
# SPR 500
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice 50%
# Lightning 0%
# Water 25%
# Wind 0%
# Earth 0%
# Light -50%
# Dark 100%
# 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 0%
# DEF 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 攻撃魔力50% (100025) [Passive]
#
# Increase ATK and MAG by 50%
#
##
#
# 真降臨_テラーナイト (100039) [Passive]
#
# Cast Call of Death (195790) upon defeat
#
##
###
# Skills
###
#
# Inescapable Death (195620) [None]
#
# [Death]
# Instant KO (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Aerora (120120) [Magic]
#
# Magic wind damage (1.4x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Blizzara (120090) [Magic]
#
# Magic ice damage (1.4x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Stonra (120130) [Magic]
#
# Magic earth damage (1.4x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Dispelling Roar (195630) [None]
#
# Remove all buffs and debuffs from one enemy
# Inflict Paralyze and Petrify (100%) on one enemy
# Unknown parameters: [2]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Onrush (195730) [Physical]
#
# Physical damage (2.5x, ATK) to one enemy
# Inflict Confusion (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sweep (195740) [Physical]
#
# Physical damage (2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Call of Death (195790) [Physical]
#
# [Death]
# Instant KO (100%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if self.HP < 0.2 and once() and mango == False:
useSkill(1, 'hp_min') # Inescapable Death (195620): [Death], Instant KO (100%) to one enemy
mango = True # reset next turn
elif self.HP < 0.5 and once() and lemon == False:
useSkill(1, 'highest HP') # Inescapable Death (195620): [Death], Instant KO (100%) to one enemy
lemon = True # reset next turn
elif self.HP < 0.8 and once() and grape == False:
useSkill(1, 'highest ATK') # Inescapable Death (195620): [Death], Instant KO (100%) to one enemy
grape = True # reset next turn
elif isTurnMod(6) and apple == False:
useSkill(5, 'random') # Dispelling Roar (195630): Remove all buffs and debuffs from one enemy, Inflict Paralyze and Petrify (100%) on one enemy
apple = True # reset next turn
elif isTurnMod(6) and berry == False:
useSkill(5, 'random') # Dispelling Roar (195630): Remove all buffs and debuffs from one enemy, Inflict Paralyze and Petrify (100%) on one enemy
berry = True # reset next turn
elif isTurnMod(2) and apple == False and berry == False and peach == False:
useSkill(5, 'highest DEF') # Dispelling Roar (195630): Remove all buffs and debuffs from one enemy, Inflict Paralyze and Petrify (100%) on one enemy
peach = True # reset next turn
elif isTurnMod(3) and olive == False:
useSkill(1, 'random') # Inescapable Death (195620): [Death], Instant KO (100%) to one enemy
olive = True # reset next turn
elif isTurnMod(2) and melon == False:
useSkill(7, 'random') # Sweep (195740): Physical damage (2x, ATK) to all enemies
melon = True # reset next turn
elif guava == False:
useSkill(6, 'highest SPR') # Onrush (195730): Physical damage (2.5x, ATK) to one enemy, Inflict Confusion (100%) on one enemy
guava = True # reset next turn
elif gourd == False:
useSkill(6, 'random') # Onrush (195730): Physical damage (2.5x, ATK) to one enemy, Inflict Confusion (100%) on one enemy
gourd = True # reset next turn
elif random() <= 0.30:
useSkill(2, 'random') # Aerora (120120): Magic wind damage (1.4x, MAG) to all enemies
elif random() <= 0.30:
useSkill(3, 'random') # Blizzara (120090): Magic ice damage (1.4x, MAG) to all enemies
elif random() <= 0.30:
useSkill(4, 'random') # Stonra (120130): Magic earth damage (1.4x, MAG) to all enemies
else:
attack('random')
##
# Mission 'Bonus Stage 2' (8230902)
#
# Battles
# * Experiment #44
##
##
# Monster Info
##
#
# Monster Experiment #44 (312017002)
# Race Reaper
# Level 99
# Actions 20-20
#
#
# Stats
# HP 55000000
# MP 100000
# ATK 1150
# DEF 380
# MAG 1050
# SPR 350
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -50%
# Ice 0%
# Lightning 0%
# Water 50%
# Wind 50%
# Earth 50%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+50% / 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%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
# Unknown (7) +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Defensive Instinct (178520) [None]
#
# Reduce physical damage taken by 90% to caster for one turn (can not be removed)
# Unused parameters: [1]
# Reduce magic damage taken by 90% to caster for one turn (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Pistol Shot (178530) [None]
#
# Remove one enemy from the fight for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Slam (178550) [Physical]
#
# Physical damage (1.8x, ATK) to one enemy
# Reduce DEF and SPR by 50% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Life Drainer (178570) [Physical]
#
# Physical damage (2.5x, ATK) as HP drain (30%) to one enemy
# Physical damage (0.15x, ATK) as MP drain (30%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sweep (167200) [Physical]
#
# Physical damage (2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Gasious Dissemination (178590) [None]
#
# Inflict Poison, Sleep and Disease (50%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Venom Blast (178610) [Magic]
#
# Magic damage (3x, MAG) to all enemies
# Unknown parameters: [0]
# Inflict Poison and Disease (80%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Rib (150080) [Physical]
#
# Physical damage (1.8x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 13 and self.HP < 0.5:
endTurn()
green = 0
elif green >= 9 and self.HP > 0.5:
endTurn()
green = 0
elif self.HP < 0.8 and once():
useSkill(7, 'random') # Venom Blast (178610): Magic damage (3x, MAG) to all enemies, Inflict Poison and Disease (80%) on all enemies
elif self.HP < 0.65 and once():
useSkill(7, 'random') # Venom Blast (178610): Magic damage (3x, MAG) to all enemies, Inflict Poison and Disease (80%) on all enemies
elif self.HP < 0.5 and once():
useSkill(7, 'random') # Venom Blast (178610): Magic damage (3x, MAG) to all enemies, Inflict Poison and Disease (80%) on all enemies
elif self.HP < 0.33 and once():
useSkill(7, 'random') # Venom Blast (178610): Magic damage (3x, MAG) to all enemies, Inflict Poison and Disease (80%) on all enemies
elif self.HP < 0.2 and once():
useSkill(7, 'random') # Venom Blast (178610): Magic damage (3x, MAG) to all enemies, Inflict Poison and Disease (80%) on all enemies
elif berry == False and black >= 3:
useSkill(2, 'highest ATK') # Pistol Shot (178530): Remove one enemy from the fight for 3 turns
black = 0
green += 1
berry = True # reset next turn
elif self.sufferedDamageLastTurn('fire', 'physical') and apple == False:
useSkill(1, 'random') # Defensive Instinct (178520): Reduce physical damage taken by 90% to caster for one turn (can not be removed), Reduce magic damage taken by 90% to caster for one turn (can not be removed)
black += 1
white += 1
green += 1
apple = True # reset next turn
elif self.sufferedDamageLastTurn('fire', 'magical') and apple == False:
useSkill(1, 'random') # Defensive Instinct (178520): Reduce physical damage taken by 90% to caster for one turn (can not be removed), Reduce magic damage taken by 90% to caster for one turn (can not be removed)
black += 1
white += 1
green += 1
apple = True # reset next turn
elif apple == False and peach == False and white >= 2 and self.HP < 0.5:
useSkill(5, 'random') # Sweep (167200): Physical damage (2x, ATK) to all enemies
green += 1
peach = True # reset next turn
elif apple == False and peach == False and white >= 1 and self.HP < 0.5:
useSkill(4, 'random') # Life Drainer (178570): Physical damage (2.5x, ATK) as HP drain (30%) to one enemy, Physical damage (0.15x, ATK) as MP drain (30%) to one enemy
green += 1
peach = True # reset next turn
elif apple == False and peach == False and self.HP < 0.5:
useSkill(3, 'random') # Slam (178550): Physical damage (1.8x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
green += 1
peach = True # reset next turn
elif apple == False and olive == False and white >= 2:
useSkill(5, 'random') # Sweep (167200): Physical damage (2x, ATK) to all enemies
green += 1
olive = True # reset next turn
elif apple == False and olive == False and white >= 1:
useSkill(4, 'random') # Life Drainer (178570): Physical damage (2.5x, ATK) as HP drain (30%) to one enemy, Physical damage (0.15x, ATK) as MP drain (30%) to one enemy
green += 1
olive = True # reset next turn
elif apple == False and olive == False:
useSkill(3, 'random') # Slam (178550): Physical damage (1.8x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
green += 1
olive = True # reset next turn
elif apple == False and mango == False and white >= 2:
useSkill(5, 'random') # Sweep (167200): Physical damage (2x, ATK) to all enemies
green += 1
mango = True # reset next turn
elif apple == False and mango == False and white >= 1:
useSkill(4, 'random') # Life Drainer (178570): Physical damage (2.5x, ATK) as HP drain (30%) to one enemy, Physical damage (0.15x, ATK) as MP drain (30%) to one enemy
green += 1
mango = True # reset next turn
elif apple == False and mango == False:
useSkill(3, 'random') # Slam (178550): Physical damage (1.8x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
green += 1
mango = True # reset next turn
elif apple == False and lemon == False and white >= 2:
useSkill(5, 'random') # Sweep (167200): Physical damage (2x, ATK) to all enemies
white += 1
green += 1
lemon = True # reset next turn
elif apple == False and lemon == False and white >= 1:
useSkill(4, 'random') # Life Drainer (178570): Physical damage (2.5x, ATK) as HP drain (30%) to one enemy, Physical damage (0.15x, ATK) as MP drain (30%) to one enemy
white += 1
green += 1
lemon = True # reset next turn
elif apple == False and lemon == False:
useSkill(3, 'random') # Slam (178550): Physical damage (1.8x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
white += 1
green += 1
lemon = True # reset next turn
elif grape == False and white >= 3:
useSkill(6, 'random') # Gasious Dissemination (178590): Inflict Poison, Sleep and Disease (50%) on all enemies
white = 0
green += 1
grape = True # reset next turn
else:
useSkill(8, 'random') # Rib (150080): Physical damage (1.8x, ATK) to one enemy
green += 1
##
# Mission 'Bonus Stage 3' (8230903)
# Enemy has first strike!
#
# Battles
# * Intangir
##
##
# Monster Info
##
#
# Monster Intangir (401011001)
# Race Beast
# Level 99
# Actions 12-12
#
#
# Stats
# HP 45000000
# MP 100000
# ATK 1300
# DEF 80
# MAG 850
# SPR 35
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+80% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Drifting off... (176030) [None]
#
# Increase ATK and SPR by 200% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# It's dozing off... (176040) [None]
#
# Increase DEF and MAG by 200% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Awoken (176050) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# It's in a deep sleep (176060) [None]
#
# Increase ATK, DEF, MAG and SPR by 200% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Meteor (176070) [Magic]
#
# Magic damage (2.2x * 1.33 = 2.93x, MAG) to all enemies (ignore reflect)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Thunderous Meteor (176080) [Magic]
#
# Magic damage (3.5x * 2 = 7x, MAG) to all enemies (ignore reflect)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heave (176090) [Physical]
#
# [Death]
# Instant KO (100%) to one enemy
# Unknown parameters: [1,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lion's Rough Claw (176100) [Physical]
#
# Physical damage (2.5x, ATK) to one enemy
# Reduce DEF and SPR by 50% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Drowsy Phage (176110) [None]
#
# Inflict Sleep (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Bacteriophage (176120) [None]
#
# Inflict all status effects (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Rake (176130) [Physical]
#
# Physical damage (3.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Violent Scratch (176140) [Physical]
#
# Physical damage (2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Awakening Anger (176150) [Physical]
#
# Physical damage (6x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# It yawned... (176160) [None]
#
# Restore 3000000 HP to one ally
# Unknown parameters: [0,0,0,0,0,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heavenly Collapse (176170) [Magic]
#
# Magic damage (7.5x * 2 = 15x, MAG) to all enemies (ignore reflect)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Meteor (177490) [Magic]
#
# Magic damage (1.5x * 1.43 = 2.14x, MAG) to all enemies (ignore reflect)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Inescapable Horn (177500) [Physical]
#
# Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True and steak == True:
endTurn()
salad = True # persistent
elif apple == True and otter == True:
endTurn()
otter = False # reset next turn
elif apple == True:
endTurn()
elif once() and self.HP < 0.8:
useSkill(3, 'random') # Awoken (176050): No effect
var_62 = True # unknown flag type
elif once() and self.HP < 0.8:
useSkill(15, 'random') # Heavenly Collapse (176170): Magic damage (7.5x * 2 = 15x, MAG) to all enemies (ignore reflect)
fries = False # persistent
salad = False # persistent
steak = False # persistent
bacon = False # persistent
ramen = True # persistent
honey = False # persistent
elif once() and self.HP < 0.5 and var_62 == False and tiger == False:
useSkill(3, 'random') # Awoken (176050): No effect
var_62 = True # unknown flag type
elif once() and self.HP < 0.5:
useSkill(9, 'random') # Drowsy Phage (176110): Inflict Sleep (100%) on all enemies
elif once() and self.HP < 0.5:
useSkill(15, 'random') # Heavenly Collapse (176170): Magic damage (7.5x * 2 = 15x, MAG) to all enemies (ignore reflect)
tiger = True # reset next turn
fries = False # persistent
salad = False # persistent
steak = False # persistent
bacon = False # persistent
ramen = False # persistent
honey = True # persistent
elif once() and self.HP < 0.2 and var_62 == False and mouse == False:
useSkill(3, 'random') # Awoken (176050): No effect
var_62 = True # unknown flag type
elif once() and self.HP < 0.2:
useSkill(10, 'random') # Bacteriophage (176120): Inflict all status effects (100%) on all enemies
elif once() and self.HP < 0.2:
useSkill(15, 'random') # Heavenly Collapse (176170): Magic damage (7.5x * 2 = 15x, MAG) to all enemies (ignore reflect)
mouse = True # reset next turn
fries = False # persistent
salad = False # persistent
steak = False # persistent
bacon = False # persistent
ramen = True # persistent
honey = False # persistent
elif once():
useSkill(16, 'random') # Meteor (177490): Magic damage (1.5x * 1.43 = 2.14x, MAG) to all enemies (ignore reflect)
honey = True # persistent
elif self.HP > 0.6 and black >= 8 and honey == True and ramen == False and bacon == True:
wait() # No action
black = 0
fries = False # persistent
steak = False # persistent
bacon = False # persistent
ramen = True # persistent
honey = False # persistent
elif self.HP > 0.6 and mauve >= 8 and ramen == True and honey == False and bacon == True:
wait() # No action
mauve = 0
fries = False # persistent
steak = False # persistent
bacon = False # persistent
ramen = False # persistent
honey = True # persistent
elif black >= 9 and honey == True and ramen == False and bacon == True:
wait() # No action
black = 0
fries = False # persistent
steak = False # persistent
bacon = False # persistent
ramen = True # persistent
honey = False # persistent
elif mauve >= 9 and ramen == True and honey == False and bacon == True:
wait() # No action
mauve = 0
fries = False # persistent
steak = False # persistent
bacon = False # persistent
ramen = False # persistent
honey = True # persistent
elif honey == True and ramen == False and bacon == False:
useSkill(1, 'random') # Drifting off... (176030): Increase ATK and SPR by 200% for 2 turns to caster
otter = True # reset next turn
apple = True # reset next turn
salad = False # persistent
bacon = True # persistent
elif self.hitByLastTurn('magic') and honey == True and ramen == False and bacon == True and peach == False:
useSkill(3, 'random') # Awoken (176050): No effect
black += 1
peach = True # reset next turn
elif self.hitByLastTurn('esper') and honey == True and ramen == False and bacon == True and peach == False:
useSkill(3, 'random') # Awoken (176050): No effect
black += 1
peach = True # reset next turn
elif self.hitByLastTurn('magic') and honey == True and ramen == False and bacon == True and olive == False:
useSkill(17, 'highest HP') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
black += 1
olive = True # reset next turn
elif self.hitByLastTurn('esper') and honey == True and ramen == False and bacon == True and olive == False:
useSkill(17, 'highest HP') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
black += 1
olive = True # reset next turn
elif self.hitByLastTurn('magic') and honey == True and ramen == False and bacon == True and mango == False:
useSkill(8, 'highest DEF') # Lion's Rough Claw (176100): Physical damage (2.5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
black += 1
mango = True # reset next turn
elif self.hitByLastTurn('esper') and honey == True and ramen == False and bacon == True and mango == False:
useSkill(8, 'highest DEF') # Lion's Rough Claw (176100): Physical damage (2.5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
black += 1
mango = True # reset next turn
elif self.hitByLastTurn('magic') and honey == True and ramen == False and bacon == True and lemon == False:
useSkill(8, 'highest DEF') # Lion's Rough Claw (176100): Physical damage (2.5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
black += 1
lemon = True # reset next turn
elif self.hitByLastTurn('esper') and honey == True and ramen == False and bacon == True and lemon == False:
useSkill(8, 'highest DEF') # Lion's Rough Claw (176100): Physical damage (2.5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
black += 1
lemon = True # reset next turn
elif self.hitByLastTurn('magic') and honey == True and ramen == False and bacon == True and grape == False:
useSkill(7, 'random') # Heave (176090): [Death], Instant KO (100%) to one enemy
black += 1
grape = True # reset next turn
elif self.hitByLastTurn('esper') and honey == True and ramen == False and bacon == True and grape == False:
useSkill(7, 'random') # Heave (176090): [Death], Instant KO (100%) to one enemy
black += 1
grape = True # reset next turn
elif self.hitByLastTurn('magic') and honey == True and ramen == False and bacon == True and melon == False:
useSkill(7, 'random') # Heave (176090): [Death], Instant KO (100%) to one enemy
black += 1
melon = True # reset next turn
elif self.hitByLastTurn('esper') and honey == True and ramen == False and bacon == True and melon == False:
useSkill(7, 'random') # Heave (176090): [Death], Instant KO (100%) to one enemy
black += 1
melon = True # reset next turn
elif self.hitByLastTurn('magic') and honey == True and ramen == False and bacon == True and guava == False:
useSkill(6, 'random') # Thunderous Meteor (176080): Magic damage (3.5x * 2 = 7x, MAG) to all enemies (ignore reflect)
black += 1
guava = True # reset next turn
elif self.hitByLastTurn('esper') and honey == True and ramen == False and bacon == True and guava == False:
useSkill(6, 'random') # Thunderous Meteor (176080): Magic damage (3.5x * 2 = 7x, MAG) to all enemies (ignore reflect)
black += 1
guava = True # reset next turn
elif self.hitByLastTurn('magic') and honey == True and ramen == False and bacon == True and var_61 == False:
useSkill(6, 'random') # Thunderous Meteor (176080): Magic damage (3.5x * 2 = 7x, MAG) to all enemies (ignore reflect)
var_61 = True # unknown flag type
black += 1
elif self.hitByLastTurn('esper') and honey == True and ramen == False and bacon == True and var_61 == False:
useSkill(6, 'random') # Thunderous Meteor (176080): Magic damage (3.5x * 2 = 7x, MAG) to all enemies (ignore reflect)
var_61 = True # unknown flag type
black += 1
elif self.hitByLastTurn('magic') and honey == True and ramen == False and bacon == True:
useSkill(6, 'random') # Thunderous Meteor (176080): Magic damage (3.5x * 2 = 7x, MAG) to all enemies (ignore reflect)
black += 1
elif self.hitByLastTurn('esper') and honey == True and ramen == False and bacon == True:
useSkill(6, 'random') # Thunderous Meteor (176080): Magic damage (3.5x * 2 = 7x, MAG) to all enemies (ignore reflect)
black += 1
elif self.hitByLastTurn('attack') and honey == True and ramen == False and bacon == True and peach == False:
useSkill(3, 'random') # Awoken (176050): No effect
black += 1
peach = True # reset next turn
elif self.hitByLastTurn('ability') and honey == True and ramen == False and bacon == True and peach == False:
useSkill(3, 'random') # Awoken (176050): No effect
black += 1
peach = True # reset next turn
elif unit('5:enemy:any').usedLastTurn('limitburst') and honey == True and ramen == False and bacon == True and peach == False:
useSkill(3, 'random') # Awoken (176050): No effect
black += 1
peach = True # reset next turn
elif random() <= 0.30 and self.hitByLastTurn('attack') and honey == True and ramen == False and bacon == True and olive == False:
useSkill(17, 'highest HP') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
black += 1
olive = True # reset next turn
elif random() <= 0.30 and self.hitByLastTurn('ability') and honey == True and ramen == False and bacon == True and olive == False:
useSkill(17, 'highest HP') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
black += 1
olive = True # reset next turn
elif random() <= 0.30 and unit('5:enemy:any').usedLastTurn('limitburst') and honey == True and ramen == False and bacon == True and olive == False:
useSkill(17, 'highest HP') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
black += 1
olive = True # reset next turn
elif random() <= 0.30 and self.hitByLastTurn('attack') and honey == True and ramen == False and bacon == True and mango == False:
useSkill(17, 'random') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
black += 1
mango = True # reset next turn
elif random() <= 0.30 and self.hitByLastTurn('ability') and honey == True and ramen == False and bacon == True and mango == False:
useSkill(17, 'random') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
black += 1
mango = True # reset next turn
elif random() <= 0.30 and unit('5:enemy:any').usedLastTurn('limitburst') and honey == True and ramen == False and bacon == True and mango == False:
useSkill(17, 'random') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
black += 1
mango = True # reset next turn
elif self.hitByLastTurn('attack') and honey == True and ramen == False and bacon == True and lemon == False:
useSkill(8, 'highest DEF') # Lion's Rough Claw (176100): Physical damage (2.5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
black += 1
lemon = True # reset next turn
elif self.hitByLastTurn('ability') and honey == True and ramen == False and bacon == True and lemon == False:
useSkill(8, 'highest DEF') # Lion's Rough Claw (176100): Physical damage (2.5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
black += 1
lemon = True # reset next turn
elif unit('5:enemy:any').usedLastTurn('limitburst') and honey == True and ramen == False and bacon == True and lemon == False:
useSkill(8, 'highest DEF') # Lion's Rough Claw (176100): Physical damage (2.5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
black += 1
lemon = True # reset next turn
elif self.hitByLastTurn('attack') and honey == True and ramen == False and bacon == True and grape == False:
useSkill(11, 'random') # Rake (176130): Physical damage (3.5x, ATK) to one enemy
black += 1
grape = True # reset next turn
elif self.hitByLastTurn('ability') and honey == True and ramen == False and bacon == True and grape == False:
useSkill(11, 'random') # Rake (176130): Physical damage (3.5x, ATK) to one enemy
black += 1
grape = True # reset next turn
elif unit('5:enemy:any').usedLastTurn('limitburst') and honey == True and ramen == False and bacon == True and grape == False:
useSkill(11, 'random') # Rake (176130): Physical damage (3.5x, ATK) to one enemy
black += 1
grape = True # reset next turn
elif self.hitByLastTurn('attack') and honey == True and ramen == False and bacon == True and melon == False:
useSkill(11, 'random') # Rake (176130): Physical damage (3.5x, ATK) to one enemy
black += 1
melon = True # reset next turn
elif self.hitByLastTurn('ability') and honey == True and ramen == False and bacon == True and melon == False:
useSkill(11, 'random') # Rake (176130): Physical damage (3.5x, ATK) to one enemy
black += 1
melon = True # reset next turn
elif unit('5:enemy:any').usedLastTurn('limitburst') and honey == True and ramen == False and bacon == True and melon == False:
useSkill(11, 'random') # Rake (176130): Physical damage (3.5x, ATK) to one enemy
black += 1
melon = True # reset next turn
elif self.hitByLastTurn('attack') and honey == True and ramen == False and bacon == True and guava == False:
useSkill(5, 'random') # Meteor (176070): Magic damage (2.2x * 1.33 = 2.93x, MAG) to all enemies (ignore reflect)
black += 1
guava = True # reset next turn
elif self.hitByLastTurn('ability') and honey == True and ramen == False and bacon == True and guava == False:
useSkill(5, 'random') # Meteor (176070): Magic damage (2.2x * 1.33 = 2.93x, MAG) to all enemies (ignore reflect)
black += 1
guava = True # reset next turn
elif unit('5:enemy:any').usedLastTurn('limitburst') and honey == True and ramen == False and bacon == True and guava == False:
useSkill(5, 'random') # Meteor (176070): Magic damage (2.2x * 1.33 = 2.93x, MAG) to all enemies (ignore reflect)
black += 1
guava = True # reset next turn
elif self.hitByLastTurn('attack') and honey == True and ramen == False and bacon == True and var_61 == False:
attack('random')
var_61 = True # unknown flag type
black += 1
elif self.hitByLastTurn('ability') and honey == True and ramen == False and bacon == True and var_61 == False:
attack('random')
var_61 = True # unknown flag type
black += 1
elif unit('5:enemy:any').usedLastTurn('limitburst') and honey == True and ramen == False and bacon == True and var_61 == False:
attack('random')
var_61 = True # unknown flag type
black += 1
elif self.hitByLastTurn('attack') and honey == True and ramen == False and bacon == True:
useSkill(5, 'random') # Meteor (176070): Magic damage (2.2x * 1.33 = 2.93x, MAG) to all enemies (ignore reflect)
black += 1
elif self.hitByLastTurn('ability') and honey == True and ramen == False and bacon == True:
useSkill(5, 'random') # Meteor (176070): Magic damage (2.2x * 1.33 = 2.93x, MAG) to all enemies (ignore reflect)
black += 1
elif unit('5:enemy:any').usedLastTurn('limitburst') and honey == True and ramen == False and bacon == True:
useSkill(5, 'random') # Meteor (176070): Magic damage (2.2x * 1.33 = 2.93x, MAG) to all enemies (ignore reflect)
black += 1
elif ramen == True and honey == False and bacon == False:
useSkill(2, 'random') # It's dozing off... (176040): Increase DEF and MAG by 200% for 2 turns to caster
otter = True # reset next turn
apple = True # reset next turn
salad = False # persistent
bacon = True # persistent
elif self.hitByLastTurn('attack') and ramen == True and honey == False and bacon == True and peach == False:
useSkill(3, 'random') # Awoken (176050): No effect
mauve += 1
peach = True # reset next turn
elif self.hitByLastTurn('ability') and ramen == True and honey == False and bacon == True and peach == False:
useSkill(3, 'random') # Awoken (176050): No effect
mauve += 1
peach = True # reset next turn
elif unit('5:enemy:any').usedLastTurn('limitburst') and ramen == True and honey == False and bacon == True and peach == False:
useSkill(3, 'random') # Awoken (176050): No effect
mauve += 1
peach = True # reset next turn
elif self.hitByLastTurn('attack') and ramen == True and honey == False and bacon == True and olive == False:
useSkill(17, 'highest HP') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
mauve += 1
olive = True # reset next turn
elif self.hitByLastTurn('ability') and ramen == True and honey == False and bacon == True and olive == False:
useSkill(17, 'highest HP') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
mauve += 1
olive = True # reset next turn
elif unit('5:enemy:any').usedLastTurn('limitburst') and ramen == True and honey == False and bacon == True and olive == False:
useSkill(17, 'highest HP') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
mauve += 1
olive = True # reset next turn
elif self.hitByLastTurn('attack') and ramen == True and honey == False and bacon == True and mango == False:
useSkill(17, 'random') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
mauve += 1
mango = True # reset next turn
elif self.hitByLastTurn('ability') and ramen == True and honey == False and bacon == True and mango == False:
useSkill(17, 'random') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
mauve += 1
mango = True # reset next turn
elif unit('5:enemy:any').usedLastTurn('limitburst') and ramen == True and honey == False and bacon == True and mango == False:
useSkill(17, 'random') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
mauve += 1
mango = True # reset next turn
elif self.hitByLastTurn('attack') and ramen == True and honey == False and bacon == True and lemon == False:
useSkill(8, 'highest DEF') # Lion's Rough Claw (176100): Physical damage (2.5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
mauve += 1
lemon = True # reset next turn
elif self.hitByLastTurn('ability') and ramen == True and honey == False and bacon == True and lemon == False:
useSkill(8, 'highest DEF') # Lion's Rough Claw (176100): Physical damage (2.5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
mauve += 1
lemon = True # reset next turn
elif unit('5:enemy:any').usedLastTurn('limitburst') and ramen == True and honey == False and bacon == True and lemon == False:
useSkill(8, 'highest DEF') # Lion's Rough Claw (176100): Physical damage (2.5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
mauve += 1
lemon = True # reset next turn
elif self.hitByLastTurn('attack') and ramen == True and honey == False and bacon == True and grape == False:
useSkill(8, 'highest DEF') # Lion's Rough Claw (176100): Physical damage (2.5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
mauve += 1
grape = True # reset next turn
elif self.hitByLastTurn('ability') and ramen == True and honey == False and bacon == True and grape == False:
useSkill(8, 'highest DEF') # Lion's Rough Claw (176100): Physical damage (2.5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
mauve += 1
grape = True # reset next turn
elif unit('5:enemy:any').usedLastTurn('limitburst') and ramen == True and honey == False and bacon == True and grape == False:
useSkill(8, 'highest DEF') # Lion's Rough Claw (176100): Physical damage (2.5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
mauve += 1
grape = True # reset next turn
elif self.hitByLastTurn('attack') and ramen == True and honey == False and bacon == True and melon == False:
useSkill(10, 'random') # Bacteriophage (176120): Inflict all status effects (100%) on all enemies
mauve += 1
melon = True # reset next turn
elif self.hitByLastTurn('ability') and ramen == True and honey == False and bacon == True and melon == False:
useSkill(10, 'random') # Bacteriophage (176120): Inflict all status effects (100%) on all enemies
mauve += 1
melon = True # reset next turn
elif unit('5:enemy:any').usedLastTurn('limitburst') and ramen == True and honey == False and bacon == True and melon == False:
useSkill(10, 'random') # Bacteriophage (176120): Inflict all status effects (100%) on all enemies
mauve += 1
melon = True # reset next turn
elif self.hitByLastTurn('attack') and ramen == True and honey == False and bacon == True and guava == False:
useSkill(6, 'random') # Thunderous Meteor (176080): Magic damage (3.5x * 2 = 7x, MAG) to all enemies (ignore reflect)
mauve += 1
guava = True # reset next turn
elif self.hitByLastTurn('ability') and ramen == True and honey == False and bacon == True and guava == False:
useSkill(6, 'random') # Thunderous Meteor (176080): Magic damage (3.5x * 2 = 7x, MAG) to all enemies (ignore reflect)
mauve += 1
guava = True # reset next turn
elif unit('5:enemy:any').usedLastTurn('limitburst') and ramen == True and honey == False and bacon == True and guava == False:
useSkill(6, 'random') # Thunderous Meteor (176080): Magic damage (3.5x * 2 = 7x, MAG) to all enemies (ignore reflect)
mauve += 1
guava = True # reset next turn
elif self.hitByLastTurn('attack') and ramen == True and honey == False and bacon == True and var_61 == False:
useSkill(6, 'random') # Thunderous Meteor (176080): Magic damage (3.5x * 2 = 7x, MAG) to all enemies (ignore reflect)
var_61 = True # unknown flag type
mauve += 1
elif self.hitByLastTurn('ability') and ramen == True and honey == False and bacon == True and var_61 == False:
useSkill(6, 'random') # Thunderous Meteor (176080): Magic damage (3.5x * 2 = 7x, MAG) to all enemies (ignore reflect)
var_61 = True # unknown flag type
mauve += 1
elif unit('5:enemy:any').usedLastTurn('limitburst') and ramen == True and honey == False and bacon == True and var_61 == False:
useSkill(6, 'random') # Thunderous Meteor (176080): Magic damage (3.5x * 2 = 7x, MAG) to all enemies (ignore reflect)
var_61 = True # unknown flag type
mauve += 1
elif self.hitByLastTurn('attack') and ramen == True and honey == False and bacon == True:
useSkill(6, 'random') # Thunderous Meteor (176080): Magic damage (3.5x * 2 = 7x, MAG) to all enemies (ignore reflect)
mauve += 1
elif self.hitByLastTurn('ability') and ramen == True and honey == False and bacon == True:
useSkill(6, 'random') # Thunderous Meteor (176080): Magic damage (3.5x * 2 = 7x, MAG) to all enemies (ignore reflect)
mauve += 1
elif unit('5:enemy:any').usedLastTurn('limitburst') and ramen == True and honey == False and bacon == True:
useSkill(6, 'random') # Thunderous Meteor (176080): Magic damage (3.5x * 2 = 7x, MAG) to all enemies (ignore reflect)
mauve += 1
elif self.hitByLastTurn('magic') and ramen == True and honey == False and bacon == True and peach == False:
useSkill(3, 'random') # Awoken (176050): No effect
mauve += 1
peach = True # reset next turn
elif self.hitByLastTurn('esper') and ramen == True and honey == False and bacon == True and peach == False:
useSkill(3, 'random') # Awoken (176050): No effect
mauve += 1
peach = True # reset next turn
elif random() <= 0.30 and self.hitByLastTurn('magic') and ramen == True and honey == False and bacon == True and olive == False:
useSkill(17, 'highest HP') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
mauve += 1
olive = True # reset next turn
elif random() <= 0.30 and self.hitByLastTurn('esper') and ramen == True and honey == False and bacon == True and olive == False:
useSkill(17, 'highest HP') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
mauve += 1
olive = True # reset next turn
elif random() <= 0.30 and self.hitByLastTurn('magic') and ramen == True and honey == False and bacon == True and mango == False:
useSkill(17, 'random') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
mauve += 1
mango = True # reset next turn
elif random() <= 0.30 and self.hitByLastTurn('esper') and ramen == True and honey == False and bacon == True and mango == False:
useSkill(17, 'random') # Inescapable Horn (177500): Physical damage (3.5x, ATK) to one enemy (+100% accuracy)
mauve += 1
mango = True # reset next turn
elif self.hitByLastTurn('magic') and ramen == True and honey == False and bacon == True and lemon == False:
useSkill(9, 'random') # Drowsy Phage (176110): Inflict Sleep (100%) on all enemies
mauve += 1
lemon = True # reset next turn
elif self.hitByLastTurn('esper') and ramen == True and honey == False and bacon == True and lemon == False:
useSkill(9, 'random') # Drowsy Phage (176110): Inflict Sleep (100%) on all enemies
mauve += 1
lemon = True # reset next turn
elif self.hitByLastTurn('magic') and ramen == True and honey == False and bacon == True and grape == False:
useSkill(5, 'random') # Meteor (176070): Magic damage (2.2x * 1.33 = 2.93x, MAG) to all enemies (ignore reflect)
mauve += 1
grape = True # reset next turn
elif self.hitByLastTurn('esper') and ramen == True and honey == False and bacon == True and grape == False:
useSkill(5, 'random') # Meteor (176070): Magic damage (2.2x * 1.33 = 2.93x, MAG) to all enemies (ignore reflect)
mauve += 1
grape = True # reset next turn
elif self.hitByLastTurn('magic') and ramen == True and honey == False and bacon == True and melon == False:
useSkill(12, 'random') # Violent Scratch (176140): Physical damage (2x, ATK) to all enemies
mauve += 1
melon = True # reset next turn
elif self.hitByLastTurn('esper') and ramen == True and honey == False and bacon == True and melon == False:
useSkill(12, 'random') # Violent Scratch (176140): Physical damage (2x, ATK) to all enemies
mauve += 1
melon = True # reset next turn
elif self.hitByLastTurn('magic') and ramen == True and honey == False and bacon == True and guava == False:
attack('random')
mauve += 1
guava = True # reset next turn
elif self.hitByLastTurn('esper') and ramen == True and honey == False and bacon == True and guava == False:
attack('random')
mauve += 1
guava = True # reset next turn
elif self.hitByLastTurn('magic') and ramen == True and honey == False and bacon == True and var_61 == False:
attack('random')
var_61 = True # unknown flag type
mauve += 1
elif self.hitByLastTurn('esper') and ramen == True and honey == False and bacon == True and var_61 == False:
attack('random')
var_61 = True # unknown flag type
mauve += 1
elif self.hitByLastTurn('magic') and ramen == True and honey == False and bacon == True:
useSkill(5, 'random') # Meteor (176070): Magic damage (2.2x * 1.33 = 2.93x, MAG) to all enemies (ignore reflect)
mauve += 1
elif self.hitByLastTurn('esper') and ramen == True and honey == False and bacon == True:
useSkill(5, 'random') # Meteor (176070): Magic damage (2.2x * 1.33 = 2.93x, MAG) to all enemies (ignore reflect)
mauve += 1
elif honey == True and ramen == False and bacon == True and salad == False:
useSkill(4, 'random') # It's in a deep sleep (176060): Increase ATK, DEF, MAG and SPR by 200% for 2 turns to caster
apple = True # reset next turn
steak = True # persistent
elif ramen == True and honey == False and bacon == True and salad == False:
useSkill(4, 'random') # It's in a deep sleep (176060): Increase ATK, DEF, MAG and SPR by 200% for 2 turns to caster
apple = True # reset next turn
steak = True # persistent
elif honey == True and bacon == True and salad == True and fries == False:
useSkill(3, 'random') # Awoken (176050): No effect
fries = True # persistent
elif ramen == True and bacon == True and salad == True and fries == False:
useSkill(3, 'random') # Awoken (176050): No effect
fries = True # persistent
elif fries == True and honey == True and ramen == False and berry == False:
useSkill(13, 'random') # Awakening Anger (176150): Physical damage (6x, ATK) to all enemies
berry = True # reset next turn
elif fries == True and honey == True and ramen == False and gourd == False:
useSkill(13, 'random') # Awakening Anger (176150): Physical damage (6x, ATK) to all enemies
gourd = True # reset next turn
elif fries == True and ramen == True and honey == False and berry == False:
useSkill(13, 'random') # Awakening Anger (176150): Physical damage (6x, ATK) to all enemies
berry = True # reset next turn
elif fries == True and ramen == True and honey == False and gourd == False:
useSkill(13, 'random') # Awakening Anger (176150): Physical damage (6x, ATK) to all enemies
gourd = True # reset next turn
elif fries == True and gourd == True and honey == True and ramen == False:
useSkill(14, 'random') # It yawned... (176160): Restore 3000000 HP to one ally
fries = False # persistent
salad = False # persistent
steak = False # persistent
bacon = False # persistent
ramen = True # persistent
honey = False # persistent
elif fries == True and gourd == True and ramen == True and honey == False:
useSkill(14, 'random') # It yawned... (176160): Restore 3000000 HP to one ally
fries = False # persistent
salad = False # persistent
steak = False # persistent
bacon = False # persistent
ramen = False # persistent
honey = True # persistent
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment