Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active December 6, 2019 18:09
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/f48af46999ac12af1c24927ae9a0d3b5 to your computer and use it in GitHub Desktop.
Save aEnigmatic/f48af46999ac12af1c24927ae9a0d3b5 to your computer and use it in GitHub Desktop.
Physalis SE - Bonus Stage
##
# Mission 'Bonus Stage' (8610900)
##
##
# Mission 'Bonus Stage 1' (8610901)
#
# Battles
# * Abaddon
##
##
# Monster Info
##
#
# Monster Abaddon (212014003)
# Race Reaper
# Level 100
# Actions 20-20
#
#
# Stats
# HP 40000000
# MP 80000
# ATK 550
# DEF 400
# MAG 680
# SPR 400
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind -50%
# Earth 0%
# Light -50%
# Dark 50%
# 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 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
###
#
# Rib (215424) [Physical]
#
# Physical damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Poison Mist (215425) [None]
#
# Inflict Poison (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Waterga (215426) [Magic]
#
# Magic water damage (2.8x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Aeroga (215427) [Magic]
#
# Magic wind damage (2.8x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Stonga (215428) [Magic]
#
# Magic earth damage (2.8x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Dimension (160020) [None]
#
# [Death]
# Instant KO (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 +
#
##
#
# Pressure (215429) [Physical]
#
# Physical damage (3.5x, ATK) to one enemy
# Inflict Paralyze (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Annul (215430) [Magic]
#
# Magic damage (0.1x, MAG) as MP drain (1%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Leech (215431) [Magic]
#
# Magic damage (3x, MAG) as HP drain (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if self.HP < 0.4 and green >= 12:
endTurn()
green = 0
elif self.HP > 0.4 and green >= 9:
endTurn()
green = 0
elif self.HP < 0.4 and green >= 11 and isTurnMod(2):
useSkill(2, 'random') # Poison Mist (215425): Inflict Poison (100%) on all enemies
green += 1
elif self.HP > 0.4 and green >= 8 and isTurnMod(3):
useSkill(2, 'random') # Poison Mist (215425): Inflict Poison (100%) on all enemies
green += 1
elif apple == False and self.sufferedDamageLastTurn('physical', 'light'):
useSkill(6, 'random') # Dimension (160020): [Death], Instant KO (100%) to one enemy
apple = True # reset next turn
elif apple == False and self.sufferedDamageLastTurn('magical', 'light'):
useSkill(6, 'random') # Dimension (160020): [Death], Instant KO (100%) to one enemy
apple = True # reset next turn
elif berry == False and self.sufferedDamageLastTurn('physical', 'aero'):
useSkill(6, 'random') # Dimension (160020): [Death], Instant KO (100%) to one enemy
berry = True # reset next turn
elif berry == False and self.sufferedDamageLastTurn('magical', 'aero'):
useSkill(6, 'random') # Dimension (160020): [Death], Instant KO (100%) to one enemy
berry = True # reset next turn
elif unit('5:enemy:any').usedLastTurn('limitburst') and peach == False:
useSkill(6, 'random') # Dimension (160020): [Death], Instant KO (100%) to one enemy
peach = True # reset next turn
elif unit('5:enemy:any').usedLastTurn('limitburst') and gourd == False:
useSkill(6, 'random') # Dimension (160020): [Death], Instant KO (100%) to one enemy
gourd = True # reset next turn
elif unit('5:enemy:any').hasStatus('Poison') and olive == False:
useSkill(6, 'bad_status:1') # Dimension (160020): [Death], Instant KO (100%) to one enemy
green += 1
olive = True # reset next turn
elif unit('5:enemy:any').hasStatus('Poison') and guava == False:
useSkill(6, 'bad_status:1') # Dimension (160020): [Death], Instant KO (100%) to one enemy
green += 1
guava = True # reset next turn
elif self.HP < 0.8 and once():
useSkill(7, 'random') # Pressure (215429): Physical damage (3.5x, ATK) to one enemy, Inflict Paralyze (100%) on one enemy
green += 1
elif mango == False and self.HP < 0.8:
useSkill(7, 'random') # Pressure (215429): Physical damage (3.5x, ATK) to one enemy, Inflict Paralyze (100%) on one enemy
green += 1
mango = True # reset next turn
elif self.HP < 0.6 and once():
useSkill(7, 'random') # Pressure (215429): Physical damage (3.5x, ATK) to one enemy, Inflict Paralyze (100%) on one enemy
green += 1
elif self.HP < 0.4 and once():
useSkill(7, 'random') # Pressure (215429): Physical damage (3.5x, ATK) to one enemy, Inflict Paralyze (100%) on one enemy
green += 1
elif random() <= 0.30 and lemon == False and self.HP < 0.4:
useSkill(7, 'random') # Pressure (215429): Physical damage (3.5x, ATK) to one enemy, Inflict Paralyze (100%) on one enemy
green += 1
lemon = True # reset next turn
elif random() <= 0.35 and grape == False and self.HP < 0.2:
useSkill(7, 'random') # Pressure (215429): Physical damage (3.5x, ATK) to one enemy, Inflict Paralyze (100%) on one enemy
green += 1
grape = True # reset next turn
elif random() <= 0.40 and melon == False:
useSkill(3, 'random') # Waterga (215426): Magic water damage (2.8x, MAG) to all enemies
green += 1
melon = True # reset next turn
elif random() <= 0.50 and melon == False:
useSkill(4, 'random') # Aeroga (215427): Magic wind damage (2.8x, MAG) to all enemies
green += 1
melon = True # reset next turn
elif melon == False:
useSkill(5, 'random') # Stonga (215428): Magic earth damage (2.8x, MAG) to all enemies
green += 1
melon = True # reset next turn
elif random() <= 0.40:
useSkill(9, 'random') # Leech (215431): Magic damage (3x, MAG) as HP drain (100%) to one enemy
green += 1
elif random() <= 0.45:
useSkill(8, 'random') # Annul (215430): Magic damage (0.1x, MAG) as MP drain (1%) to one enemy
green += 1
else:
useSkill(1, 'random') # Rib (215424): Physical damage (2.5x, ATK) to one enemy
green += 1
##
# Mission 'Bonus Stage 2' (8610902)
#
# Battles
# * Queen Wasp, Leanan-Sidhe, Queen Wasp
##
##
# Monster Info
##
#
# Monster Queen Wasp (109006032, 5)
# Race Insect
# Level 100
# Actions 2-2
#
#
# Stats
# HP 18000000
# MP 80000
# ATK 400
# DEF 250
# MAG 550
# SPR 280
#
#
# 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 (+10% / application)
# Poison 100%
# Blind 50%
# Sleep 80%
# 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% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Poison Sting (215432) [Physical]
#
# Physical damage (1.9x, ATK) to one enemy
# Inflict Poison (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Thorny Tail (215433) [Physical]
#
# Physical damage (2.4x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.70:
useRandomSkill('random')
else:
attack('random')
##
# Monster Info
##
#
# Monster Leanan-Sidhe (208036003)
# Race Fairy
# Level 100
# Actions 20-20
#
#
# Stats
# HP 48000000
# MP 100000
# ATK 500
# DEF 320
# MAG 700
# SPR 440
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice -50%
# 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 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Life Drain (215434) [Magic]
#
# Magic damage (2.5x, MAG) as HP drain (100%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Soul Enhance (215435) [None]
#
# Increase ATK and MAG by 50% for 3 turns to the rest of the party
# Unused parameters: [1]
# Restore 2000000 (+2x, Heal) HP split over 3 turns to the rest of the party
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Mind Touch (215436) [None]
#
# Reduce DEF and SPR by 30% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Slave's Song (215437) [None]
#
# Inflict Charm (100%) on one enemy for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Fira (215438) [Magic]
#
# Magic fire damage (3.5x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Firaga (215439) [Magic]
#
# Magic fire damage (3.5x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Pulverizing Strike (215440) [Physical]
#
# Physical damage (2x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Destructing Blow (215441) [Physical]
#
# Physical damage (3x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 11:
endTurn()
green = 0
elif unit('3:ally:1:Queen Wasp').is('alive') and apple == False and green >= 3:
useSkill(3, 'random') # Mind Touch (215436): Reduce DEF and SPR by 30% for 3 turns to one enemy
green += 1
apple = True # reset next turn
elif unit('3:ally:3').is('alive') and berry == False and green >= 6:
useSkill(2, 'random') # Soul Enhance (215435): Increase ATK and MAG by 50% for 3 turns to the rest of the party, Restore 2000000 (+2x, Heal) HP split over 3 turns to the rest of the party
green += 1
berry = True # reset next turn
elif unit('3:ally:1:Queen Wasp').is('alive') and unit('3:ally:3').is('alive') and peach == False and green >= 8:
useSkill(1, 'random') # Life Drain (215434): Magic damage (2.5x, MAG) as HP drain (100%) to all enemies
green += 1
peach = True # reset next turn
elif self.HP < 0.8 and once():
useSkill(4, 'random') # Slave's Song (215437): Inflict Charm (100%) on one enemy for 2 turns
elif self.HP < 0.6 and once():
useSkill(4, 'random') # Slave's Song (215437): Inflict Charm (100%) on one enemy for 2 turns
elif self.HP < 0.4 and once():
useSkill(4, 'random') # Slave's Song (215437): Inflict Charm (100%) on one enemy for 2 turns
elif self.HP < 0.2 and once():
useSkill(4, 'random') # Slave's Song (215437): Inflict Charm (100%) on one enemy for 2 turns
elif olive == False:
useSkill(3, 'random') # Mind Touch (215436): Reduce DEF and SPR by 30% for 3 turns to one enemy
green += 1
olive = True # reset next turn
elif random() <= 0.50 and mango == False and self.HP < 0.5:
useSkill(5, 'random') # Fira (215438): Magic fire damage (3.5x, MAG) to all enemies
green += 1
mango = True # reset next turn
elif mango == False and self.HP < 0.5:
useSkill(6, 'random') # Firaga (215439): Magic fire damage (3.5x, MAG) to all enemies
green += 1
mango = True # reset next turn
elif random() <= 0.50 and lemon == False:
useSkill(5, 'random') # Fira (215438): Magic fire damage (3.5x, MAG) to all enemies
green += 1
lemon = True # reset next turn
elif lemon == False:
useSkill(6, 'random') # Firaga (215439): Magic fire damage (3.5x, MAG) to all enemies
green += 1
lemon = True # reset next turn
elif random() <= 0.40:
useSkill(7, 'random') # Pulverizing Strike (215440): Physical damage (2x, ATK) to one enemy
green += 1
elif random() <= 0.45:
useSkill(8, 'random') # Destructing Blow (215441): Physical damage (3x, ATK) to all enemies
green += 1
else:
attack('random')
green += 1
##
# Mission 'Bonus Stage 3' (8610903)
#
# Battles
# * Greater Demon Lv. 100
##
##
# Monster Info
##
#
# Monster Greater Demon Lv. 100 (404002003, 404002001)
# Race Demon
# Level 100
# Actions 20-20
#
#
# Stats
# HP 60000000
# MP 100000
# ATK 480
# DEF 260
# MAG 780
# SPR 260
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light -50%
# Dark 100%
# 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 100%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Tornado (181500) [Magic]
#
# Magic wind damage (3x, MAG) to all enemies
# Reduce resistance to Wind by 30% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flood (181510) [Magic]
#
# Magic water damage (3x, MAG) to all enemies
# Reduce resistance to Lightning by 30% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Quake (181520) [Magic]
#
# Magic earth damage (3x, MAG) to all enemies
# Reduce resistance to Earth by 30% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flare (181530) [Magic]
#
# Magic fire damage (3.5x, MAG) to one enemy
# Reduce resistance to Water by 30% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Aeroga Blade (181540) [Physical]
#
# Hybrid* wind damage (1.8x, ATK & MAG) to one enemy
# Unused parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Thundaga Blade (181550) [Physical]
#
# Hybrid* lightning damage (1.8x, ATK & MAG) to one enemy
# Unused parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Stonga Blade (181560) [Physical]
#
# Hybrid* earth damage (1.8x, ATK & MAG) to one enemy
# Unused parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Evil Sweep (181570) [Physical]
#
# Physical damage (1.6x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Evil Cutter (181580) [Physical]
#
# Physical damage (2x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Cursed Black Sphere (181590) [Magic]
#
# 90% HP damage to all enemies
# Unknown parameters: [90,100]
# Inflict Poison, Blind, Paralyze and Disease (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Demon's Cackle (181600) [None]
#
# Inflict berserk (+0% ATK) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing magic power! (181610) [None]
#
# Increase MAG by 100% for one turn to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# It's flinching from the light! (181620) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# It's trembling from the light! (181630) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dual Black Magic (181640) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# T Spellblade (181650) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Wave (181660) [None]
#
# Remove all buffs and debuffs from one ally
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if gourd == True:
endTurn()
pasta = True # persistent
elif guava == True:
endTurn()
elif mauve >= 3:
useSkill(14, 'random') # It's trembling from the light! (181630): No effect
mauve = 0
gourd = True # reset next turn
elif self.sufferedDamageLastTurn('magical', 'light') and grape == False and pasta == False:
useSkill(13, 'random') # It's flinching from the light! (181620): No effect
mauve += 1
grape = True # reset next turn
elif self.hasDebuff('any') and isTurnMod(2):
useSkill(17, 'random') # Dark Wave (181660): Remove all buffs and debuffs from one ally
elif self.HP < 0.2 and once():
useSkill(10, 'random') # Cursed Black Sphere (181590): 90% HP damage to all enemies, Inflict Poison, Blind, Paralyze and Disease (100%) on all enemies
elif self.HP < 0.2 and once():
useSkill(12, 'random') # Focusing magic power! (181610): Increase MAG by 100% for one turn to caster
elif self.HP < 0.2 and once():
useSkill(15, 'random') # Dual Black Magic (181640): No effect
elif self.HP < 0.2 and once():
useSkill(4, 'random') # Flare (181530): Magic fire damage (3.5x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
elif self.HP < 0.2 and once():
useSkill(4, 'random') # Flare (181530): Magic fire damage (3.5x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
guava = True # reset next turn
bacon = True # persistent
sushi = True # persistent
elif self.HP < 0.5 and once() and sushi == False:
useSkill(10, 'random') # Cursed Black Sphere (181590): 90% HP damage to all enemies, Inflict Poison, Blind, Paralyze and Disease (100%) on all enemies
elif self.HP < 0.5 and once() and sushi == False:
useSkill(12, 'random') # Focusing magic power! (181610): Increase MAG by 100% for one turn to caster
elif self.HP < 0.5 and once() and sushi == False:
useSkill(4, 'random') # Flare (181530): Magic fire damage (3.5x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
guava = True # reset next turn
bacon = True # persistent
elif self.HP < 0.7 and once() and bacon == False:
useSkill(10, 'random') # Cursed Black Sphere (181590): 90% HP damage to all enemies, Inflict Poison, Blind, Paralyze and Disease (100%) on all enemies
elif self.HP < 0.7 and once() and bacon == False:
useSkill(12, 'random') # Focusing magic power! (181610): Increase MAG by 100% for one turn to caster
guava = True # reset next turn
elif black >= 8 and self.HP < 0.5 and isTurnMod(2) and grape == False:
useSkill(11, 'highest ATK') # Demon's Cackle (181600): Inflict berserk (+0% ATK) on one enemy
grape = True # reset next turn
elif white >= 8 and self.HP < 0.5 and isTurnMod(2) and grape == False:
useSkill(11, 'highest ATK') # Demon's Cackle (181600): Inflict berserk (+0% ATK) on one enemy
grape = True # reset next turn
elif green >= 8 and self.HP < 0.5 and isTurnMod(2) and grape == False:
useSkill(11, 'highest ATK') # Demon's Cackle (181600): Inflict berserk (+0% ATK) on one enemy
grape = True # reset next turn
elif black == 9 and self.HP < 0.3:
endTurn()
black = 0
ramen = False # persistent
elif white == 9 and self.HP < 0.3:
endTurn()
white = 0
ramen = True # persistent
honey = False # persistent
elif green == 9 and self.HP < 0.3:
endTurn()
green = 0
honey = True # persistent
elif black >= 8 and self.HP > 0.3 and self.HP < 0.6:
endTurn()
black = 0
ramen = False # persistent
elif white >= 8 and self.HP > 0.3 and self.HP < 0.6:
endTurn()
white = 0
ramen = True # persistent
honey = False # persistent
elif green >= 8 and self.HP > 0.3 and self.HP < 0.6:
endTurn()
green = 0
honey = True # persistent
elif black >= 7 and self.HP > 0.6:
endTurn()
black = 0
ramen = False # persistent
elif white >= 7 and self.HP > 0.6:
endTurn()
white = 0
ramen = True # persistent
honey = False # persistent
elif green >= 7 and self.HP > 0.6:
endTurn()
green = 0
honey = True # persistent
elif apple == False and ramen == True:
useSkill(15, 'random') # Dual Black Magic (181640): No effect
apple = True # reset next turn
elif black < 2 and ramen == True:
useSkill(2, 'random') # Flood (181510): Magic water damage (3x, MAG) to all enemies, Reduce resistance to Lightning by 30% for 3 turns to all enemies
black += 1
elif berry == False and ramen == True:
useSkill(16, 'random') # T Spellblade (181650): No effect
berry = True # reset next turn
elif black < 5 and ramen == True:
useSkill(6, 'random') # Thundaga Blade (181550): Hybrid* lightning damage (1.8x, ATK & MAG) to one enemy
black += 1
elif peach == False and ramen == True:
useSkill(8, 'random') # Evil Sweep (181570): Physical damage (1.6x, ATK) to all enemies
black += 1
peach = True # reset next turn
elif olive == False and ramen == True and self.HP < 0.6:
useSkill(8, 'random') # Evil Sweep (181570): Physical damage (1.6x, ATK) to all enemies
black += 1
olive = True # reset next turn
elif mango == False and ramen == True:
useSkill(9, 'random') # Evil Cutter (181580): Physical damage (2x, ATK) to one enemy
black += 1
mango = True # reset next turn
elif lemon == False and ramen == True:
useSkill(4, 'random') # Flare (181530): Magic fire damage (3.5x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
black += 1
lemon = True # reset next turn
elif apple == False and honey == True:
useSkill(15, 'random') # Dual Black Magic (181640): No effect
apple = True # reset next turn
elif white < 2 and honey == True:
useSkill(3, 'random') # Quake (181520): Magic earth damage (3x, MAG) to all enemies, Reduce resistance to Earth by 30% for 3 turns to all enemies
white += 1
elif berry == False and honey == True:
useSkill(16, 'random') # T Spellblade (181650): No effect
berry = True # reset next turn
elif white < 5 and honey == True:
useSkill(7, 'random') # Stonga Blade (181560): Hybrid* earth damage (1.8x, ATK & MAG) to one enemy
white += 1
elif peach == False and honey == True:
useSkill(8, 'random') # Evil Sweep (181570): Physical damage (1.6x, ATK) to all enemies
white += 1
peach = True # reset next turn
elif olive == False and honey == True and self.HP < 0.6:
useSkill(8, 'random') # Evil Sweep (181570): Physical damage (1.6x, ATK) to all enemies
white += 1
olive = True # reset next turn
elif mango == False and honey == True:
useSkill(9, 'random') # Evil Cutter (181580): Physical damage (2x, ATK) to one enemy
white += 1
mango = True # reset next turn
elif lemon == False and honey == True:
useSkill(4, 'random') # Flare (181530): Magic fire damage (3.5x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
white += 1
lemon = True # reset next turn
elif apple == False:
useSkill(15, 'random') # Dual Black Magic (181640): No effect
apple = True # reset next turn
elif green < 2:
useSkill(1, 'random') # Tornado (181500): Magic wind damage (3x, MAG) to all enemies, Reduce resistance to Wind by 30% for 3 turns to all enemies
green += 1
elif berry == False:
useSkill(16, 'random') # T Spellblade (181650): No effect
berry = True # reset next turn
elif green < 5:
useSkill(5, 'random') # Aeroga Blade (181540): Hybrid* wind damage (1.8x, ATK & MAG) to one enemy
green += 1
elif peach == False:
useSkill(8, 'random') # Evil Sweep (181570): Physical damage (1.6x, ATK) to all enemies
green += 1
peach = True # reset next turn
elif olive == False and self.HP < 0.6:
useSkill(8, 'random') # Evil Sweep (181570): Physical damage (1.6x, ATK) to all enemies
green += 1
olive = True # reset next turn
elif mango == False:
useSkill(9, 'random') # Evil Cutter (181580): Physical damage (2x, ATK) to one enemy
green += 1
mango = True # reset next turn
elif lemon == False:
useSkill(4, 'random') # Flare (181530): Magic fire damage (3.5x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
green += 1
lemon = True # reset next turn
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment