Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Scorn of the Lich - GL
##
# Mission 'Scorn of the Lich' (8995801)
# Enemy has first strike!
#
# Battles
# * Lich [+ Lich, Lich]
##
##
# Monster Info
##
#
# Monster Lich (412071000)
# Race Reaper
# Level 99
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 35000000
# MP 50000
# ATK 950
# DEF 330
# MAG 1000
# SPR 280
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -30%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light -30%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+80% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
# Unknown (7) +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
#
# リッチ 真降臨 (100056) [Passive]
#
# Cast What is Undead May Never Die (206860) upon defeat
#
##
#
# 土属性吸収 (100007) [Passive]
#
# Absorb Earth elemental attacks
#
##
#
# 闇属性吸収 (100013) [Passive]
#
# Absorb Dark elemental attacks
#
##
###
# Skills
###
#
# Bone Claws (206570) [Physical]
#
# Physical damage (2.8x, ATK) to one enemy
# Inflict Poison (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Bone Hex (206580) [Magic]
#
# Magic damage (2.9x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Bone Blast (206590) [Magic]
#
# Magic damage (2.2x, MAG) to all enemies
# Reduce SPR by 40% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Surging Plague (206600) [None]
#
# Magic* damage (0.5x, SPR) per turn to all enemies for 5 turns
# Unused parameters: [0,0,0]
# Inflict Disease (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Death (162200) [Magic]
#
# [Death]
# Instant KO (100%) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Regenerate Bones (206620) [None]
#
# Remove ATK, DEF, MAG, SPR, Stop and Charm debuff from caster
# Increase MAG by 15% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Undead Curse (206630) [None]
#
# Magic* damage (2x, MAG) to all enemies
# Inflict Blind and Paralyze (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Fire magic is forming! (206640) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ice magic is forming! (206650) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lightning magic is forming! (206660) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Miasma (206670) [None]
#
# Reduce resistance to Fire, Ice and Lightning by 45% for one turn to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hell Blaze (206680) [None]
#
# Magic* fire damage (2.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hell Freeze (206690) [None]
#
# Magic* ice damage (2.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hell Thunder (206700) [None]
#
# Magic* lightning damage (2.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Cyclone (206710) [Magic]
#
# Magic dark damage (6x, MAG) to all enemies
# Reduce resistance to Dark by 75% for 2 turns to all enemies
# Unused parameters: [1]
# Inflict Stop (100%) for 2 turns on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The one with high vitality... (206720) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The one with stout defense... (206730) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The one with outstanding strength... (206740) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The one with unbreakable spirit... (206750) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The one with incredible magic... (206760) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Defense has been absorbed! (206770) [None]
#
# Reduce DEF by 200% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Strength has been absorbed! (206780) [None]
#
# Reduce ATK by 200% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Spirit has been absorbed! (206790) [None]
#
# Reduce SPR by 200% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Magic has been absorbed! (206800) [None]
#
# Reduce MAG by 200% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Coiling Spirits of Earth and Darkness (206810) [None]
#
# Add Earth and Dark element (100%) to physical attacks for 2 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Silence Enfeeblement (206820) [None]
#
# Remove resistances to Silence from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Silencega (206830) [Magic]
#
# Inflict Silence (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Hell Purge (206840) [None]
#
# Remove all buffs and debuffs from all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wall of Bones (206850) [None]
#
# Reduce physical damage taken by 50% to caster for 3 turns (can not be removed)
# Unused parameters: [1]
# Reduce magic damage taken by 50% to caster for 3 turns (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# What is Undead May Never Die (206860) [None]
#
# Summon リッチ (412071001)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(26, 'random') # Silence Enfeeblement (206820): Remove resistances to Silence from all enemies for 3 turns
elif once():
useSkill(27, 'random') # Silencega (206830): Inflict Silence (100%) on all enemies
elif once():
useSkill(29, 'random') # Wall of Bones (206850): Reduce physical damage taken by 50% to caster for 3 turns (can not be removed), Reduce magic damage taken by 50% to caster for 3 turns (can not be removed)
elif once():
useSkill(16, 'random') # The one with high vitality... (206720): No effect
apple = True # reset next turn
honey = True # persistent
elif green >= 9 and honey == True and guava == False and var_64 == False:
useSkill(5, 'highest HP') # Death (162200): [Death], Instant KO (100%) to one enemy
guava = True # reset next turn
honey = False # persistent
elif green >= 9 and azure == 3 and var_61 == False and ramen == False:
useSkill(28, 'random') # Hell Purge (206840): Remove all buffs and debuffs from all enemies
var_61 = True # unknown flag type
elif green >= 9 and azure == 3 and var_62 == False and ramen == False:
useSkill(26, 'random') # Silence Enfeeblement (206820): Remove resistances to Silence from all enemies for 3 turns
var_62 = True # unknown flag type
elif green >= 9 and azure == 3 and var_63 == False and ramen == False:
useSkill(27, 'random') # Silencega (206830): Inflict Silence (100%) on all enemies
var_63 = True # unknown flag type
elif green >= 9 and azure == 3 and var_67 == False and mauve == 0 and ramen == False:
wait() # No action
var_67 = True # unknown flag type
mauve += 1
ramen = True # persistent
elif green >= 9 and azure == 3 and var_67 == False and mauve == 2 and ramen == False:
wait() # No action
var_67 = True # unknown flag type
mauve += 1
ramen = True # persistent
elif green >= 9 and azure == 3 and var_61 == False and ramen == True:
useSkill(28, 'random') # Hell Purge (206840): Remove all buffs and debuffs from all enemies
var_61 = True # unknown flag type
elif green >= 9 and azure == 3 and var_62 == False and ramen == True:
useSkill(25, 'random') # Coiling Spirits of Earth and Darkness (206810): Add Earth and Dark element (100%) to physical attacks for 2 turns to all enemies
var_63 = True # unknown flag type
var_62 = True # unknown flag type
elif green >= 9 and azure == 3 and var_67 == False and mauve == 3 and ramen == True:
wait() # No action
var_67 = True # unknown flag type
mauve = 0
ramen = False # persistent
elif var_67 == False and green >= 9 and azure == 3 and mauve == 1 and ramen == True:
useSkill(5, 'random') # Death (162200): [Death], Instant KO (100%) to one enemy
var_67 = True # unknown flag type
mauve += 1
ramen = False # persistent
elif random() <= 0.35 and green >= 9 and gourd == False:
useSkill(8, 'random') # Fire magic is forming! (206640): No effect
gourd = True # reset next turn
fries = True # persistent
elif random() <= 0.50 and green >= 9 and gourd == False:
useSkill(9, 'random') # Ice magic is forming! (206650): No effect
gourd = True # reset next turn
sugar = True # persistent
elif green >= 9 and gourd == False:
useSkill(10, 'random') # Lightning magic is forming! (206660): No effect
gourd = True # reset next turn
pizza = True # persistent
elif green >= 9 and isTurnMod(3) and var_64 == False:
useSkill(16, 'random') # The one with high vitality... (206720): No effect
var_64 = True # unknown flag type
honey = True # persistent
elif green >= 9 and sushi == False and bacon == False and var_64 == False:
useSkill(18, 'random') # The one with outstanding strength... (206740): No effect
var_64 = True # unknown flag type
otter = True # reset next turn
sushi = True # persistent
elif green >= 9 and sushi == True and bacon == False and var_64 == False:
useSkill(17, 'random') # The one with stout defense... (206730): No effect
var_64 = True # unknown flag type
tiger = True # reset next turn
bacon = True # persistent
sushi = False # persistent
elif green >= 9 and sushi == False and bacon == True and var_64 == False:
useSkill(20, 'random') # The one with incredible magic... (206760): No effect
var_64 = True # unknown flag type
mouse = True # reset next turn
bacon = True # persistent
sushi = True # persistent
elif green >= 9 and sushi == True and bacon == True and var_64 == False:
useSkill(19, 'random') # The one with unbreakable spirit... (206750): No effect
var_64 = True # unknown flag type
goose = True # reset next turn
bacon = False # persistent
sushi = False # persistent
elif green >= 9 and isTurnMod(4) and var_65 == False:
useSkill(6, 'random') # Regenerate Bones (206620): Remove ATK, DEF, MAG, SPR, Stop and Charm debuff from caster, Increase MAG by 15% for 2 turns to caster
var_65 = True # unknown flag type
pasta = True # persistent
elif green >= 9 and azure == 3:
endTurn()
azure = 0
green = 0
elif green >= 9:
endTurn()
azure += 1
green = 0
elif berry == False and pasta == True:
useSkill(7, 'random') # Undead Curse (206630): Magic* damage (2x, MAG) to all enemies, Inflict Blind and Paralyze (100%) on all enemies
berry = True # reset next turn
pasta = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and peach == False:
wait() # No action
peach = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and peach == False:
wait() # No action
peach = True # reset next turn
elif peach == False and fries == True and isTurnMod(3):
useSkill(11, 'random') # Miasma (206670): Reduce resistance to Fire, Ice and Lightning by 45% for one turn to all enemies
peach = True # reset next turn
elif peach == False and sugar == True and isTurnMod(3):
useSkill(11, 'random') # Miasma (206670): Reduce resistance to Fire, Ice and Lightning by 45% for one turn to all enemies
peach = True # reset next turn
elif peach == False and pizza == True and isTurnMod(3):
useSkill(11, 'random') # Miasma (206670): Reduce resistance to Fire, Ice and Lightning by 45% for one turn to all enemies
peach = True # reset next turn
elif olive == False and otter == True:
useSkill(22, 'highest ATK') # Strength has been absorbed! (206780): Reduce ATK by 200% for 3 turns to one enemy
otter = False # reset next turn
green += 1
olive = True # reset next turn
elif olive == False and tiger == True:
useSkill(21, 'highest DEF') # Defense has been absorbed! (206770): Reduce DEF by 200% for 3 turns to one enemy
tiger = False # reset next turn
green += 1
olive = True # reset next turn
elif mango == False and mouse == True:
useSkill(24, 'highest MAG') # Magic has been absorbed! (206800): Reduce MAG by 200% for 3 turns to one enemy
mouse = False # reset next turn
green += 1
mango = True # reset next turn
elif mango == False and goose == True:
useSkill(23, 'highest SPR') # Spirit has been absorbed! (206790): Reduce SPR by 200% for 3 turns to one enemy
goose = False # reset next turn
green += 1
mango = True # reset next turn
elif lemon == False and fries == True:
useSkill(12, 'random') # Hell Blaze (206680): Magic* fire damage (2.5x, MAG) to all enemies
green += 1
lemon = True # reset next turn
fries = False # persistent
elif grape == False and sugar == True:
useSkill(13, 'random') # Hell Freeze (206690): Magic* ice damage (2.5x, MAG) to all enemies
green += 1
grape = True # reset next turn
sugar = False # persistent
elif melon == False and pizza == True:
useSkill(14, 'random') # Hell Thunder (206700): Magic* lightning damage (2.5x, MAG) to all enemies
green += 1
melon = True # reset next turn
pizza = False # persistent
elif random() <= 0.50 and isTurnMod(2) and var_66 == False:
useSkill(3, 'random') # Bone Blast (206590): Magic damage (2.2x, MAG) to all enemies, Reduce SPR by 40% for 3 turns to all enemies
var_66 = True # unknown flag type
green += 1
elif random() <= 0.50 and green <= 5:
useSkill(1, 'random') # Bone Claws (206570): Physical damage (2.8x, ATK) to one enemy, Inflict Poison (100%) on one enemy
green += 1
elif green <= 5:
useSkill(2, 'random') # Bone Hex (206580): Magic damage (2.9x, MAG) to one enemy
green += 1
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Lich (412071001)
# Race Reaper
# Level 99
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 55000000
# MP 80000
# ATK 965
# DEF 345
# MAG 1015
# SPR 290
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -30%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light -30%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+80% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
# Unknown (7) +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
#
# リッチ 真降臨 (100057) [Passive]
#
# Cast What is Undead May Never Die (206870) upon defeat
#
##
#
# 土属性吸収 (100007) [Passive]
#
# Absorb Earth elemental attacks
#
##
#
# 闇属性吸収 (100013) [Passive]
#
# Absorb Dark elemental attacks
#
##
###
# Skills
###
#
# Bone Claws (206570) [Physical]
#
# Physical damage (2.8x, ATK) to one enemy
# Inflict Poison (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Bone Hex (206580) [Magic]
#
# Magic damage (2.9x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Bone Blast (206590) [Magic]
#
# Magic damage (2.2x, MAG) to all enemies
# Reduce SPR by 40% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Surging Plague (206600) [None]
#
# Magic* damage (0.5x, SPR) per turn to all enemies for 5 turns
# Unused parameters: [0,0,0]
# Inflict Disease (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Kill (206610) [Magic]
#
# Instant KO (100%) to one enemy (ignores death resist)
#
# Sealable + Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Regenerate Bones (206620) [None]
#
# Remove ATK, DEF, MAG, SPR, Stop and Charm debuff from caster
# Increase MAG by 15% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Undead Curse (206630) [None]
#
# Magic* damage (2x, MAG) to all enemies
# Inflict Blind and Paralyze (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Fire magic is forming! (206640) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ice magic is forming! (206650) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lightning magic is forming! (206660) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Miasma (206670) [None]
#
# Reduce resistance to Fire, Ice and Lightning by 45% for one turn to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hell Blaze (208980) [None]
#
# Magic* fire damage (2.55x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hell Freeze (208990) [None]
#
# Magic* ice damage (2.55x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hell Thunder (209000) [None]
#
# Magic* lightning damage (2.55x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Cyclone (206710) [Magic]
#
# Magic dark damage (6x, MAG) to all enemies
# Reduce resistance to Dark by 75% for 2 turns to all enemies
# Unused parameters: [1]
# Inflict Stop (100%) for 2 turns on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The one with high vitality... (206720) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The one with stout defense... (206730) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The one with outstanding strength... (206740) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The one with unbreakable spirit... (206750) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The one with incredible magic... (206760) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Defense has been absorbed! (206770) [None]
#
# Reduce DEF by 200% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Strength has been absorbed! (206780) [None]
#
# Reduce ATK by 200% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Spirit has been absorbed! (206790) [None]
#
# Reduce SPR by 200% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Magic has been absorbed! (206800) [None]
#
# Reduce MAG by 200% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Coiling Spirits of Earth and Darkness (206810) [None]
#
# Add Earth and Dark element (100%) to physical attacks for 2 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Silence Enfeeblement (206820) [None]
#
# Remove resistances to Silence from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Silencega (206830) [Magic]
#
# Inflict Silence (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Hell Purge (206840) [None]
#
# Remove all buffs and debuffs from all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wall of Bones (206850) [None]
#
# Reduce physical damage taken by 50% to caster for 3 turns (can not be removed)
# Unused parameters: [1]
# Reduce magic damage taken by 50% to caster for 3 turns (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# What is Undead May Never Die (206870) [None]
#
# Summon リッチ (412071002)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(26, 'random') # Silence Enfeeblement (206820): Remove resistances to Silence from all enemies for 3 turns
elif once():
useSkill(27, 'random') # Silencega (206830): Inflict Silence (100%) on all enemies
elif once():
useSkill(29, 'random') # Wall of Bones (206850): Reduce physical damage taken by 50% to caster for 3 turns (can not be removed), Reduce magic damage taken by 50% to caster for 3 turns (can not be removed)
elif once():
useSkill(4, 'random') # Surging Plague (206600): Magic* damage (0.5x, SPR) per turn to all enemies for 5 turns, Inflict Disease (100%) on all enemies
elif once():
useSkill(16, 'random') # The one with high vitality... (206720): No effect
apple = True # reset next turn
honey = True # persistent
elif once():
endTurn()
elif once() and unit('1:ally:any').HP < 0.3:
useSkill(29, 'random') # Wall of Bones (206850): Reduce physical damage taken by 50% to caster for 3 turns (can not be removed), Reduce magic damage taken by 50% to caster for 3 turns (can not be removed)
elif once() and unit('1:ally:any').HP < 0.3:
useSkill(4, 'random') # Surging Plague (206600): Magic* damage (0.5x, SPR) per turn to all enemies for 5 turns, Inflict Disease (100%) on all enemies
steak = True # persistent
elif once() and unit('1:ally:any').HP < 0.65 and steak == False:
useSkill(29, 'random') # Wall of Bones (206850): Reduce physical damage taken by 50% to caster for 3 turns (can not be removed), Reduce magic damage taken by 50% to caster for 3 turns (can not be removed)
elif once() and unit('1:ally:any').HP < 0.65 and steak == False:
useSkill(4, 'random') # Surging Plague (206600): Magic* damage (0.5x, SPR) per turn to all enemies for 5 turns, Inflict Disease (100%) on all enemies
elif green >= 9 and honey == True and guava == False and var_64 == False:
useSkill(5, 'highest HP') # Kill (206610): Instant KO (100%) to one enemy (ignores death resist)
guava = True # reset next turn
honey = False # persistent
elif green >= 9 and azure == 3 and var_61 == False and ramen == False:
useSkill(28, 'random') # Hell Purge (206840): Remove all buffs and debuffs from all enemies
var_61 = True # unknown flag type
elif green >= 9 and azure == 3 and var_62 == False and ramen == False:
useSkill(26, 'random') # Silence Enfeeblement (206820): Remove resistances to Silence from all enemies for 3 turns
var_62 = True # unknown flag type
elif green >= 9 and azure == 3 and var_63 == False and ramen == False:
useSkill(27, 'random') # Silencega (206830): Inflict Silence (100%) on all enemies
var_63 = True # unknown flag type
elif green >= 9 and azure == 3 and var_67 == False and mauve == 0 and ramen == False:
wait() # No action
var_67 = True # unknown flag type
mauve += 1
ramen = True # persistent
elif var_67 == False and green >= 9 and azure == 3 and mauve == 2 and ramen == False:
useSkill(5, 'highest ATK') # Kill (206610): Instant KO (100%) to one enemy (ignores death resist)
var_67 = True # unknown flag type
mauve += 1
ramen = True # persistent
elif green >= 9 and azure == 3 and var_61 == False and ramen == True:
useSkill(28, 'random') # Hell Purge (206840): Remove all buffs and debuffs from all enemies
var_61 = True # unknown flag type
elif green >= 9 and azure == 3 and var_62 == False and ramen == True:
useSkill(25, 'random') # Coiling Spirits of Earth and Darkness (206810): Add Earth and Dark element (100%) to physical attacks for 2 turns to all enemies
var_63 = True # unknown flag type
var_62 = True # unknown flag type
elif var_67 == False and green >= 9 and azure == 3 and mauve == 1 and ramen == True:
useSkill(5, 'random') # Kill (206610): Instant KO (100%) to one enemy (ignores death resist)
var_67 = True # unknown flag type
mauve += 1
ramen = False # persistent
elif green >= 9 and azure == 3 and var_67 == False and mauve == 3 and ramen == True:
wait('highest MAG') # No action
var_67 = True # unknown flag type
mauve = 0
ramen = False # persistent
elif random() <= 0.35 and green >= 9 and gourd == False:
useSkill(8, 'random') # Fire magic is forming! (206640): No effect
gourd = True # reset next turn
fries = True # persistent
elif random() <= 0.50 and green >= 9 and gourd == False:
useSkill(9, 'random') # Ice magic is forming! (206650): No effect
gourd = True # reset next turn
sugar = True # persistent
elif green >= 9 and gourd == False:
useSkill(10, 'random') # Lightning magic is forming! (206660): No effect
gourd = True # reset next turn
pizza = True # persistent
elif green >= 9 and isTurnMod(3) and var_64 == False:
useSkill(16, 'random') # The one with high vitality... (206720): No effect
var_64 = True # unknown flag type
honey = True # persistent
elif green >= 9 and sushi == False and bacon == False and var_64 == False:
useSkill(18, 'random') # The one with outstanding strength... (206740): No effect
var_64 = True # unknown flag type
otter = True # reset next turn
sushi = True # persistent
elif green >= 9 and sushi == True and bacon == False and var_64 == False:
useSkill(17, 'random') # The one with stout defense... (206730): No effect
var_64 = True # unknown flag type
tiger = True # reset next turn
bacon = True # persistent
sushi = False # persistent
elif green >= 9 and sushi == False and bacon == True and var_64 == False:
useSkill(20, 'random') # The one with incredible magic... (206760): No effect
var_64 = True # unknown flag type
mouse = True # reset next turn
bacon = True # persistent
sushi = True # persistent
elif green >= 9 and sushi == True and bacon == True and var_64 == False:
useSkill(19, 'random') # The one with unbreakable spirit... (206750): No effect
var_64 = True # unknown flag type
goose = True # reset next turn
bacon = False # persistent
sushi = False # persistent
elif green >= 9 and isTurnMod(4) and var_65 == False:
useSkill(6, 'random') # Regenerate Bones (206620): Remove ATK, DEF, MAG, SPR, Stop and Charm debuff from caster, Increase MAG by 15% for 2 turns to caster
var_65 = True # unknown flag type
pasta = True # persistent
elif green >= 9 and azure == 3:
endTurn()
azure = 0
green = 0
elif green >= 9:
endTurn()
azure += 1
green = 0
elif berry == False and pasta == True:
useSkill(7, 'random') # Undead Curse (206630): Magic* damage (2x, MAG) to all enemies, Inflict Blind and Paralyze (100%) on all enemies
berry = True # reset next turn
pasta = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and peach == False:
useSkill(15, 'random') # Dark Cyclone (206710): Magic dark damage (6x, MAG) to all enemies, Reduce resistance to Dark by 75% for 2 turns to all enemies, Inflict Stop (100%) for 2 turns on all enemies
peach = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and peach == False:
useSkill(15, 'random') # Dark Cyclone (206710): Magic dark damage (6x, MAG) to all enemies, Reduce resistance to Dark by 75% for 2 turns to all enemies, Inflict Stop (100%) for 2 turns on all enemies
peach = True # reset next turn
elif peach == False and fries == True and isTurnMod(2):
useSkill(11, 'random') # Miasma (206670): Reduce resistance to Fire, Ice and Lightning by 45% for one turn to all enemies
peach = True # reset next turn
elif peach == False and sugar == True and isTurnMod(2):
useSkill(11, 'random') # Miasma (206670): Reduce resistance to Fire, Ice and Lightning by 45% for one turn to all enemies
peach = True # reset next turn
elif peach == False and pizza == True and isTurnMod(2):
useSkill(11, 'random') # Miasma (206670): Reduce resistance to Fire, Ice and Lightning by 45% for one turn to all enemies
peach = True # reset next turn
elif olive == False and otter == True:
useSkill(22, 'highest ATK') # Strength has been absorbed! (206780): Reduce ATK by 200% for 3 turns to one enemy
otter = False # reset next turn
green += 1
olive = True # reset next turn
elif olive == False and tiger == True:
useSkill(21, 'highest DEF') # Defense has been absorbed! (206770): Reduce DEF by 200% for 3 turns to one enemy
tiger = False # reset next turn
green += 1
olive = True # reset next turn
elif mango == False and mouse == True:
useSkill(24, 'highest MAG') # Magic has been absorbed! (206800): Reduce MAG by 200% for 3 turns to one enemy
mouse = False # reset next turn
green += 1
mango = True # reset next turn
elif mango == False and goose == True:
useSkill(23, 'highest SPR') # Spirit has been absorbed! (206790): Reduce SPR by 200% for 3 turns to one enemy
goose = False # reset next turn
green += 1
mango = True # reset next turn
elif lemon == False and fries == True:
useSkill(12, 'random') # Hell Blaze (208980): Magic* fire damage (2.55x, MAG) to all enemies
green += 1
lemon = True # reset next turn
fries = False # persistent
elif grape == False and sugar == True:
useSkill(13, 'random') # Hell Freeze (208990): Magic* ice damage (2.55x, MAG) to all enemies
green += 1
grape = True # reset next turn
sugar = False # persistent
elif melon == False and pizza == True:
useSkill(14, 'random') # Hell Thunder (209000): Magic* lightning damage (2.55x, MAG) to all enemies
green += 1
melon = True # reset next turn
pizza = False # persistent
elif random() <= 0.50 and isTurnMod(2) and var_66 == False:
useSkill(3, 'random') # Bone Blast (206590): Magic damage (2.2x, MAG) to all enemies, Reduce SPR by 40% for 3 turns to all enemies
var_66 = True # unknown flag type
green += 1
elif random() <= 0.50 and unit('1:ally:any').HP < 0.5 and var_68 == False and isTurnMod(4):
useSkill(3, 'random') # Bone Blast (206590): Magic damage (2.2x, MAG) to all enemies, Reduce SPR by 40% for 3 turns to all enemies
var_68 = True # unknown flag type
green += 1
elif random() <= 0.50 and green <= 5:
useSkill(1, 'random') # Bone Claws (206570): Physical damage (2.8x, ATK) to one enemy, Inflict Poison (100%) on one enemy
green += 1
elif green <= 5:
useSkill(2, 'random') # Bone Hex (206580): Magic damage (2.9x, MAG) to one enemy
green += 1
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Lich (412071002)
# Race Reaper
# Level 99
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 75000000
# MP 100000
# ATK 980
# DEF 360
# MAG 1030
# SPR 300
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -30%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light -30%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+80% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
# Unknown (7) +
#
###
###
# Passives
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
#
# 土属性吸収 (100007) [Passive]
#
# Absorb Earth elemental attacks
#
##
#
# 闇属性吸収 (100013) [Passive]
#
# Absorb Dark elemental attacks
#
##
###
# Skills
###
#
# Bone Claws (206570) [Physical]
#
# Physical damage (2.8x, ATK) to one enemy
# Inflict Poison (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Bone Hex (206580) [Magic]
#
# Magic damage (2.9x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Bone Blast (206590) [Magic]
#
# Magic damage (2.2x, MAG) to all enemies
# Reduce SPR by 40% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Surging Plague (206600) [None]
#
# Magic* damage (0.5x, SPR) per turn to all enemies for 5 turns
# Unused parameters: [0,0,0]
# Inflict Disease (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Kill (206610) [Magic]
#
# Instant KO (100%) to one enemy (ignores death resist)
#
# Sealable + Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Regenerate Bones (206620) [None]
#
# Remove ATK, DEF, MAG, SPR, Stop and Charm debuff from caster
# Increase MAG by 15% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Undead Curse (206630) [None]
#
# Magic* damage (2x, MAG) to all enemies
# Inflict Blind and Paralyze (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Fire magic is forming! (206640) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ice magic is forming! (206650) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lightning magic is forming! (206660) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Miasma (206670) [None]
#
# Reduce resistance to Fire, Ice and Lightning by 45% for one turn to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hell Blaze (209010) [None]
#
# Magic* fire damage (2.6x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hell Freeze (209020) [None]
#
# Magic* ice damage (2.6x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hell Thunder (209030) [None]
#
# Magic* lightning damage (2.6x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Cyclone (206710) [Magic]
#
# Magic dark damage (6x, MAG) to all enemies
# Reduce resistance to Dark by 75% for 2 turns to all enemies
# Unused parameters: [1]
# Inflict Stop (100%) for 2 turns on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The one with high vitality... (206720) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The one with stout defense... (206730) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The one with outstanding strength... (206740) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The one with unbreakable spirit... (206750) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The one with incredible magic... (206760) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Defense has been absorbed! (206770) [None]
#
# Reduce DEF by 200% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Strength has been absorbed! (206780) [None]
#
# Reduce ATK by 200% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Spirit has been absorbed! (206790) [None]
#
# Reduce SPR by 200% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Magic has been absorbed! (206800) [None]
#
# Reduce MAG by 200% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Coiling Spirits of Earth and Darkness (206810) [None]
#
# Add Earth and Dark element (100%) to physical attacks for 2 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Silence Enfeeblement (206820) [None]
#
# Remove resistances to Silence from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Silencega (206830) [Magic]
#
# Inflict Silence (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Hell Purge (206840) [None]
#
# Remove all buffs and debuffs from all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wall of Bones (206850) [None]
#
# Reduce physical damage taken by 50% to caster for 3 turns (can not be removed)
# Unused parameters: [1]
# Reduce magic damage taken by 50% to caster for 3 turns (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(26, 'random') # Silence Enfeeblement (206820): Remove resistances to Silence from all enemies for 3 turns
elif once():
useSkill(27, 'random') # Silencega (206830): Inflict Silence (100%) on all enemies
elif once():
useSkill(29, 'random') # Wall of Bones (206850): Reduce physical damage taken by 50% to caster for 3 turns (can not be removed), Reduce magic damage taken by 50% to caster for 3 turns (can not be removed)
elif once():
useSkill(4, 'random') # Surging Plague (206600): Magic* damage (0.5x, SPR) per turn to all enemies for 5 turns, Inflict Disease (100%) on all enemies
elif once():
useSkill(16, 'random') # The one with high vitality... (206720): No effect
apple = True # reset next turn
honey = True # persistent
elif once():
endTurn()
elif once() and unit('1:ally:any').HP < 0.3:
useSkill(29, 'random') # Wall of Bones (206850): Reduce physical damage taken by 50% to caster for 3 turns (can not be removed), Reduce magic damage taken by 50% to caster for 3 turns (can not be removed)
elif once() and unit('1:ally:any').HP < 0.3:
useSkill(4, 'random') # Surging Plague (206600): Magic* damage (0.5x, SPR) per turn to all enemies for 5 turns, Inflict Disease (100%) on all enemies
steak = True # persistent
elif once() and unit('1:ally:any').HP < 0.3:
useSkill(5, 'highest ATK') # Kill (206610): Instant KO (100%) to one enemy (ignores death resist)
steak = True # persistent
elif once() and unit('1:ally:any').HP < 0.65 and steak == False:
useSkill(29, 'random') # Wall of Bones (206850): Reduce physical damage taken by 50% to caster for 3 turns (can not be removed), Reduce magic damage taken by 50% to caster for 3 turns (can not be removed)
elif once() and unit('1:ally:any').HP < 0.65 and steak == False:
useSkill(4, 'random') # Surging Plague (206600): Magic* damage (0.5x, SPR) per turn to all enemies for 5 turns, Inflict Disease (100%) on all enemies
elif once() and unit('1:ally:any').HP < 0.65 and steak == False:
useSkill(5, 'highest MAG') # Kill (206610): Instant KO (100%) to one enemy (ignores death resist)
elif green >= 10 and honey == True and guava == False and var_64 == False:
useSkill(5, 'highest HP') # Kill (206610): Instant KO (100%) to one enemy (ignores death resist)
guava = True # reset next turn
honey = False # persistent
elif green >= 10 and azure == 3 and var_61 == False and ramen == False:
useSkill(28, 'random') # Hell Purge (206840): Remove all buffs and debuffs from all enemies
var_61 = True # unknown flag type
elif green >= 10 and azure == 3 and var_62 == False and ramen == False:
useSkill(26, 'random') # Silence Enfeeblement (206820): Remove resistances to Silence from all enemies for 3 turns
var_62 = True # unknown flag type
elif green >= 10 and azure == 3 and var_63 == False and ramen == False:
useSkill(27, 'random') # Silencega (206830): Inflict Silence (100%) on all enemies
var_63 = True # unknown flag type
elif green >= 10 and azure == 3 and var_67 == False and ramen == False:
useSkill(5, 'highest MAG') # Kill (206610): Instant KO (100%) to one enemy (ignores death resist)
var_67 = True # unknown flag type
ramen = True # persistent
elif green >= 10 and azure == 3 and var_61 == False and ramen == True:
useSkill(28, 'random') # Hell Purge (206840): Remove all buffs and debuffs from all enemies
var_61 = True # unknown flag type
elif green >= 10 and azure == 3 and var_62 == False and ramen == True:
useSkill(25, 'random') # Coiling Spirits of Earth and Darkness (206810): Add Earth and Dark element (100%) to physical attacks for 2 turns to all enemies
var_63 = True # unknown flag type
var_62 = True # unknown flag type
elif green >= 10 and azure == 3 and var_67 == False and ramen == True:
useSkill(5, 'highest ATK') # Kill (206610): Instant KO (100%) to one enemy (ignores death resist)
var_67 = True # unknown flag type
ramen = False # persistent
elif random() <= 0.35 and green >= 10 and gourd == False:
useSkill(8, 'random') # Fire magic is forming! (206640): No effect
gourd = True # reset next turn
fries = True # persistent
elif random() <= 0.50 and green >= 10 and gourd == False:
useSkill(9, 'random') # Ice magic is forming! (206650): No effect
gourd = True # reset next turn
sugar = True # persistent
elif green >= 10 and gourd == False:
useSkill(10, 'random') # Lightning magic is forming! (206660): No effect
gourd = True # reset next turn
pizza = True # persistent
elif random() <= 0.35 and green >= 10 and var_69 == False and pizza == False:
useSkill(10, 'random') # Lightning magic is forming! (206660): No effect
var_69 = True # unknown flag type
pizza = True # persistent
elif random() <= 0.50 and green >= 10 and var_69 == False and sugar == False:
useSkill(9, 'random') # Ice magic is forming! (206650): No effect
var_69 = True # unknown flag type
sugar = True # persistent
elif green >= 10 and var_69 == False and fries == False:
useSkill(8, 'random') # Fire magic is forming! (206640): No effect
var_69 = True # unknown flag type
fries = True # persistent
elif green >= 10 and isTurnMod(3) and var_64 == False:
useSkill(16, 'random') # The one with high vitality... (206720): No effect
var_64 = True # unknown flag type
honey = True # persistent
elif green >= 10 and sushi == False and bacon == False and var_64 == False:
useSkill(18, 'random') # The one with outstanding strength... (206740): No effect
var_64 = True # unknown flag type
otter = True # reset next turn
sushi = True # persistent
elif green >= 10 and sushi == True and bacon == False and var_64 == False:
useSkill(17, 'random') # The one with stout defense... (206730): No effect
var_64 = True # unknown flag type
tiger = True # reset next turn
bacon = True # persistent
sushi = False # persistent
elif green >= 10 and sushi == False and bacon == True and var_64 == False:
useSkill(20, 'random') # The one with incredible magic... (206760): No effect
var_64 = True # unknown flag type
mouse = True # reset next turn
bacon = True # persistent
sushi = True # persistent
elif green >= 10 and sushi == True and bacon == True and var_64 == False:
useSkill(19, 'random') # The one with unbreakable spirit... (206750): No effect
var_64 = True # unknown flag type
goose = True # reset next turn
bacon = False # persistent
sushi = False # persistent
elif green >= 10 and isTurnMod(4) and var_65 == False:
useSkill(6, 'random') # Regenerate Bones (206620): Remove ATK, DEF, MAG, SPR, Stop and Charm debuff from caster, Increase MAG by 15% for 2 turns to caster
var_65 = True # unknown flag type
pasta = True # persistent
elif green >= 10 and azure == 3:
endTurn()
azure = 0
green = 0
elif green >= 10:
endTurn()
azure += 1
green = 0
elif berry == False and pasta == True:
useSkill(7, 'random') # Undead Curse (206630): Magic* damage (2x, MAG) to all enemies, Inflict Blind and Paralyze (100%) on all enemies
berry = True # reset next turn
pasta = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and peach == False:
useSkill(15, 'random') # Dark Cyclone (206710): Magic dark damage (6x, MAG) to all enemies, Reduce resistance to Dark by 75% for 2 turns to all enemies, Inflict Stop (100%) for 2 turns on all enemies
peach = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and peach == False:
useSkill(15, 'random') # Dark Cyclone (206710): Magic dark damage (6x, MAG) to all enemies, Reduce resistance to Dark by 75% for 2 turns to all enemies, Inflict Stop (100%) for 2 turns on all enemies
peach = True # reset next turn
elif peach == False and fries == True:
useSkill(11, 'random') # Miasma (206670): Reduce resistance to Fire, Ice and Lightning by 45% for one turn to all enemies
peach = True # reset next turn
elif peach == False and sugar == True:
useSkill(11, 'random') # Miasma (206670): Reduce resistance to Fire, Ice and Lightning by 45% for one turn to all enemies
peach = True # reset next turn
elif peach == False and pizza == True:
useSkill(11, 'random') # Miasma (206670): Reduce resistance to Fire, Ice and Lightning by 45% for one turn to all enemies
peach = True # reset next turn
elif olive == False and otter == True:
useSkill(22, 'highest ATK') # Strength has been absorbed! (206780): Reduce ATK by 200% for 3 turns to one enemy
otter = False # reset next turn
green += 1
olive = True # reset next turn
elif olive == False and tiger == True:
useSkill(21, 'highest DEF') # Defense has been absorbed! (206770): Reduce DEF by 200% for 3 turns to one enemy
tiger = False # reset next turn
green += 1
olive = True # reset next turn
elif mango == False and mouse == True:
useSkill(24, 'highest MAG') # Magic has been absorbed! (206800): Reduce MAG by 200% for 3 turns to one enemy
mouse = False # reset next turn
green += 1
mango = True # reset next turn
elif mango == False and goose == True:
useSkill(23, 'highest SPR') # Spirit has been absorbed! (206790): Reduce SPR by 200% for 3 turns to one enemy
goose = False # reset next turn
green += 1
mango = True # reset next turn
elif lemon == False and fries == True:
useSkill(12, 'random') # Hell Blaze (209010): Magic* fire damage (2.6x, MAG) to all enemies
green += 1
lemon = True # reset next turn
fries = False # persistent
elif grape == False and sugar == True:
useSkill(13, 'random') # Hell Freeze (209020): Magic* ice damage (2.6x, MAG) to all enemies
green += 1
grape = True # reset next turn
sugar = False # persistent
elif melon == False and pizza == True:
useSkill(14, 'random') # Hell Thunder (209030): Magic* lightning damage (2.6x, MAG) to all enemies
green += 1
melon = True # reset next turn
pizza = False # persistent
elif lemon == False and fries == True:
useSkill(12, 'random') # Hell Blaze (209010): Magic* fire damage (2.6x, MAG) to all enemies
green += 1
lemon = True # reset next turn
fries = False # persistent
elif grape == False and sugar == True:
useSkill(13, 'random') # Hell Freeze (209020): Magic* ice damage (2.6x, MAG) to all enemies
green += 1
grape = True # reset next turn
sugar = False # persistent
elif melon == False and pizza == True:
useSkill(14, 'random') # Hell Thunder (209030): Magic* lightning damage (2.6x, MAG) to all enemies
green += 1
melon = True # reset next turn
pizza = False # persistent
elif random() <= 0.50 and var_66 == False:
useSkill(3, 'random') # Bone Blast (206590): Magic damage (2.2x, MAG) to all enemies, Reduce SPR by 40% for 3 turns to all enemies
var_66 = True # unknown flag type
green += 1
elif random() <= 0.50 and unit('1:ally:any').HP < 0.6 and var_68 == False and isTurnMod(3):
useSkill(3, 'random') # Bone Blast (206590): Magic damage (2.2x, MAG) to all enemies, Reduce SPR by 40% for 3 turns to all enemies
var_68 = True # unknown flag type
green += 1
elif random() <= 0.50 and green <= 6:
useSkill(1, 'random') # Bone Claws (206570): Physical damage (2.8x, ATK) to one enemy, Inflict Poison (100%) on one enemy
green += 1
elif green <= 6:
useSkill(2, 'random') # Bone Hex (206580): Magic damage (2.9x, MAG) to one enemy
green += 1
else:
attack('random')
green += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.