Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic aEnigmatic/8993701.gl.py

Last active May 30, 2019
Embed
What would you like to do?
Scorn of the Octopus Teacher
##
# Mission 'Scorn of the Octopus and the Teacher' (8993701)
# Enemy has first strike!
#
# Battles
# * Orthros
# * Orthros, Typhon
##
##
# Monster Info
##
#
# Monster Orthros (303021004)
# Race Aquatic
# Level 99
# Actions 35-35
#
#
# Stats
# HP 60000000
# MP 100000
# ATK 950
# DEF 300
# MAG 930
# SPR 250
#
#
# 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 100%
# DEF 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 物理カウンター(オルトロス真降臨) (100053) [Passive]
#
# 100% chance to counter physical attacks with Octo Tentacle (202310) to the attacker
#
##
#
# 魔法カウンター(オルトロス真降臨) (100054) [Passive]
#
# 100% chance to counter magic attacks with Octo Tentacle (202310) to the attacker
#
##
#
# 水属性吸収 (100006) [Passive]
#
# Absorb Water elemental attacks
#
##
###
# Skills
###
#
# Octo Tentacle (202310) [Physical]
#
# Physical damage (2.5x, ATK) to one enemy (+100% accuracy)
# Physical damage (0.02x, ATK) as MP drain (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Octuple Attack (202320) [Physical]
#
# Fixed* damage (8888) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Magnitude 8 (202330) [Physical]
#
# Physical earth damage (2.5x, ATK) to all enemies (+100% accuracy)
# Reduce DEF and SPR by 20% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Acid Rain (202340) [None]
#
# Magic* water and wind damage (2x, MAG) to all enemies
# Reduce resistance to Water and Wind by 30% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tempest (202350) [Physical]
#
# 60% HP damage to all enemies
# Unknown parameters: [60,100,1]
# Reduce resistance to Wind by 20% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hailstone (202360) [Physical]
#
# 60% HP damage to all enemies
# Unknown parameters: [60,100,1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Aqua Breath (202370) [Magic]
#
# Magic water damage (2.5x, MAG) to all enemies
# Reduce resistance to Water by 40% for 2 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hailstorm (202380) [Magic]
#
# Magic water damage (2.5x, MAG) to all enemies
# Reduce resistance to Lightning by 40% for 2 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 1 Million Volts (202390) [None]
#
# Magic* lightning damage (5.3x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Octo Ink (202400) [None]
#
# Inflict Poison and Blind (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chokehold (202410) [None]
#
# Inflict Sleep and Paralyze (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Octo Virus (202420) [None]
#
# Inflict Confusion and Disease (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Octo Glare (202430) [None]
#
# Inflict Silence and Petrify (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Berserk (202440) [None]
#
# Inflict berserk (+100% ATK) on one enemy for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heal (202450) [None]
#
# Restore 3000000 HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heal (202460) [None]
#
# Restore 6000000 HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Haste (202470) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Octo Trap - Physical (202480) [None]
#
# Reduce resistance to Fire and Lightning by 50% for 2 turns to caster
# Unused parameters: [1]
# Reduce physical damage taken by 100% to caster for 2 turns (can not be removed)
# Unused parameters: [1]
# Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Octo Trap - Magic (202490) [None]
#
# Reduce resistance to Fire and Lightning by 50% for 2 turns to caster
# Unused parameters: [1]
# Reduce magic damage taken by 100% to caster for 2 turns (can not be removed)
# Unused parameters: [1]
# Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Octo Trap - Physical (202500) [None]
#
# Reduce resistance to Wind and Light by 50% for 2 turns to caster
# Unused parameters: [1]
# Reduce physical damage taken by 100% to caster for 2 turns (can not be removed)
# Unused parameters: [1]
# Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Octo Trap - Magic (202510) [None]
#
# Reduce resistance to Wind and Light by 50% for 2 turns to caster
# Unused parameters: [1]
# Reduce magic damage taken by 100% to caster for 2 turns (can not be removed)
# Unused parameters: [1]
# Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Orthros has transformed! (202520) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Toxic Storm (202530) [None]
#
# Magic* water and wind damage (5x, MAG) to all enemies
# Inflict 3 random status effects (100%) to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif random() <= 0.35 and once() and pasta == False:
useSkill(18, 'random') # Octo Trap - Physical (202480): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
pasta = True # persistent
honey = True # persistent
elif random() <= 0.45 and once() and pasta == False:
useSkill(19, 'random') # Octo Trap - Magic (202490): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
pasta = True # persistent
ramen = True # persistent
elif random() <= 0.55 and once() and pasta == False:
useSkill(20, 'random') # Octo Trap - Physical (202500): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
pasta = True # persistent
sushi = True # persistent
elif once() and pasta == False:
useSkill(21, 'random') # Octo Trap - Magic (202510): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
pasta = True # persistent
bacon = True # persistent
elif once():
useSkill(22, 'random') # Orthros has transformed! (202520): No effect
elif once():
useSkill(3, 'random') # Magnitude 8 (202330): Physical earth damage (2.5x, ATK) to all enemies (+100% accuracy), Reduce DEF and SPR by 20% for 3 turns to all enemies
apple = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and honey == True and berry == False and green == 0:
wait() # No action
white += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and honey == True and berry == False and green == 0:
wait() # No action
white += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and honey == True and berry == False and green == 0:
wait() # No action
black += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and honey == True and berry == False and green == 0:
wait() # No action
black += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == True and berry == False and green == 0:
wait() # No action
white += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == True and berry == False and green == 0:
wait() # No action
white += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and ramen == True and berry == False and green == 0:
wait() # No action
black += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and ramen == True and berry == False and green == 0:
wait() # No action
black += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and sushi == True and berry == False and green == 0:
wait() # No action
white += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and sushi == True and berry == False and green == 0:
wait() # No action
white += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sushi == True and berry == False and green == 0:
wait() # No action
black += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sushi == True and berry == False and green == 0:
wait() # No action
black += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and bacon == True and berry == False and green == 0:
wait() # No action
white += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and bacon == True and berry == False and green == 0:
wait() # No action
white += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and bacon == True and berry == False and green == 0:
wait() # No action
black += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and bacon == True and berry == False and green == 0:
wait() # No action
black += 1
berry = True # reset next turn
elif berry == False and green == 0:
wait() # No action
mauve += 1
berry = True # reset next turn
elif green >= 9 and white == 2 and honey == True and guava == False:
useSkill(19, 'random') # Octo Trap - Magic (202490): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = True # persistent
honey = False # persistent
elif green >= 9 and black == 2 and honey == True and guava == False:
useSkill(21, 'random') # Octo Trap - Magic (202510): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = True # persistent
sushi = False # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 9 and white == 2 and ramen == True and guava == False:
useSkill(20, 'random') # Octo Trap - Physical (202500): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = True # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 9 and black == 2 and ramen == True and guava == False:
useSkill(18, 'random') # Octo Trap - Physical (202480): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
honey = True # persistent
elif green >= 9 and white == 2 and sushi == True and guava == False:
useSkill(19, 'random') # Octo Trap - Magic (202490): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = True # persistent
honey = False # persistent
elif green >= 9 and black == 2 and sushi == True and guava == False:
useSkill(21, 'random') # Octo Trap - Magic (202510): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = True # persistent
sushi = False # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 9 and white == 2 and bacon == True and guava == False:
useSkill(20, 'random') # Octo Trap - Physical (202500): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = True # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 9 and black == 2 and bacon == True and guava == False:
useSkill(18, 'random') # Octo Trap - Physical (202480): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
honey = True # persistent
elif random() <= 0.35 and green >= 9 and mauve == 2 and guava == False:
useSkill(19, 'random') # Octo Trap - Magic (202490): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = True # persistent
honey = False # persistent
elif random() <= 0.45 and green >= 9 and mauve == 2 and guava == False:
useSkill(20, 'random') # Octo Trap - Physical (202500): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = True # persistent
ramen = False # persistent
honey = False # persistent
elif random() <= 0.55 and green >= 9 and mauve == 2 and guava == False:
useSkill(21, 'random') # Octo Trap - Magic (202510): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = True # persistent
sushi = False # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 9 and mauve == 2 and guava == False:
useSkill(18, 'random') # Octo Trap - Physical (202480): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
honey = True # persistent
elif random() <= 0.35 and green >= 9 and mauve == 1 and white == 1 and guava == False:
useSkill(19, 'random') # Octo Trap - Magic (202490): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = True # persistent
honey = False # persistent
elif random() <= 0.45 and green >= 9 and mauve == 1 and white == 1 and guava == False:
useSkill(20, 'random') # Octo Trap - Physical (202500): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = True # persistent
ramen = False # persistent
honey = False # persistent
elif random() <= 0.55 and green >= 9 and mauve == 1 and white == 1 and guava == False:
useSkill(21, 'random') # Octo Trap - Magic (202510): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = True # persistent
sushi = False # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 9 and mauve == 1 and white == 1 and guava == False:
useSkill(18, 'random') # Octo Trap - Physical (202480): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
honey = True # persistent
elif random() <= 0.35 and green >= 9 and mauve == 1 and black == 1 and guava == False:
useSkill(19, 'random') # Octo Trap - Magic (202490): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = True # persistent
honey = False # persistent
elif random() <= 0.45 and green >= 9 and mauve == 1 and black == 1 and guava == False:
useSkill(20, 'random') # Octo Trap - Physical (202500): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = True # persistent
ramen = False # persistent
honey = False # persistent
elif random() <= 0.55 and green >= 9 and mauve == 1 and black == 1 and guava == False:
useSkill(21, 'random') # Octo Trap - Magic (202510): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = True # persistent
sushi = False # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 9 and mauve == 1 and black == 1 and guava == False:
useSkill(18, 'random') # Octo Trap - Physical (202480): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
honey = True # persistent
elif random() <= 0.35 and green >= 9 and white == 1 and black == 1 and guava == False:
useSkill(19, 'random') # Octo Trap - Magic (202490): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = True # persistent
honey = False # persistent
elif random() <= 0.45 and green >= 9 and white == 1 and black == 1 and guava == False:
useSkill(20, 'random') # Octo Trap - Physical (202500): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = True # persistent
ramen = False # persistent
honey = False # persistent
elif random() <= 0.55 and green >= 9 and white == 1 and black == 1 and guava == False:
useSkill(21, 'random') # Octo Trap - Magic (202510): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = True # persistent
sushi = False # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 9 and white == 1 and black == 1 and guava == False:
useSkill(18, 'random') # Octo Trap - Physical (202480): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
honey = True # persistent
elif green >= 9 and white == 2 and gourd == False:
useSkill(22, 'random') # Orthros has transformed! (202520): No effect
white = 0
gourd = True # reset next turn
elif green >= 9 and black == 2 and gourd == False:
useSkill(22, 'random') # Orthros has transformed! (202520): No effect
black = 0
gourd = True # reset next turn
elif green >= 9 and mauve == 2 and gourd == False:
useSkill(22, 'random') # Orthros has transformed! (202520): No effect
mauve = 0
gourd = True # reset next turn
elif green >= 9 and mauve == 1 and black == 1 and gourd == False:
useSkill(22, 'random') # Orthros has transformed! (202520): No effect
mauve = 0
black = 0
gourd = True # reset next turn
elif green >= 9 and mauve == 1 and white == 1 and gourd == False:
useSkill(22, 'random') # Orthros has transformed! (202520): No effect
mauve = 0
white = 0
gourd = True # reset next turn
elif green >= 9 and white == 1 and black == 1 and gourd == False:
useSkill(22, 'random') # Orthros has transformed! (202520): No effect
black = 0
white = 0
gourd = True # reset next turn
elif green >= 9 and azure == 5 and sugar == False and grape == False:
useSkill(6, 'random') # Hailstone (202360): 60% HP damage to all enemies
grape = True # reset next turn
sugar = True # persistent
elif green >= 9 and azure == 5 and sugar == True and grape == False:
useSkill(5, 'random') # Tempest (202350): 60% HP damage to all enemies, Reduce resistance to Wind by 20% for 3 turns to all enemies
grape = True # reset next turn
sugar = False # persistent
elif green >= 9 and azure == 3 and sugar == False and grape == False:
useSkill(6, 'random') # Hailstone (202360): 60% HP damage to all enemies
grape = True # reset next turn
sugar = True # persistent
elif green >= 9 and azure == 3 and sugar == True and grape == False:
useSkill(5, 'random') # Tempest (202350): 60% HP damage to all enemies, Reduce resistance to Wind by 20% for 3 turns to all enemies
grape = True # reset next turn
sugar = False # persistent
elif green >= 9 and azure == 1 and sugar == False and grape == False:
useSkill(6, 'random') # Hailstone (202360): 60% HP damage to all enemies
grape = True # reset next turn
sugar = True # persistent
elif green >= 9 and azure == 1 and sugar == True and grape == False:
useSkill(5, 'random') # Tempest (202350): 60% HP damage to all enemies, Reduce resistance to Wind by 20% for 3 turns to all enemies
grape = True # reset next turn
sugar = False # persistent
elif unit('1:ally:any').HP < 0.4 and green >= 9 and azure == 5 and melon == False:
useSkill(14, 'highest ATK') # Berserk (202440): Inflict berserk (+100% ATK) on one enemy for 2 turns
melon = True # reset next turn
elif unit('1:ally:any').HP < 0.4 and green >= 9 and azure == 2 and melon == False:
useSkill(14, 'highest ATK') # Berserk (202440): Inflict berserk (+100% ATK) on one enemy for 2 turns
melon = True # reset next turn
elif unit('1:ally:any').HP > 0.4 and green >= 9 and azure == 5 and var_61 == False:
useSkill(15, 'random') # Heal (202450): Restore 3000000 HP to caster
var_61 = True # unknown flag type
elif unit('1:ally:any').HP < 0.4 and green >= 9 and azure == 3 and var_61 == False:
useSkill(15, 'random') # Heal (202450): Restore 3000000 HP to caster
var_61 = True # unknown flag type
elif unit('1:ally:any').HP < 0.5 and green >= 9 and azure == 4 and var_62 == False:
useSkill(17, 'random') # Haste (202470): No effect
var_62 = True # unknown flag type
fries = True # persistent
elif unit('1:ally:any').HP < 0.5 and green >= 15 and azure == 4 and fries == True:
endTurn()
azure += 1
green = 0
fries = False # persistent
elif unit('1:ally:any').HP < 0.5 and azure == 4 and fries == True:
useSkill(1, 'random') # Octo Tentacle (202310): Physical damage (2.5x, ATK) to one enemy (+100% accuracy), Physical damage (0.02x, ATK) as MP drain (100%) to one enemy
green += 1
elif green >= 9 and azure == 5:
endTurn()
azure = 0
green = 0
elif green >= 9:
endTurn()
azure += 1
green = 0
elif azure == 4 and peach == False:
useSkill(2, 'highest HP') # Octuple Attack (202320): Fixed* damage (8888) to one enemy
peach = True # reset next turn
elif unit('1:ally:any').HP > 0.5 and azure == 1 and olive == False:
useSkill(3, 'random') # Magnitude 8 (202330): Physical earth damage (2.5x, ATK) to all enemies (+100% accuracy), Reduce DEF and SPR by 20% for 3 turns to all enemies
olive = True # reset next turn
elif unit('1:ally:any').HP > 0.5 and azure == 3 and olive == False:
useSkill(3, 'random') # Magnitude 8 (202330): Physical earth damage (2.5x, ATK) to all enemies (+100% accuracy), Reduce DEF and SPR by 20% for 3 turns to all enemies
olive = True # reset next turn
elif unit('1:ally:any').HP > 0.5 and azure == 5 and olive == False:
useSkill(3, 'random') # Magnitude 8 (202330): Physical earth damage (2.5x, ATK) to all enemies (+100% accuracy), Reduce DEF and SPR by 20% for 3 turns to all enemies
olive = True # reset next turn
elif unit('1:ally:any').HP < 0.5 and olive == False:
useSkill(3, 'random') # Magnitude 8 (202330): Physical earth damage (2.5x, ATK) to all enemies (+100% accuracy), Reduce DEF and SPR by 20% for 3 turns to all enemies
olive = True # reset next turn
elif mango == False:
useSkill(7, 'random') # Aqua Breath (202370): Magic water damage (2.5x, MAG) to all enemies, Reduce resistance to Water by 40% for 2 turns to all enemies
green += 1
mango = True # reset next turn
elif azure == 2 and lemon == False:
useSkill(4, 'random') # Acid Rain (202340): Magic* water and wind damage (2x, MAG) to all enemies, Reduce resistance to Water and Wind by 30% for 3 turns to all enemies
green += 1
lemon = True # reset next turn
elif azure == 5 and lemon == False:
useSkill(4, 'random') # Acid Rain (202340): Magic* water and wind damage (2x, MAG) to all enemies, Reduce resistance to Water and Wind by 30% for 3 turns to all enemies
green += 1
lemon = True # reset next turn
else:
useSkill(1, 'random') # Octo Tentacle (202310): Physical damage (2.5x, ATK) to one enemy (+100% accuracy), Physical damage (0.02x, ATK) as MP drain (100%) to one enemy
green += 1
##
# Monster Info
##
#
# Monster Orthros (303021005)
# Race Aquatic
# Level 99
# Actions 35-35
#
#
# Stats
# HP 130000000
# MP 100000
# ATK 1000
# DEF 360
# MAG 980
# SPR 350
#
#
# 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 100%
# DEF 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 物理カウンター(オルトロス真降臨) (100053) [Passive]
#
# 100% chance to counter physical attacks with Octo Tentacle (202310) to the attacker
#
##
#
# 魔法カウンター(オルトロス真降臨) (100054) [Passive]
#
# 100% chance to counter magic attacks with Octo Tentacle (202310) to the attacker
#
##
#
# 水属性吸収 (100006) [Passive]
#
# Absorb Water elemental attacks
#
##
###
# Skills
###
#
# Octo Tentacle (202310) [Physical]
#
# Physical damage (2.5x, ATK) to one enemy (+100% accuracy)
# Physical damage (0.02x, ATK) as MP drain (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Octuple Attack (202320) [Physical]
#
# Fixed* damage (8888) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Magnitude 8 (202330) [Physical]
#
# Physical earth damage (2.5x, ATK) to all enemies (+100% accuracy)
# Reduce DEF and SPR by 20% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Acid Rain (202340) [None]
#
# Magic* water and wind damage (2x, MAG) to all enemies
# Reduce resistance to Water and Wind by 30% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tempest (202350) [Physical]
#
# 60% HP damage to all enemies
# Unknown parameters: [60,100,1]
# Reduce resistance to Wind by 20% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hailstone (202360) [Physical]
#
# 60% HP damage to all enemies
# Unknown parameters: [60,100,1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Aqua Breath (202370) [Magic]
#
# Magic water damage (2.5x, MAG) to all enemies
# Reduce resistance to Water by 40% for 2 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hailstorm (202380) [Magic]
#
# Magic water damage (2.5x, MAG) to all enemies
# Reduce resistance to Lightning by 40% for 2 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 1 Million Volts (202390) [None]
#
# Magic* lightning damage (5.3x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Octo Ink (202400) [None]
#
# Inflict Poison and Blind (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chokehold (202410) [None]
#
# Inflict Sleep and Paralyze (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Octo Virus (202420) [None]
#
# Inflict Confusion and Disease (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Octo Glare (202430) [None]
#
# Inflict Silence and Petrify (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Berserk (202440) [None]
#
# Inflict berserk (+100% ATK) on one enemy for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heal (202450) [None]
#
# Restore 3000000 HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heal (202460) [None]
#
# Restore 6000000 HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Haste (202470) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Octo Trap - Physical (202480) [None]
#
# Reduce resistance to Fire and Lightning by 50% for 2 turns to caster
# Unused parameters: [1]
# Reduce physical damage taken by 100% to caster for 2 turns (can not be removed)
# Unused parameters: [1]
# Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Octo Trap - Magic (202490) [None]
#
# Reduce resistance to Fire and Lightning by 50% for 2 turns to caster
# Unused parameters: [1]
# Reduce magic damage taken by 100% to caster for 2 turns (can not be removed)
# Unused parameters: [1]
# Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Octo Trap - Physical (202500) [None]
#
# Reduce resistance to Wind and Light by 50% for 2 turns to caster
# Unused parameters: [1]
# Reduce physical damage taken by 100% to caster for 2 turns (can not be removed)
# Unused parameters: [1]
# Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Octo Trap - Magic (202510) [None]
#
# Reduce resistance to Wind and Light by 50% for 2 turns to caster
# Unused parameters: [1]
# Reduce magic damage taken by 100% to caster for 2 turns (can not be removed)
# Unused parameters: [1]
# Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Orthros has transformed! (202520) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Toxic Storm (202530) [None]
#
# Magic* water and wind damage (5x, MAG) to all enemies
# Inflict 3 random status effects (100%) to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif random() <= 0.35 and once() and pasta == False:
useSkill(18, 'random') # Octo Trap - Physical (202480): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
pasta = True # persistent
honey = True # persistent
elif random() <= 0.45 and once() and pasta == False:
useSkill(19, 'random') # Octo Trap - Magic (202490): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
pasta = True # persistent
ramen = True # persistent
elif random() <= 0.55 and once() and pasta == False:
useSkill(20, 'random') # Octo Trap - Physical (202500): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
pasta = True # persistent
sushi = True # persistent
elif once() and pasta == False:
useSkill(21, 'random') # Octo Trap - Magic (202510): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
pasta = True # persistent
bacon = True # persistent
elif once():
useSkill(22, 'random') # Orthros has transformed! (202520): No effect
elif once():
useSkill(9, 'random') # 1 Million Volts (202390): Magic* lightning damage (5.3x, MAG) to all enemies
apple = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and honey == True and berry == False and green == 0:
wait() # No action
white += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and honey == True and berry == False and green == 0:
wait() # No action
white += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and honey == True and berry == False and green == 0:
wait() # No action
black += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and honey == True and berry == False and green == 0:
wait() # No action
black += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == True and berry == False and green == 0:
wait() # No action
white += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == True and berry == False and green == 0:
wait() # No action
white += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and ramen == True and berry == False and green == 0:
wait() # No action
black += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and ramen == True and berry == False and green == 0:
wait() # No action
black += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and sushi == True and berry == False and green == 0:
wait() # No action
white += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and sushi == True and berry == False and green == 0:
wait() # No action
white += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sushi == True and berry == False and green == 0:
wait() # No action
black += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sushi == True and berry == False and green == 0:
wait() # No action
black += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and bacon == True and berry == False and green == 0:
wait() # No action
white += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and bacon == True and berry == False and green == 0:
wait() # No action
white += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and bacon == True and berry == False and green == 0:
wait() # No action
black += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and bacon == True and berry == False and green == 0:
wait() # No action
black += 1
berry = True # reset next turn
elif berry == False and green == 0:
wait() # No action
mauve += 1
berry = True # reset next turn
elif green >= 9 and white == 2 and honey == True and guava == False:
useSkill(19, 'random') # Octo Trap - Magic (202490): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = True # persistent
honey = False # persistent
elif green >= 9 and black == 2 and honey == True and guava == False:
useSkill(21, 'random') # Octo Trap - Magic (202510): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = True # persistent
sushi = False # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 9 and white == 2 and ramen == True and guava == False:
useSkill(20, 'random') # Octo Trap - Physical (202500): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = True # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 9 and black == 2 and ramen == True and guava == False:
useSkill(18, 'random') # Octo Trap - Physical (202480): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
honey = True # persistent
elif green >= 9 and white == 2 and sushi == True and guava == False:
useSkill(19, 'random') # Octo Trap - Magic (202490): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = True # persistent
honey = False # persistent
elif green >= 9 and black == 2 and sushi == True and guava == False:
useSkill(21, 'random') # Octo Trap - Magic (202510): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = True # persistent
sushi = False # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 9 and white == 2 and bacon == True and guava == False:
useSkill(20, 'random') # Octo Trap - Physical (202500): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = True # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 9 and black == 2 and bacon == True and guava == False:
useSkill(18, 'random') # Octo Trap - Physical (202480): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
honey = True # persistent
elif random() <= 0.35 and green >= 9 and mauve == 2 and guava == False:
useSkill(19, 'random') # Octo Trap - Magic (202490): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = True # persistent
honey = False # persistent
elif random() <= 0.45 and green >= 9 and mauve == 2 and guava == False:
useSkill(20, 'random') # Octo Trap - Physical (202500): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = True # persistent
ramen = False # persistent
honey = False # persistent
elif random() <= 0.55 and green >= 9 and mauve == 2 and guava == False:
useSkill(21, 'random') # Octo Trap - Magic (202510): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = True # persistent
sushi = False # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 9 and mauve == 2 and guava == False:
useSkill(18, 'random') # Octo Trap - Physical (202480): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
honey = True # persistent
elif random() <= 0.35 and green >= 9 and mauve == 1 and white == 1 and guava == False:
useSkill(19, 'random') # Octo Trap - Magic (202490): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = True # persistent
honey = False # persistent
elif random() <= 0.45 and green >= 9 and mauve == 1 and white == 1 and guava == False:
useSkill(20, 'random') # Octo Trap - Physical (202500): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = True # persistent
ramen = False # persistent
honey = False # persistent
elif random() <= 0.55 and green >= 9 and mauve == 1 and white == 1 and guava == False:
useSkill(21, 'random') # Octo Trap - Magic (202510): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = True # persistent
sushi = False # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 9 and mauve == 1 and white == 1 and guava == False:
useSkill(18, 'random') # Octo Trap - Physical (202480): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
honey = True # persistent
elif random() <= 0.35 and green >= 9 and mauve == 1 and black == 1 and guava == False:
useSkill(19, 'random') # Octo Trap - Magic (202490): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = True # persistent
honey = False # persistent
elif random() <= 0.45 and green >= 9 and mauve == 1 and black == 1 and guava == False:
useSkill(20, 'random') # Octo Trap - Physical (202500): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = True # persistent
ramen = False # persistent
honey = False # persistent
elif random() <= 0.55 and green >= 9 and mauve == 1 and black == 1 and guava == False:
useSkill(21, 'random') # Octo Trap - Magic (202510): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = True # persistent
sushi = False # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 9 and mauve == 1 and black == 1 and guava == False:
useSkill(18, 'random') # Octo Trap - Physical (202480): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
honey = True # persistent
elif random() <= 0.35 and green >= 9 and white == 1 and black == 1 and guava == False:
useSkill(19, 'random') # Octo Trap - Magic (202490): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = True # persistent
honey = False # persistent
elif random() <= 0.45 and green >= 9 and white == 1 and black == 1 and guava == False:
useSkill(20, 'random') # Octo Trap - Physical (202500): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = True # persistent
ramen = False # persistent
honey = False # persistent
elif random() <= 0.55 and green >= 9 and white == 1 and black == 1 and guava == False:
useSkill(21, 'random') # Octo Trap - Magic (202510): Reduce resistance to Wind and Light by 50% for 2 turns to caster, Reduce magic damage taken by 100% to caster for 2 turns (can not be removed), Set Fire, Ice, Lightning, Earth and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = True # persistent
sushi = False # persistent
ramen = False # persistent
honey = False # persistent
elif green >= 9 and white == 1 and black == 1 and guava == False:
useSkill(18, 'random') # Octo Trap - Physical (202480): Reduce resistance to Fire and Lightning by 50% for 2 turns to caster, Reduce physical damage taken by 100% to caster for 2 turns (can not be removed), Set Ice, Wind, Earth, Light and Dark resistance to 100% for 2 turns to caster (can not be removed)
guava = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
honey = True # persistent
elif green >= 9 and white == 2 and gourd == False:
useSkill(22, 'random') # Orthros has transformed! (202520): No effect
white = 0
gourd = True # reset next turn
elif green >= 9 and black == 2 and gourd == False:
useSkill(22, 'random') # Orthros has transformed! (202520): No effect
black = 0
gourd = True # reset next turn
elif green >= 9 and mauve == 2 and gourd == False:
useSkill(22, 'random') # Orthros has transformed! (202520): No effect
mauve = 0
gourd = True # reset next turn
elif green >= 9 and mauve == 1 and black == 1 and gourd == False:
useSkill(22, 'random') # Orthros has transformed! (202520): No effect
mauve = 0
black = 0
gourd = True # reset next turn
elif green >= 9 and mauve == 1 and white == 1 and gourd == False:
useSkill(22, 'random') # Orthros has transformed! (202520): No effect
mauve = 0
white = 0
gourd = True # reset next turn
elif green >= 9 and white == 1 and black == 1 and gourd == False:
useSkill(22, 'random') # Orthros has transformed! (202520): No effect
black = 0
white = 0
gourd = True # reset next turn
elif unit('1:ally:any').HP < 0.5 and green >= 9 and azure == 5 and melon == False:
useSkill(9, 'random') # 1 Million Volts (202390): Magic* lightning damage (5.3x, MAG) to all enemies
melon = True # reset next turn
elif unit('1:ally:any').HP < 0.5 and green >= 9 and azure == 2 and melon == False:
useSkill(9, 'random') # 1 Million Volts (202390): Magic* lightning damage (5.3x, MAG) to all enemies
melon = True # reset next turn
elif green >= 9 and azure == 5 and sugar == False and grape == False:
useSkill(6, 'random') # Hailstone (202360): 60% HP damage to all enemies
grape = True # reset next turn
sugar = True # persistent
elif green >= 9 and azure == 5 and sugar == True and grape == False:
useSkill(5, 'random') # Tempest (202350): 60% HP damage to all enemies, Reduce resistance to Wind by 20% for 3 turns to all enemies
grape = True # reset next turn
sugar = False # persistent
elif green >= 9 and azure == 3 and sugar == False and grape == False:
useSkill(6, 'random') # Hailstone (202360): 60% HP damage to all enemies
grape = True # reset next turn
sugar = True # persistent
elif green >= 9 and azure == 3 and sugar == True and grape == False:
useSkill(5, 'random') # Tempest (202350): 60% HP damage to all enemies, Reduce resistance to Wind by 20% for 3 turns to all enemies
grape = True # reset next turn
sugar = False # persistent
elif green >= 9 and azure == 1 and sugar == False and grape == False:
useSkill(6, 'random') # Hailstone (202360): 60% HP damage to all enemies
grape = True # reset next turn
sugar = True # persistent
elif green >= 9 and azure == 1 and sugar == True and grape == False:
useSkill(5, 'random') # Tempest (202350): 60% HP damage to all enemies, Reduce resistance to Wind by 20% for 3 turns to all enemies
grape = True # reset next turn
sugar = False # persistent
elif green >= 9 and tiger == False and mouse == False and var_64 == False:
useSkill(10, 'stdown_buff') # Octo Ink (202400): Inflict Poison and Blind (100%) on one enemy
var_64 = True # unknown flag type
tiger = True # reset next turn
elif green >= 9 and tiger == True and mouse == False and var_64 == False:
useSkill(11, 'stdown_buff') # Chokehold (202410): Inflict Sleep and Paralyze (100%) on one enemy
var_64 = True # unknown flag type
mouse = True # reset next turn
tiger = False # reset next turn
elif green >= 9 and tiger == False and mouse == True and var_64 == False:
useSkill(12, 'stdown_buff') # Octo Virus (202420): Inflict Confusion and Disease (100%) on one enemy
var_64 = True # unknown flag type
tiger = True # reset next turn
elif green >= 9 and tiger == True and mouse == True and var_64 == False:
useSkill(13, 'stdown_buff') # Octo Glare (202430): Inflict Silence and Petrify (100%) on one enemy
var_64 = True # unknown flag type
mouse = False # reset next turn
tiger = False # reset next turn
elif unit('1:ally:any').HP < 0.5 and green >= 9 and goose == False and horse == False and var_67 == False:
useSkill(13, 'random') # Octo Glare (202430): Inflict Silence and Petrify (100%) on one enemy
var_67 = True # unknown flag type
goose = True # reset next turn
elif unit('1:ally:any').HP < 0.5 and green >= 9 and goose == True and horse == False and var_67 == False:
useSkill(12, 'random') # Octo Virus (202420): Inflict Confusion and Disease (100%) on one enemy
var_67 = True # unknown flag type
horse = True # reset next turn
goose = False # reset next turn
elif unit('1:ally:any').HP < 0.5 and green >= 9 and goose == False and horse == True and var_67 == False:
useSkill(11, 'random') # Chokehold (202410): Inflict Sleep and Paralyze (100%) on one enemy
var_67 = True # unknown flag type
goose = True # reset next turn
elif unit('1:ally:any').HP < 0.5 and green >= 9 and goose == True and horse == True and var_67 == False:
useSkill(10, 'random') # Octo Ink (202400): Inflict Poison and Blind (100%) on one enemy
var_67 = True # unknown flag type
horse = False # reset next turn
goose = False # reset next turn
elif unit('1:ally:any').HP > 0.4 and green >= 9 and azure == 5 and var_61 == False:
useSkill(16, 'random') # Heal (202460): Restore 6000000 HP to caster
var_61 = True # unknown flag type
elif unit('1:ally:any').HP < 0.4 and green >= 9 and azure == 3 and var_61 == False:
useSkill(16, 'random') # Heal (202460): Restore 6000000 HP to caster
var_61 = True # unknown flag type
elif unit('1:ally:any').HP < 0.4 and green >= 9 and isTurnMod(3) and var_65 == False:
useSkill(14, 'highest ATK') # Berserk (202440): Inflict berserk (+100% ATK) on one enemy for 2 turns
var_65 = True # unknown flag type
elif unit('1:ally:any').HP < 0.5 and unit('2:ally:504001005:Typhon').is('alive') and green >= 9 and azure == 4 and var_62 == False:
useSkill(17, 'random') # Haste (202470): No effect
var_62 = True # unknown flag type
fries = True # persistent
elif unit('1:ally:any').HP < 0.5 and unit('2:ally:504001005:Typhon').is('alive') and green >= 15 and azure == 4 and var_63 == False:
useSkill(23, 'random') # Toxic Storm (202530): Magic* water and wind damage (5x, MAG) to all enemies, Inflict 3 random status effects (100%) to all enemies
var_63 = True # unknown flag type
elif unit('1:ally:any').HP < 0.5 and unit('2:ally:504001005:Typhon').is('alive') and green >= 15 and azure == 4 and fries == True:
endTurn()
azure += 1
green = 0
fries = False # persistent
elif unit('1:ally:any').HP < 0.5 and unit('2:ally:504001005:Typhon').is('alive') and azure == 4 and fries == True:
useSkill(1, 'random') # Octo Tentacle (202310): Physical damage (2.5x, ATK) to one enemy (+100% accuracy), Physical damage (0.02x, ATK) as MP drain (100%) to one enemy
green += 1
elif unit('1:ally:any').HP < 0.5 and unit('2:ally:504001005:Typhon').is('dead') and green >= 9 and azure == 2 and var_62 == False:
useSkill(17, 'random') # Haste (202470): No effect
var_62 = True # unknown flag type
fries = True # persistent
elif unit('1:ally:any').HP < 0.5 and unit('2:ally:504001005:Typhon').is('dead') and green >= 15 and azure == 2 and var_63 == False:
useSkill(23, 'random') # Toxic Storm (202530): Magic* water and wind damage (5x, MAG) to all enemies, Inflict 3 random status effects (100%) to all enemies
var_63 = True # unknown flag type
elif unit('1:ally:any').HP < 0.5 and unit('2:ally:504001005:Typhon').is('dead') and green >= 15 and azure == 2 and fries == True:
endTurn()
azure += 1
green = 0
fries = False # persistent
elif unit('1:ally:any').HP < 0.5 and unit('2:ally:504001005:Typhon').is('dead') and azure == 2 and fries == True:
useSkill(1, 'random') # Octo Tentacle (202310): Physical damage (2.5x, ATK) to one enemy (+100% accuracy), Physical damage (0.02x, ATK) as MP drain (100%) to one enemy
green += 1
elif unit('1:ally:any').HP < 0.5 and unit('2:ally:504001005:Typhon').is('dead') and green >= 9 and azure == 5 and var_62 == False:
useSkill(17, 'random') # Haste (202470): No effect
var_62 = True # unknown flag type
fries = True # persistent
elif unit('1:ally:any').HP < 0.5 and unit('2:ally:504001005:Typhon').is('dead') and green >= 15 and azure == 5 and var_63 == False:
useSkill(23, 'random') # Toxic Storm (202530): Magic* water and wind damage (5x, MAG) to all enemies, Inflict 3 random status effects (100%) to all enemies
var_63 = True # unknown flag type
elif unit('1:ally:any').HP < 0.5 and unit('2:ally:504001005:Typhon').is('dead') and green >= 15 and azure == 5 and fries == True:
endTurn()
azure = 0
green = 0
fries = False # persistent
elif unit('1:ally:any').HP < 0.5 and unit('2:ally:504001005:Typhon').is('dead') and azure == 5 and fries == True:
useSkill(1, 'random') # Octo Tentacle (202310): Physical damage (2.5x, ATK) to one enemy (+100% accuracy), Physical damage (0.02x, ATK) as MP drain (100%) to one enemy
green += 1
elif green >= 9 and azure == 5:
endTurn()
azure = 0
green = 0
elif green >= 9:
endTurn()
azure += 1
green = 0
elif azure == 4 and peach == False:
useSkill(2, 'highest HP') # Octuple Attack (202320): Fixed* damage (8888) to one enemy
peach = True # reset next turn
elif unit('1:ally:any').HP > 0.5 and azure == 1 and olive == False:
useSkill(3, 'random') # Magnitude 8 (202330): Physical earth damage (2.5x, ATK) to all enemies (+100% accuracy), Reduce DEF and SPR by 20% for 3 turns to all enemies
olive = True # reset next turn
elif unit('1:ally:any').HP > 0.5 and azure == 3 and olive == False:
useSkill(3, 'random') # Magnitude 8 (202330): Physical earth damage (2.5x, ATK) to all enemies (+100% accuracy), Reduce DEF and SPR by 20% for 3 turns to all enemies
olive = True # reset next turn
elif unit('1:ally:any').HP > 0.5 and azure == 5 and olive == False:
useSkill(3, 'random') # Magnitude 8 (202330): Physical earth damage (2.5x, ATK) to all enemies (+100% accuracy), Reduce DEF and SPR by 20% for 3 turns to all enemies
olive = True # reset next turn
elif unit('1:ally:any').HP < 0.5 and olive == False:
useSkill(3, 'random') # Magnitude 8 (202330): Physical earth damage (2.5x, ATK) to all enemies (+100% accuracy), Reduce DEF and SPR by 20% for 3 turns to all enemies
olive = True # reset next turn
elif otter == False and mango == False:
useSkill(7, 'random') # Aqua Breath (202370): Magic water damage (2.5x, MAG) to all enemies, Reduce resistance to Water by 40% for 2 turns to all enemies
otter = True # reset next turn
green += 1
mango = True # reset next turn
elif otter == True and mango == False:
useSkill(8, 'random') # Hailstorm (202380): Magic water damage (2.5x, MAG) to all enemies, Reduce resistance to Lightning by 40% for 2 turns to all enemies
otter = False # reset next turn
green += 1
mango = True # reset next turn
elif azure == 2 and lemon == False:
useSkill(4, 'random') # Acid Rain (202340): Magic* water and wind damage (2x, MAG) to all enemies, Reduce resistance to Water and Wind by 30% for 3 turns to all enemies
green += 1
lemon = True # reset next turn
elif azure == 5 and lemon == False:
useSkill(4, 'random') # Acid Rain (202340): Magic* water and wind damage (2x, MAG) to all enemies, Reduce resistance to Water and Wind by 30% for 3 turns to all enemies
green += 1
lemon = True # reset next turn
else:
useSkill(1, 'random') # Octo Tentacle (202310): Physical damage (2.5x, ATK) to one enemy (+100% accuracy), Physical damage (0.02x, ATK) as MP drain (100%) to one enemy
green += 1
##
# Monster Info
##
#
# Monster Typhon (504001005)
# Race Demon
# Level 99
# Actions 35-35
#
#
# Stats
# HP 80000000
# MP 100000
# ATK 1600
# DEF 300
# MAG 1300
# SPR 450
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice -50%
# Lightning 0%
# Water -50%
# 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 100%
# DEF 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 火属性吸収 (100003) [Passive]
#
# Absorb Fire elemental attacks
#
##
###
# Skills
###
#
# Beat Up (202540) [Physical]
#
# Physical damage (4x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Fireball+ (202550) [Magic]
#
# Magic fire damage (4.3x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Typhon focused its power! (202560) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Typhon took a deep breath! (202570) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Typhon took a breath of deadly wind! (202580) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shove (202590) [None]
#
# Remove one enemy from the fight for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Snort (202600) [None]
#
# Remove one enemy from the fight
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Instant Death Snort (202610) [None]
#
# [Death]
# Instant KO (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Typhon's nose is itchy! (202620) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Big Sneeze (202630) [Magic]
#
# Magic damage (1.8x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Resistance to poison has been blown away! (202640) [None]
#
# Remove resistances to Poison from one enemy for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Resistance to blind has been blown away! (202650) [None]
#
# Remove resistances to Blind from one enemy for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Resistance to sleep has been blown away! (202660) [None]
#
# Remove resistances to Sleep from one enemy for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Resistance to silence has been blown away! (202670) [None]
#
# Remove resistances to Silence from one enemy for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Resistance to paralysis has been blown away! (202680) [None]
#
# Remove resistances to Paralyze from one enemy for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Resistance to confusion has been blown away! (202690) [None]
#
# Remove resistances to Confusion from one enemy for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Resistance to disease has been blown away! (202700) [None]
#
# Remove resistances to Disease from one enemy for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Resistance to stone has been blown away! (202710) [None]
#
# Remove resistances to Petrify from one enemy for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Huge Sneeze (202720) [Magic]
#
# Magic damage (2.3x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Resistance to all ailments has been blown away! (202730) [None]
#
# Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from one enemy for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sigh (202740) [None]
#
# Remove all buffs and debuffs from one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Pyroclastic Blast (202750) [None]
#
# Magic* fire and wind damage (4x, MAG) to all enemies
# Inflict 3 random status effects (100%) to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if once() and white >= 7 and pasta == False:
endTurn()
white = 0
pasta = True # persistent
elif once() and pasta == False:
useSkill(9, 'random') # Typhon's nose is itchy! (202620): No effect
white += 1
elif once() and pasta == False:
useSkill(10, 'random') # Big Sneeze (202630): Magic damage (1.8x, MAG) to all enemies
white += 1
elif random() <= 0.22 and once() and pasta == False:
useSkill(11, 'random') # Resistance to poison has been blown away! (202640): Remove resistances to Poison from one enemy for 3 turns
white += 1
elif random() <= 0.22 and once() and pasta == False:
useSkill(12, 'random') # Resistance to blind has been blown away! (202650): Remove resistances to Blind from one enemy for 3 turns
white += 1
elif random() <= 0.33 and once() and pasta == False:
useSkill(13, 'random') # Resistance to sleep has been blown away! (202660): Remove resistances to Sleep from one enemy for 3 turns
white += 1
elif random() <= 0.33 and once() and pasta == False:
useSkill(14, 'random') # Resistance to silence has been blown away! (202670): Remove resistances to Silence from one enemy for 3 turns
white += 1
elif random() <= 0.45 and once() and pasta == False:
useSkill(15, 'random') # Resistance to paralysis has been blown away! (202680): Remove resistances to Paralyze from one enemy for 3 turns
white += 1
elif once() and pasta == False:
useSkill(16, 'random') # Resistance to confusion has been blown away! (202690): Remove resistances to Confusion from one enemy for 3 turns
white += 1
elif once() and pasta == False:
useSkill(17, 'random') # Resistance to disease has been blown away! (202700): Remove resistances to Disease from one enemy for 3 turns
white += 1
elif once() and pasta == False:
useSkill(18, 'random') # Resistance to stone has been blown away! (202710): Remove resistances to Petrify from one enemy for 3 turns
white += 1
elif isTurnMod(5) and gourd == False:
useSkill(21, 'highest HP') # Sigh (202740): Remove all buffs and debuffs from one enemy
gourd = True # reset next turn
elif unit('2:ally:303021005:Orthros').is('alive') and black == 6 and green >= 4 and var_61 == False:
useSkill(22, 'random') # Pyroclastic Blast (202750): Magic* fire and wind damage (4x, MAG) to all enemies, Inflict 3 random status effects (100%) to all enemies
var_61 = True # unknown flag type
elif unit('2:ally:303021005:Orthros').is('alive') and green >= 4 and black == 6:
endTurn()
black = 0
green = 0
elif unit('2:ally:303021005:Orthros').is('alive') and green >= 4:
endTurn()
black += 1
green = 0
elif unit('2:ally:303021005:Orthros').is('dead') and green >= 8 and isTurnMod(2) and var_62 == False:
useSkill(22, 'random') # Pyroclastic Blast (202750): Magic* fire and wind damage (4x, MAG) to all enemies, Inflict 3 random status effects (100%) to all enemies
var_62 = True # unknown flag type
elif unit('2:ally:303021005:Orthros').is('dead') and green >= 8 and black == 6:
endTurn()
black = 0
green = 0
elif unit('2:ally:303021005:Orthros').is('dead') and green >= 8:
endTurn()
black += 1
green = 0
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and sushi == True and olive == False:
useSkill(9, 'random') # Typhon's nose is itchy! (202620): No effect
olive = True # reset next turn
salad = True # persistent
sushi = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and sushi == True and olive == False:
useSkill(9, 'random') # Typhon's nose is itchy! (202620): No effect
olive = True # reset next turn
salad = True # persistent
sushi = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and bacon == True and mango == False:
useSkill(9, 'random') # Typhon's nose is itchy! (202620): No effect
mango = True # reset next turn
salad = True # persistent
bacon = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and bacon == True and mango == False:
useSkill(9, 'random') # Typhon's nose is itchy! (202620): No effect
mango = True # reset next turn
salad = True # persistent
bacon = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and steak == True and lemon == False:
useSkill(9, 'random') # Typhon's nose is itchy! (202620): No effect
lemon = True # reset next turn
salad = True # persistent
steak = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and steak == True and lemon == False:
useSkill(9, 'random') # Typhon's nose is itchy! (202620): No effect
lemon = True # reset next turn
salad = True # persistent
steak = False # persistent
elif sushi == True and olive == False:
useSkill(6, 'random') # Shove (202590): Remove one enemy from the fight for 2 turns
olive = True # reset next turn
sushi = False # persistent
elif bacon == True and mango == False:
useSkill(7, 'random') # Snort (202600): Remove one enemy from the fight
mango = True # reset next turn
bacon = False # persistent
elif steak == True and lemon == False:
useSkill(8, 'random') # Instant Death Snort (202610): [Death], Instant KO (100%) to one enemy
lemon = True # reset next turn
steak = False # persistent
elif unit('2:ally:303021005:Orthros').is('dead') and salad == True and grape == False:
useSkill(19, 'random') # Huge Sneeze (202720): Magic damage (2.3x, MAG) to all enemies
grape = True # reset next turn
elif unit('2:ally:303021005:Orthros').is('dead') and salad == True and melon == False:
useSkill(20, 'random') # Resistance to all ailments has been blown away! (202730): Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from one enemy for 3 turns
melon = True # reset next turn
salad = False # persistent
elif unit('2:ally:303021005:Orthros').is('alive') and white >= 3 and salad == True and guava == False:
wait() # No action
white = 0
guava = True # reset next turn
salad = False # persistent
elif unit('2:ally:303021005:Orthros').is('alive') and salad == True and melon == False and guava == False:
useSkill(10, 'random') # Big Sneeze (202630): Magic damage (1.8x, MAG) to all enemies
melon = True # reset next turn
elif random() <= 0.33 and unit('2:ally:303021005:Orthros').is('alive') and salad == True and guava == False:
useSkill(11, 'random') # Resistance to poison has been blown away! (202640): Remove resistances to Poison from one enemy for 3 turns
white += 1
elif random() <= 0.33 and unit('2:ally:303021005:Orthros').is('alive') and salad == True and guava == False:
useSkill(12, 'random') # Resistance to blind has been blown away! (202650): Remove resistances to Blind from one enemy for 3 turns
white += 1
elif random() <= 0.33 and unit('2:ally:303021005:Orthros').is('alive') and salad == True and guava == False:
useSkill(13, 'random') # Resistance to sleep has been blown away! (202660): Remove resistances to Sleep from one enemy for 3 turns
white += 1
elif random() <= 0.44 and unit('2:ally:303021005:Orthros').is('alive') and salad == True and guava == False:
useSkill(14, 'random') # Resistance to silence has been blown away! (202670): Remove resistances to Silence from one enemy for 3 turns
white += 1
elif random() <= 0.44 and unit('2:ally:303021005:Orthros').is('alive') and salad == True and guava == False:
useSkill(15, 'random') # Resistance to paralysis has been blown away! (202680): Remove resistances to Paralyze from one enemy for 3 turns
white += 1
elif random() <= 0.44 and unit('2:ally:303021005:Orthros').is('alive') and salad == True and guava == False:
useSkill(16, 'random') # Resistance to confusion has been blown away! (202690): Remove resistances to Confusion from one enemy for 3 turns
white += 1
elif random() <= 0.55 and unit('2:ally:303021005:Orthros').is('alive') and salad == True and guava == False:
useSkill(17, 'random') # Resistance to disease has been blown away! (202700): Remove resistances to Disease from one enemy for 3 turns
white += 1
elif unit('2:ally:303021005:Orthros').is('alive') and salad == True and guava == False:
useSkill(18, 'random') # Resistance to stone has been blown away! (202710): Remove resistances to Petrify from one enemy for 3 turns
white += 1
elif random() <= 0.50 and unit('2:ally:303021005:Orthros').is('alive') and green <= 3:
useSkill(1, 'random') # Beat Up (202540): Physical damage (4x, ATK) to one enemy
green += 1
elif unit('2:ally:303021005:Orthros').is('alive') and green <= 3:
useSkill(2, 'random') # Fireball+ (202550): Magic fire damage (4.3x, MAG) to one enemy
green += 1
elif random() <= 0.50 and unit('2:ally:303021005:Orthros').is('dead') and green <= 7:
useSkill(1, 'random') # Beat Up (202540): Physical damage (4x, ATK) to one enemy
green += 1
elif unit('2:ally:303021005:Orthros').is('dead') and green <= 7:
useSkill(2, 'random') # Fireball+ (202550): Magic fire damage (4.3x, MAG) to one enemy
green += 1
elif honey == False and ramen == False and berry == False:
useSkill(3, 'random') # Typhon focused its power! (202560): No effect
green += 1
berry = True # reset next turn
sushi = True # persistent
honey = True # persistent
elif honey == True and ramen == False and berry == False:
useSkill(4, 'random') # Typhon took a deep breath! (202570): No effect
green += 1
berry = True # reset next turn
bacon = True # persistent
ramen = True # persistent
honey = False # persistent
elif honey == False and ramen == True and berry == False:
useSkill(5, 'random') # Typhon took a breath of deadly wind! (202580): No effect
green += 1
berry = True # reset next turn
steak = True # persistent
ramen = False # persistent
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.