Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic aEnigmatic/8993202.gl.py

Last active Sep 11, 2018
Embed
What would you like to do?
Scorn of the Antenolla
##
# Mission 'Scorn of the Antenolla' (8993202)
# Enemy has first strike!
##
##
# Monster Info
##
#
# Monster Antenolla A (411001004)
# Race Plant
# Level 99
# Actions 12-12
#
#
# Stats
# HP 50000000
# MP 100000
# ATK 550
# DEF 80
# MAG 680
# SPR 50
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice -50%
# Lightning 100%
# Water 0%
# Wind 100%
# Earth 0%
# Light 100%
# 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 100%
# DEF 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk? 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 水属性吸収 (100006) [Passive]
#
# Absorb Water elemental attacks
#
##
#
# 土属性吸収 (100007) [Passive]
#
# Absorb Earth elemental attacks
#
##
###
# Skills
###
#
# Mysterious light has seeped through! (187250) [None]
#
# Increase ATK and MAG by 30% for 4 turns to all allies
# Reduce magic damage taken by 100% to all allies for 4 turns (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Mysterious light has seeped through! (187260) [None]
#
# Increase ATK and MAG by 30% for 3 turns to all allies
# Reduce magic damage taken by 100% to all allies for 3 turns (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Mysterious dark clouds overhead! (187270) [None]
#
# Increase DEF and SPR by 30% for 4 turns to all allies
# Reduce physical damage taken by 100% to all allies for 4 turns (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Mysterious dark clouds overhead! (187280) [None]
#
# Increase DEF and SPR by 30% for 3 turns to all allies
# Reduce physical damage taken by 100% to all allies for 3 turns (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# A mysterious downpour has begun! (187290) [None]
#
# Increase ATK, DEF, MAG and SPR by 40% for 3 turns to all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Prismatic Powder (187300) [None]
#
# Inflict Poison, Sleep, Silence, Paralyze, Confusion and Disease (100%) on all enemies
# Inflict Charm (30%) on all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Pollen (187310) [None]
#
# Inflict Poison, Sleep, Paralyze and Confusion (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Bewitching Bloom (187320) [Physical]
#
# Physical wind and earth damage (5.6x, ATK) to all enemies
# Reduce resistance to Wind and Earth by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Petal Dance (187330) [Physical]
#
# Physical damage (4.3x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Evergreen (187340) [Magic]
#
# Magic damage (4x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Antenolla Extract (187350) [Magic]
#
# Magic water damage (5.5x, MAG) to all enemies
# Reduce resistance to Water by 100% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(3, 'random') # Mysterious dark clouds overhead! (187270): Increase DEF and SPR by 30% for 4 turns to all allies, Reduce physical damage taken by 100% to all allies for 4 turns (can not be removed)
apple = True # reset next turn
honey = True # persistent
elif self.HP < 0.2 and once():
useSkill(5, 'random') # A mysterious downpour has begun! (187290): Increase ATK, DEF, MAG and SPR by 40% for 3 turns to all allies
black = 0
white = 0
green = 0
bacon = True # persistent
sushi = True # persistent
honey = False # persistent
elif self.HP < 0.4 and once() and bacon == False:
useSkill(5, 'random') # A mysterious downpour has begun! (187290): Increase ATK, DEF, MAG and SPR by 40% for 3 turns to all allies
black = 0
white = 0
green = 0
sushi = True # persistent
honey = False # persistent
elif green >= 6 and sushi == True:
endTurn()
green = 0
elif sushi == True and berry == False:
useSkill(8, 'random') # Bewitching Bloom (187320): Physical wind and earth damage (5.6x, ATK) to all enemies, Reduce resistance to Wind and Earth by 50% for 3 turns to all enemies
green += 1
berry = True # reset next turn
elif sushi == True and peach == False:
useSkill(10, 'random') # Evergreen (187340): Magic damage (4x, MAG) to all enemies
green += 1
peach = True # reset next turn
elif sushi == True and olive == False and isTurnMod(2):
useSkill(6, 'random') # Prismatic Powder (187300): Inflict Poison, Sleep, Silence, Paralyze, Confusion and Disease (100%) on all enemies, Inflict Charm (30%) on all enemies for 3 turns
green += 1
olive = True # reset next turn
elif random() <= 0.50 and sushi == True and mango == False:
attack('mind_max')
green += 1
mango = True # reset next turn
elif sushi == True and mango == False:
attack('atk_max')
green += 1
mango = True # reset next turn
elif random() <= 0.50 and sushi == True and lemon == False:
attack('mind_max')
green += 1
lemon = True # reset next turn
elif sushi == True and lemon == False:
attack('atk_max')
green += 1
lemon = True # reset next turn
elif sushi == True and grape == False:
useSkill(11, 'random') # Antenolla Extract (187350): Magic water damage (5.5x, MAG) to all enemies, Reduce resistance to Water by 100% for 3 turns to all enemies
green += 1
grape = True # reset next turn
elif sushi == True:
useSkill(8, 'random') # Bewitching Bloom (187320): Physical wind and earth damage (5.6x, ATK) to all enemies, Reduce resistance to Wind and Earth by 50% for 3 turns to all enemies
green += 1
elif black >= 2 and self.HP > 0.4 and self.HP < 0.7 and green >= 5:
useSkill(2, 'random') # Mysterious light has seeped through! (187260): Increase ATK and MAG by 30% for 3 turns to all allies, Reduce magic damage taken by 100% to all allies for 3 turns (can not be removed)
black = 0
green = 0
apple = True # reset next turn
honey = False # persistent
elif black >= 3 and self.HP > 0.7 and green >= 5:
useSkill(1, 'random') # Mysterious light has seeped through! (187250): Increase ATK and MAG by 30% for 4 turns to all allies, Reduce magic damage taken by 100% to all allies for 4 turns (can not be removed)
black = 0
green = 0
apple = True # reset next turn
honey = False # persistent
elif green >= 5 and honey == True:
endTurn()
black += 1
green = 0
elif honey == True and berry == False:
useSkill(9, 'random') # Petal Dance (187330): Physical damage (4.3x, ATK) to all enemies
green += 1
berry = True # reset next turn
elif honey == True and isTurnMod(2) and peach == False:
useSkill(7, 'random') # Pollen (187310): Inflict Poison, Sleep, Paralyze and Confusion (100%) on all enemies
green += 1
peach = True # reset next turn
elif random() <= 0.50 and honey == True:
attack('mind_max')
green += 1
elif honey == True:
attack('atk_max')
green += 1
elif black >= 2 and self.HP > 0.4 and self.HP < 0.7 and white >= 5:
useSkill(4, 'random') # Mysterious dark clouds overhead! (187280): Increase DEF and SPR by 30% for 3 turns to all allies, Reduce physical damage taken by 100% to all allies for 3 turns (can not be removed)
black = 0
white = 0
apple = True # reset next turn
honey = True # persistent
elif black >= 3 and self.HP > 0.7 and white >= 5:
useSkill(3, 'random') # Mysterious dark clouds overhead! (187270): Increase DEF and SPR by 30% for 4 turns to all allies, Reduce physical damage taken by 100% to all allies for 4 turns (can not be removed)
black = 0
white = 0
apple = True # reset next turn
honey = True # persistent
elif white >= 5 and honey == False:
endTurn()
black += 1
white = 0
elif berry == False and honey == False:
useSkill(8, 'random') # Bewitching Bloom (187320): Physical wind and earth damage (5.6x, ATK) to all enemies, Reduce resistance to Wind and Earth by 50% for 3 turns to all enemies
white += 1
berry = True # reset next turn
elif peach == False and honey == False:
useSkill(10, 'random') # Evergreen (187340): Magic damage (4x, MAG) to all enemies
white += 1
peach = True # reset next turn
elif olive == False and honey == False and isTurnMod(2):
useSkill(6, 'random') # Prismatic Powder (187300): Inflict Poison, Sleep, Silence, Paralyze, Confusion and Disease (100%) on all enemies, Inflict Charm (30%) on all enemies for 3 turns
white += 1
olive = True # reset next turn
elif random() <= 0.50 and honey == False:
attack('mind_max')
white += 1
elif honey == False:
attack('atk_max')
white += 1
else:
attack('random')
##
# Monster Info
##
#
# Monster Antenolla B (411001004)
# Race Plant
# Level 99
# Actions 12-12
#
#
# Stats
# HP 40000000
# MP 50000
# ATK 450
# DEF 110
# MAG 650
# SPR 40
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -50%
# Ice 100%
# Lightning 300%
# Water 0%
# Wind 100%
# Earth 0%
# Light 0%
# Dark 0%
# Non-Elemental 100%
#
#
# Status resist (+80% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 0%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk? 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 水属性吸収 (100006) [Passive]
#
# Absorb Water elemental attacks
#
##
#
# 土属性吸収 (100007) [Passive]
#
# Absorb Earth elemental attacks
#
##
###
# Skills
###
#
# Vines have grown! (187360) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Vines have stopped growing... (187370) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blown back by the vines! (187380) [None]
#
# Remove one enemy from the fight
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Thorn of Pain (187390) [Physical]
#
# Physical damage (3.5x, ATK) to one enemy
# Inflict Disease (100%) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Coil (187400) [None]
#
# Inflict Stop (100%) for 3 turns on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blood Suck (187410) [Magic]
#
# Magic damage (0.8x) as MP drain (50%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Running Rampant (187540) [None]
#
# Physical* damage (50x, ATK) to all enemies
# Reduce magic damage taken by 100% to caster for 999 turns (can not be removed)
# Reduce physical damage taken by 100% to caster for 999 turns (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if unit('2:party?_411001004').isDead():
useSkill(7, 'random') # Running Rampant (187540): Physical* damage (50x, ATK) to all enemies, Reduce magic damage taken by 100% to caster for 999 turns (can not be removed), Reduce physical damage taken by 100% to caster for 999 turns (can not be removed)
elif apple == True:
endTurn()
elif once():
wait('random') # Unknown action
apple = True # reset next turn
honey = True # persistent
elif unit('2:party?_411001004').HP < 0.4 and once():
wait('random') # Unknown action
black = 0
white = 0
green = 0
sushi = True # persistent
honey = False # persistent
elif green >= 3 and sushi == True:
endTurn()
green = 0
elif sushi == True and berry == False:
useSkill(5, 'random') # Coil (187400): Inflict Stop (100%) for 3 turns on one enemy
green += 1
berry = True # reset next turn
elif sushi == True and peach == False:
useSkill(5, 'random') # Coil (187400): Inflict Stop (100%) for 3 turns on one enemy
green += 1
peach = True # reset next turn
elif sushi == True:
useSkill(4, 'random') # Thorn of Pain (187390): Physical damage (3.5x, ATK) to one enemy, Inflict Disease (100%) on one enemy
green += 1
elif unit('2:party?_411001004').HP > 0.4 and unit('2:party?_411001004').HP < 0.7 and black >= 3 and honey == True:
wait('random') # Unknown action
black = 0
green = 0
honey = False # persistent
elif unit('2:party?_411001004').HP > 0.7 and black >= 4 and honey == True:
wait('random') # Unknown action
black = 0
green = 0
honey = False # persistent
elif green >= 2 and honey == True:
endTurn()
black += 1
green = 0
elif honey == True and berry == False:
useSkill(5, 'random') # Coil (187400): Inflict Stop (100%) for 3 turns on one enemy
green += 1
berry = True # reset next turn
elif honey == True:
useSkill(6, 'random') # Blood Suck (187410): Magic damage (0.8x) as MP drain (50%) to one enemy
green += 1
elif unit('2:party?_411001004').HP > 0.4 and unit('2:party?_411001004').HP < 0.7 and black >= 3 and honey == False:
wait('random') # Unknown action
black = 0
white = 0
honey = True # persistent
elif unit('2:party?_411001004').HP > 0.7 and black >= 4 and honey == False:
wait('random') # Unknown action
black = 0
white = 0
honey = True # persistent
elif white >= 5 and honey == False:
endTurn()
black += 1
white = 0
elif unit('1:player?_any').sufferedDamageLastTurn('fire', 'phys') and melon == False and honey == False:
useSkill(2, 'random') # Vines have stopped growing... (187370): No effect
white += 1
melon = True # reset next turn
elif unit('1:player?_any').sufferedDamageLastTurn('fire', 'mag') and melon == False and honey == False:
useSkill(2, 'random') # Vines have stopped growing... (187370): No effect
white += 1
melon = True # reset next turn
elif berry == False and melon == False and honey == False:
useSkill(1, 'random') # Vines have grown! (187360): No effect
mauve += 1
berry = True # reset next turn
elif peach == False and honey == False:
useSkill(4, 'random') # Thorn of Pain (187390): Physical damage (3.5x, ATK) to one enemy, Inflict Disease (100%) on one enemy
white += 1
peach = True # reset next turn
elif unit('2:party?_411001004').HP > 0.4 and unit('2:party?_411001004').HP < 0.7 and mauve >= 2 and melon == False and honey == False:
useSkill(3, 'random') # Blown back by the vines! (187380): Remove one enemy from the fight
mauve = 0
elif unit('2:party?_411001004').HP > 0.7 and mauve >= 2 and melon == False and isTurnMod(2) and honey == False:
useSkill(3, 'random') # Blown back by the vines! (187380): Remove one enemy from the fight
mauve = 0
elif honey == False:
attack('random')
white += 1
else:
attack('random')
##
# Monster Info
##
#
# Monster Antenolla C (411001004)
# Race Plant
# Level 99
# Actions 12-12
#
#
# Stats
# HP 40000000
# MP 50000
# ATK 400
# DEF 65
# MAG 600
# SPR 60
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice 100%
# Lightning 0%
# Water 0%
# Wind -50%
# Earth 0%
# Light 0%
# Dark 300%
# Non-Elemental 100%
#
#
# 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
###
#
# 水属性吸収 (100006) [Passive]
#
# Absorb Water elemental attacks
#
##
#
# 土属性吸収 (100007) [Passive]
#
# Absorb Earth elemental attacks
#
##
###
# Skills
###
#
# Roots have grown deep! (187430) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Roots are weakened... (187440) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Roots are absorbing everything! (187450) [Magic]
#
# Magic damage (2x) as MP drain (70%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Cannibalize (187460) [Magic]
#
# Magic damage (5.3x) as HP drain (80%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Earthly Healing (187470) [None]
#
# Restore 2000000 HP to all allies
# Unused parameters: [0,0,0,0,0,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Petal Quake (187420) [Magic]
#
# Magic earth damage (4.5x, MAG) to all enemies
# Reduce resistance to Earth by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Running Rampant (187540) [None]
#
# Physical* damage (50x, ATK) to all enemies
# Reduce magic damage taken by 100% to caster for 999 turns (can not be removed)
# Reduce physical damage taken by 100% to caster for 999 turns (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if unit('2:party?_411001004').isDead():
useSkill(7, 'random') # Running Rampant (187540): Physical* damage (50x, ATK) to all enemies, Reduce magic damage taken by 100% to caster for 999 turns (can not be removed), Reduce physical damage taken by 100% to caster for 999 turns (can not be removed)
elif apple == True:
endTurn()
elif once():
wait('random') # Unknown action
apple = True # reset next turn
honey = True # persistent
elif unit('2:party?_411001004').HP < 0.4 and once():
wait('random') # Unknown action
black = 0
white = 0
green = 0
sushi = True # persistent
honey = False # persistent
elif green >= 2 and sushi == True:
endTurn()
green = 0
elif sushi == True and berry == False:
useSkill(4, 'random') # Cannibalize (187460): Magic damage (5.3x) as HP drain (80%) to one enemy
green += 1
berry = True # reset next turn
elif sushi == True and isTurnMod(3):
useSkill(5, 'random') # Earthly Healing (187470): Restore 2000000 HP to all allies
green += 1
elif sushi == True:
useSkill(4, 'random') # Cannibalize (187460): Magic damage (5.3x) as HP drain (80%) to one enemy
green += 1
elif unit('2:party?_411001004').HP > 0.4 and unit('2:party?_411001004').HP < 0.7 and black >= 3 and honey == True:
wait('random') # Unknown action
black = 0
green = 0
honey = False # persistent
elif unit('2:party?_411001004').HP > 0.7 and black >= 4 and honey == True:
wait('random') # Unknown action
black = 0
green = 0
honey = False # persistent
elif green >= 5 and honey == True:
endTurn()
black += 1
green = 0
elif unit('1:player?_any').sufferedDamageLastTurn('aero', 'phys') and melon == False and honey == True:
useSkill(2, 'random') # Roots are weakened... (187440): No effect
green += 1
melon = True # reset next turn
elif unit('1:player?_any').sufferedDamageLastTurn('aero', 'mag') and melon == False and honey == True:
useSkill(2, 'random') # Roots are weakened... (187440): No effect
green += 1
melon = True # reset next turn
elif berry == False and melon == False and honey == True:
useSkill(1, 'random') # Roots have grown deep! (187430): No effect
mauve += 1
berry = True # reset next turn
elif peach == False and honey == True:
useSkill(4, 'random') # Cannibalize (187460): Magic damage (5.3x) as HP drain (80%) to one enemy
green += 1
peach = True # reset next turn
elif olive == False and honey == True:
useSkill(4, 'random') # Cannibalize (187460): Magic damage (5.3x) as HP drain (80%) to one enemy
green += 1
olive = True # reset next turn
elif mango == False and honey == True:
useSkill(4, 'random') # Cannibalize (187460): Magic damage (5.3x) as HP drain (80%) to one enemy
green += 1
mango = True # reset next turn
elif unit('2:party?_411001004').HP > 0.4 and unit('2:party?_411001004').HP < 0.7 and mauve >= 2 and melon == False and honey == True:
useSkill(3, 'random') # Roots are absorbing everything! (187450): Magic damage (2x) as MP drain (70%) to all enemies
mauve = 0
elif unit('2:party?_411001004').HP > 0.7 and mauve >= 2 and melon == False and isTurnMod(2) and honey == True:
useSkill(3, 'random') # Roots are absorbing everything! (187450): Magic damage (2x) as MP drain (70%) to all enemies
mauve = 0
elif honey == True and isTurnMod(2):
useSkill(6, 'random') # Petal Quake (187420): Magic earth damage (4.5x, MAG) to all enemies, Reduce resistance to Earth by 50% for 3 turns to all enemies
green += 1
elif honey == True:
attack('random')
green += 1
elif unit('2:party?_411001004').HP > 0.4 and unit('2:party?_411001004').HP < 0.7 and black >= 3 and honey == False:
wait('random') # Unknown action
black = 0
white = 0
honey = True # persistent
elif unit('2:party?_411001004').HP > 0.7 and black >= 4 and honey == False:
wait('random') # Unknown action
black = 0
white = 0
honey = True # persistent
elif white >= 1 and honey == False:
endTurn()
black += 1
white = 0
elif honey == False:
useSkill(5, 'random') # Earthly Healing (187470): Restore 2000000 HP to all allies
white += 1
berry = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster Antenolla D (411001004)
# Race Plant
# Level 99
# Actions 12-12
#
#
# Stats
# HP 40000000
# MP 50000
# ATK 290
# DEF 60
# MAG 400
# SPR 30
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 100%
# Lightning 100%
# Water 0%
# Wind 300%
# Earth 0%
# Light 100%
# 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 100%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk? 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 水属性吸収 (100006) [Passive]
#
# Absorb Water elemental attacks
#
##
#
# 土属性吸収 (100007) [Passive]
#
# Absorb Earth elemental attacks
#
##
###
# Skills
###
#
# The leaves are vibrant! (187480) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The leaves' vibrance has faded... (187490) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The leaves created a sandstorm! (187500) [Magic]
#
# Magic wind and earth damage (9x, MAG) to all enemies
# Reduce resistance to Wind and Earth by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Stone Blow (187510) [Magic]
#
# Magic earth damage (4x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Leaf Cutter (187520) [Magic]
#
# Magic wind damage (4x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hayfever (187530) [None]
#
# Reduce ATK, DEF, MAG and SPR by 60% for 4 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Running Rampant (187540) [None]
#
# Physical* damage (50x, ATK) to all enemies
# Reduce magic damage taken by 100% to caster for 999 turns (can not be removed)
# Reduce physical damage taken by 100% to caster for 999 turns (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if unit('2:party?_411001004').isDead():
useSkill(7, 'random') # Running Rampant (187540): Physical* damage (50x, ATK) to all enemies, Reduce magic damage taken by 100% to caster for 999 turns (can not be removed), Reduce physical damage taken by 100% to caster for 999 turns (can not be removed)
elif apple == True:
endTurn()
elif once():
wait('random') # Unknown action
apple = True # reset next turn
honey = True # persistent
elif unit('2:party?_411001004').HP < 0.4 and once():
wait('random') # Unknown action
black = 0
white = 0
green = 0
sushi = True # persistent
honey = False # persistent
elif green >= 3 and sushi == True:
endTurn()
green = 0
elif sushi == True and berry == False and isTurnMod(2):
useSkill(6, 'random') # Hayfever (187530): Reduce ATK, DEF, MAG and SPR by 60% for 4 turns to all enemies
green += 1
berry = True # reset next turn
elif sushi == True and peach == False:
useSkill(3, 'random') # The leaves created a sandstorm! (187500): Magic wind and earth damage (9x, MAG) to all enemies, Reduce resistance to Wind and Earth by 50% for 3 turns to all enemies
green += 1
peach = True # reset next turn
elif random() <= 0.50 and sushi == True:
useSkill(4, 'random') # Stone Blow (187510): Magic earth damage (4x, MAG) to one enemy
green += 1
elif sushi == True:
useSkill(5, 'random') # Leaf Cutter (187520): Magic wind damage (4x, MAG) to one enemy
green += 1
elif unit('2:party?_411001004').HP > 0.4 and unit('2:party?_411001004').HP < 0.7 and black >= 3 and honey == True:
wait('random') # Unknown action
black = 0
green = 0
honey = False # persistent
elif unit('2:party?_411001004').HP > 0.7 and black >= 4 and honey == True:
wait('random') # Unknown action
black = 0
green = 0
honey = False # persistent
elif green >= 2 and honey == True:
endTurn()
black += 1
green = 0
elif honey == True and berry == False:
useSkill(4, 'random') # Stone Blow (187510): Magic earth damage (4x, MAG) to one enemy
green += 1
berry = True # reset next turn
elif honey == True:
useSkill(5, 'random') # Leaf Cutter (187520): Magic wind damage (4x, MAG) to one enemy
green += 1
elif unit('2:party?_411001004').HP > 0.4 and unit('2:party?_411001004').HP < 0.7 and black >= 3 and honey == False:
wait('random') # Unknown action
black = 0
white = 0
honey = True # persistent
elif unit('2:party?_411001004').HP > 0.7 and black >= 4 and honey == False:
wait('random') # Unknown action
black = 0
white = 0
honey = True # persistent
elif white >= 5 and honey == False:
endTurn()
black += 1
white = 0
elif unit('1:player?_any').sufferedDamageLastTurn('dark', 'phys') and melon == False and honey == False:
useSkill(2, 'random') # The leaves' vibrance has faded... (187490): No effect
white += 1
melon = True # reset next turn
elif unit('1:player?_any').sufferedDamageLastTurn('dark', 'mag') and melon == False and honey == False:
useSkill(2, 'random') # The leaves' vibrance has faded... (187490): No effect
white += 1
melon = True # reset next turn
elif berry == False and melon == False and honey == False:
useSkill(1, 'random') # The leaves are vibrant! (187480): No effect
mauve += 1
berry = True # reset next turn
elif peach == False and honey == False and isTurnMod(2):
useSkill(6, 'random') # Hayfever (187530): Reduce ATK, DEF, MAG and SPR by 60% for 4 turns to all enemies
white += 1
peach = True # reset next turn
elif olive == False and honey == False:
useSkill(4, 'random') # Stone Blow (187510): Magic earth damage (4x, MAG) to one enemy
white += 1
olive = True # reset next turn
elif mango == False and honey == False:
useSkill(5, 'random') # Leaf Cutter (187520): Magic wind damage (4x, MAG) to one enemy
white += 1
mango = True # reset next turn
elif unit('2:party?_411001004').HP > 0.4 and unit('2:party?_411001004').HP < 0.7 and mauve >= 2 and melon == False and honey == False:
useSkill(3, 'random') # The leaves created a sandstorm! (187500): Magic wind and earth damage (9x, MAG) to all enemies, Reduce resistance to Wind and Earth by 50% for 3 turns to all enemies
mauve = 0
elif unit('2:party?_411001004').HP > 0.7 and mauve >= 2 and melon == False and isTurnMod(2) and honey == False:
useSkill(3, 'random') # The leaves created a sandstorm! (187500): Magic wind and earth damage (9x, MAG) to all enemies, Reduce resistance to Wind and Earth by 50% for 3 turns to all enemies
mauve = 0
elif honey == False:
attack('random')
white += 1
else:
attack('random')
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.