Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created January 2, 2020 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aEnigmatic/b4028f525dbeef9bbe10b8c59df7b416 to your computer and use it in GitHub Desktop.
Save aEnigmatic/b4028f525dbeef9bbe10b8c59df7b416 to your computer and use it in GitHub Desktop.
Defiance of Fate - The Lightning Tyrant
##
# Mission 'Defiance of Fate - The Lightning Tyrant' (9960101)
# BattleScript: 900000037
#
# Battles
# * Essence of Despair
# * Maw of Malice
# * Tel-Fulsanis, Red Sigil, Red Sigil [+ Red Sigil (max 999), Red Sigil (max 999), Blue Sigil (max 999), Blue Sigil (max 999)]
##
##
# Monster Info
##
#
# Monster Essence of Despair (900010778)
# Race Demon
# Level 100
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 500000000
# MP 100000
# ATK 400
# DEF 850
# MAG 300
# SPR 200
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 100%
# Lightning 100%
# Water 100%
# Wind 100%
# Earth 100%
# Light 100%
# Dark 100%
# Non-Elemental 80%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# Undying Force (900477) [None]
#
# Increase DEF and SPR by 100% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Killing Stance (900478) [None]
#
# Increase ATK and MAG by 100% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Foul Miasma (900479) [Magic]
#
# Inflict Poison (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Black Miasma (900480) [Magic]
#
# Inflict Blind (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Miasma (900481) [Magic]
#
# Inflict Confusion (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ethereal Barrier (900482) [None]
#
# Increase resistance to all elements by 50% for one turn to caster
# Unused parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Mystic Barricade (900483) [None]
#
# Reduce magic damage taken by 50% to caster for one turn (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hardened Skin (900484) [None]
#
# Reduce physical damage taken by 50% to caster for one turn (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Storm (900485) [Physical]
#
# Physical dark damage (8x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Event Horizon (900486) [Magic]
#
# Magic dark damage (8x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Avenging Bite (900487) [Physical]
#
# Physical damage (40x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Diabolical Strike (900488) [Physical]
#
# Physical damage (12x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Depression (900489) [Physical]
#
# Physical damage (10x * 2 = 20x, ATK) to all enemies (ignore cover)
# Reduce resistance to Dark by 100% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Unholy Screech (900490) [Physical]
#
# Fixed* damage (5000) to all enemies
#
# Sealable - Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Demonic Gaze (900491) [Physical]
#
# Fixed* damage (10000) to one enemy
#
# Sealable - Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Mad Rampage (900492) [Physical]
#
# Physical damage (12x * 2 = 24x, ATK) to all enemies (ignore cover)
# Reduce resistance to Fire by 300% for one turn to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Broken Mind (900493) [None]
#
# Hybrid* damage (5x, ATK & MAG) as MP drain (50%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Incantation Blast (900494) [Magic]
#
# Magic damage (16x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.50 and isTurnMod(3) and apple == False and white >= 4:
useSkill(1, 'random') # Undying Force (900477): Increase DEF and SPR by 100% for 2 turns to caster
apple = True # reset next turn
elif isTurnMod(3) and apple == False and white >= 4:
useSkill(2, 'random') # Killing Stance (900478): Increase ATK and MAG by 100% for 2 turns to caster
apple = True # reset next turn
honey = True # persistent
elif random() <= 0.10 and self.HP < 0.5 and lemon == False and white >= 4:
useSkill(2, 'random') # Killing Stance (900478): Increase ATK and MAG by 100% for 2 turns to caster
lemon = True # reset next turn
honey = True # persistent
elif white >= 9:
endTurn()
white = 0
elif sushi == True:
endTurn()
elif self.HP < 0.01 and sushi == False:
useSkill(17, 'random') # Broken Mind (900493): Hybrid* damage (5x, ATK & MAG) as MP drain (50%) to all enemies
sushi = True # persistent
elif apple == False and honey == True:
useSkill(13, 'random') # Dark Depression (900489): Physical damage (10x * 2 = 20x, ATK) to all enemies (ignore cover), Reduce resistance to Dark by 100% for 3 turns to all enemies
apple = True # reset next turn
honey = False # persistent
elif green >= 4 and green < 9 and berry == False:
useSkill(3, 'random') # Foul Miasma (900479): Inflict Poison (100%) on all enemies
green += 1
berry = True # reset next turn
elif random() <= 0.05 and green >= 4 and green < 9 and peach == False:
useSkill(4, 'random') # Black Miasma (900480): Inflict Blind (100%) on all enemies
green += 1
peach = True # reset next turn
elif random() <= 0.05 and green >= 4 and green < 9 and olive == False:
useSkill(5, 'random') # Chaotic Miasma (900481): Inflict Confusion (100%) on all enemies
green += 1
olive = True # reset next turn
elif green >= 8 and green < 16 and berry == False:
useSkill(4, 'random') # Black Miasma (900480): Inflict Blind (100%) on all enemies
green += 1
berry = True # reset next turn
elif random() <= 0.03 and green >= 8 and green < 16:
useSkill(11, 'random') # Avenging Bite (900487): Physical damage (40x, ATK) to one enemy
white += 1
elif random() <= 0.05 and green >= 8 and green < 16 and peach == False:
useSkill(15, 'random') # Demonic Gaze (900491): Fixed* damage (10000) to one enemy
peach = True # reset next turn
ramen = True # persistent
elif random() <= 0.01 and green >= 8 and green < 16 and olive == False:
useSkill(16, 'random') # Mad Rampage (900492): Physical damage (12x * 2 = 24x, ATK) to all enemies (ignore cover), Reduce resistance to Fire by 300% for one turn to caster
green = 0
olive = True # reset next turn
elif green >= 15 and berry == False:
useSkill(5, 'random') # Chaotic Miasma (900481): Inflict Confusion (100%) on all enemies
green += 1
berry = True # reset next turn
elif random() <= 0.10 and green >= 15:
useSkill(11, 'random') # Avenging Bite (900487): Physical damage (40x, ATK) to one enemy
white += 1
elif random() <= 0.05 and green >= 15 and peach == False:
useSkill(15, 'random') # Demonic Gaze (900491): Fixed* damage (10000) to one enemy
peach = True # reset next turn
ramen = True # persistent
elif random() <= 0.30 and green >= 15 and olive == False:
useSkill(16, 'random') # Mad Rampage (900492): Physical damage (12x * 2 = 24x, ATK) to all enemies (ignore cover), Reduce resistance to Fire by 300% for one turn to caster
green = 0
olive = True # reset next turn
elif peach == False and ramen == True:
useSkill(14, 'random') # Unholy Screech (900490): Fixed* damage (5000) to all enemies
peach = True # reset next turn
ramen = False # persistent
elif random() <= 0.33 and self.HP < 0.5 and mango == False:
useSkill(6, 'random') # Ethereal Barrier (900482): Increase resistance to all elements by 50% for one turn to caster
mango = True # reset next turn
elif random() <= 0.66 and self.HP < 0.5 and mango == False:
useSkill(7, 'random') # Mystic Barricade (900483): Reduce magic damage taken by 50% to caster for one turn (can not be removed)
mango = True # reset next turn
elif self.HP < 0.5 and mango == False:
useSkill(8, 'random') # Hardened Skin (900484): Reduce physical damage taken by 50% to caster for one turn (can not be removed)
mango = True # reset next turn
elif random() <= 0.03 and self.HP < 0.5:
useSkill(9, 'random') # Dark Storm (900485): Physical dark damage (8x, ATK) to all enemies
white += 1
green += 1
elif random() <= 0.10 and self.HP < 0.5:
useSkill(13, 'random') # Dark Depression (900489): Physical damage (10x * 2 = 20x, ATK) to all enemies (ignore cover), Reduce resistance to Dark by 100% for 3 turns to all enemies
white += 1
elif random() <= 0.10 and self.HP < 0.5:
useSkill(10, 'random') # Event Horizon (900486): Magic dark damage (8x, MAG) to all enemies
white += 1
green += 1
elif random() <= 0.20 and self.HP < 0.5:
useSkill(12, 'random') # Diabolical Strike (900488): Physical damage (12x, ATK) to one enemy
white += 1
green += 1
elif random() <= 0.15 and self.HP < 0.5:
useSkill(18, 'random') # Incantation Blast (900494): Magic damage (16x, MAG) to all enemies
white += 1
elif random() <= 0.03 and self.HP > 0.5:
useSkill(9, 'random') # Dark Storm (900485): Physical dark damage (8x, ATK) to all enemies
white += 1
green += 1
elif random() <= 0.05 and self.HP > 0.5:
useSkill(13, 'random') # Dark Depression (900489): Physical damage (10x * 2 = 20x, ATK) to all enemies (ignore cover), Reduce resistance to Dark by 100% for 3 turns to all enemies
white += 1
elif random() <= 0.05 and self.HP > 0.5:
useSkill(10, 'random') # Event Horizon (900486): Magic dark damage (8x, MAG) to all enemies
white += 1
green += 1
elif random() <= 0.20 and self.HP > 0.5:
useSkill(12, 'random') # Diabolical Strike (900488): Physical damage (12x, ATK) to one enemy
white += 1
green += 1
else:
attack('random')
white += 1
##
# Monster Info
##
#
# Monster Maw of Malice (900010779)
# Race Demon
# Level 100
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 300000000
# MP 100000
# ATK 250
# DEF 100
# MAG 300
# SPR 850
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice 100%
# Lightning 100%
# Water 100%
# Wind 50%
# Earth 100%
# Light 100%
# Dark 100%
# Non-Elemental 80%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# Undying Force II (900497) [None]
#
# Increase DEF and SPR by 200% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Killing Stance II (900498) [None]
#
# Increase ATK and MAG by 200% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Foul Miasma (900479) [Magic]
#
# Inflict Poison (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Black Miasma (900480) [Magic]
#
# Inflict Blind (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Miasma (900481) [Magic]
#
# Inflict Confusion (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Paralyzing Miasma (900502) [Magic]
#
# Inflict Paralyze (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Immovable Miasma (900503) [Magic]
#
# Inflict Petrify (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ethereal Barrier (900482) [None]
#
# Increase resistance to all elements by 50% for one turn to caster
# Unused parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Mystic Barricade (900483) [None]
#
# Reduce magic damage taken by 50% to caster for one turn (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hardened Skin (900484) [None]
#
# Reduce physical damage taken by 50% to caster for one turn (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Storm (900485) [Physical]
#
# Physical dark damage (8x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flame Storm (900508) [Physical]
#
# Physical fire damage (8x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Event Horizon (900486) [Magic]
#
# Magic dark damage (8x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Molten Core (900510) [Magic]
#
# Magic fire damage (8x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Avenging Bite (900487) [Physical]
#
# Physical damage (40x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Diabolical Strike (900488) [Physical]
#
# Physical damage (12x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Depression (900489) [Physical]
#
# Physical damage (10x * 2 = 20x, ATK) to all enemies (ignore cover)
# Reduce resistance to Dark by 100% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Molten Blast (900514) [Physical]
#
# Physical damage (10x * 2 = 20x, ATK) to all enemies (ignore cover)
# Reduce resistance to Fire by 100% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Unholy Screech (900490) [Physical]
#
# Fixed* damage (5000) to all enemies
#
# Sealable - Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Demonic Gaze (900491) [Physical]
#
# Fixed* damage (10000) to one enemy
#
# Sealable - Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Broken Mind (900493) [None]
#
# Hybrid* damage (5x, ATK & MAG) as MP drain (50%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Unholy Purge (900518) [None]
#
# Remove all debuffs from caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Degeneration (900519) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce ATK by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Terror (900520) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce MAG by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Despair (900521) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce DEF by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Black Misery (900522) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce SPR by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The enemy gazes at you... (900523) [Magic]
#
# Increase chance of being targeted by 200% for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dimensional Void (900524) [Magic]
#
# Magic damage (20x * 2 = 40x, MAG) to all enemies (ignore reflect)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Diabolical Judgement (900525) [Magic]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Disease (900579) [Magic]
#
# Remove resistances to Disease from all enemies for one turn
# Inflict Disease (100%) on all enemies
# Unknown parameters: [1]
# Instant KO (100%) to caster (ignores death resist)
# Unknown parameters: [1,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Merciless Death (900527) [None]
#
# Instant KO (100%) to all enemies (ignores death resist)
# Unknown parameters: [10,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if bacon == True and var_90 == False:
wait() # No action
var_90 = True # unknown flag type
mauve += 1
elif unit('5:enemy:any').usedLastTurn('limitburst') and bacon == True and fries == False and var_89 == False:
wait() # No action
var_89 = True # unknown flag type
black += 1
elif bacon == True and fries == False and black >= 4:
wait() # No action
black = 0
fries = True # persistent
elif bacon == False and self.HP < 0.05:
wait() # No action
bacon = True # persistent
elif salad == True:
endTurn()
elif bacon == True and fries == True and steak == False and self.HP < 0.01:
endTurn()
steak = True # persistent
elif bacon == True and salad == False and self.HP < 0.01:
useSkill(30, 'random') # Disease (900579): Remove resistances to Disease from all enemies for one turn, Inflict Disease (100%) on all enemies, Instant KO (100%) to caster (ignores death resist)
salad = True # persistent
elif bacon == True and mauve >= 8:
useSkill(31, 'random') # Merciless Death (900527): Instant KO (100%) to all enemies (ignores death resist)
mauve = 0
bacon = False # persistent
elif random() <= 0.50 and isTurnMod(3) and berry == False and white >= 4:
useSkill(1, 'random') # Undying Force II (900497): Increase DEF and SPR by 200% for 2 turns to caster
berry = True # reset next turn
elif isTurnMod(3) and berry == False and white >= 4:
useSkill(2, 'random') # Killing Stance II (900498): Increase ATK and MAG by 200% for 2 turns to caster
berry = True # reset next turn
sushi = True # persistent
elif white >= 9:
endTurn()
white = 0
elif isTurnMod(5) and peach == False:
useSkill(27, 'random') # The enemy gazes at you... (900523): Increase chance of being targeted by 200% for 3 turns
peach = True # reset next turn
elif isTurnMod(5) and olive == False:
useSkill(7, 'random') # Immovable Miasma (900503): Inflict Petrify (100%) on one enemy
olive = True # reset next turn
elif var_87 == False and honey == True:
useSkill(13, 'random') # Event Horizon (900486): Magic dark damage (8x, MAG) to all enemies
honey = False # persistent
elif var_88 == False and ramen == True:
useSkill(14, 'random') # Molten Core (900510): Magic fire damage (8x, MAG) to all enemies
ramen = False # persistent
elif berry == False and sushi == True:
useSkill(28, 'random') # Dimensional Void (900524): Magic damage (20x * 2 = 40x, MAG) to all enemies (ignore reflect)
sushi = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and mango == False:
wait() # No action
green += 1
mango = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and mango == False:
wait() # No action
green += 1
mango = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and lemon == False:
wait() # No action
green += 1
lemon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and lemon == False:
wait() # No action
green += 1
lemon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and grape == False:
wait() # No action
green += 1
grape = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and grape == False:
wait() # No action
green += 1
grape = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and melon == False:
wait() # No action
green += 1
melon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and melon == False:
wait() # No action
green += 1
melon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and guava == False:
wait() # No action
green += 1
guava = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and guava == False:
wait() # No action
green += 1
guava = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and gourd == False:
wait() # No action
green += 1
gourd = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and gourd == False:
wait() # No action
green += 1
gourd = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and var_61 == False:
wait() # No action
var_61 = True # unknown flag type
green += 1
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and var_61 == False:
wait() # No action
var_61 = True # unknown flag type
green += 1
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and var_62 == False:
wait() # No action
var_62 = True # unknown flag type
green += 1
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and var_62 == False:
wait() # No action
var_62 = True # unknown flag type
green += 1
elif green >= 2 and apple == False:
useSkill(29, 'random') # Diabolical Judgement (900525): No effect
green = 0
apple = True # reset next turn
elif apple == False:
useSkill(22, 'random') # Unholy Purge (900518): Remove all debuffs from caster
green = 0
apple = True # reset next turn
elif mango == True and var_63 == False:
useSkill(23, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_63 = True # unknown flag type
elif mango == True and var_64 == False:
useSkill(17, 'random') # Dark Depression (900489): Physical damage (10x * 2 = 20x, ATK) to all enemies (ignore cover), Reduce resistance to Dark by 100% for 3 turns to all enemies
var_64 = True # unknown flag type
elif mango == True and var_65 == False:
useSkill(3, 'random') # Foul Miasma (900479): Inflict Poison (100%) on all enemies
var_65 = True # unknown flag type
elif lemon == True and var_66 == False:
useSkill(23, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_66 = True # unknown flag type
elif lemon == True and var_67 == False:
useSkill(17, 'random') # Dark Depression (900489): Physical damage (10x * 2 = 20x, ATK) to all enemies (ignore cover), Reduce resistance to Dark by 100% for 3 turns to all enemies
var_67 = True # unknown flag type
elif lemon == True and var_68 == False:
useSkill(3, 'random') # Foul Miasma (900479): Inflict Poison (100%) on all enemies
var_68 = True # unknown flag type
elif grape == True and var_69 == False:
useSkill(24, 'random') # Dark Terror (900520): Magic damage (6x, MAG) to all enemies, Reduce MAG by 50% for 8 turns to all enemies
var_69 = True # unknown flag type
elif grape == True and var_70 == False:
useSkill(17, 'random') # Dark Depression (900489): Physical damage (10x * 2 = 20x, ATK) to all enemies (ignore cover), Reduce resistance to Dark by 100% for 3 turns to all enemies
var_70 = True # unknown flag type
elif grape == True and var_71 == False:
useSkill(4, 'random') # Black Miasma (900480): Inflict Blind (100%) on all enemies
var_71 = True # unknown flag type
elif melon == True and var_72 == False:
useSkill(24, 'random') # Dark Terror (900520): Magic damage (6x, MAG) to all enemies, Reduce MAG by 50% for 8 turns to all enemies
var_72 = True # unknown flag type
elif melon == True and var_73 == False:
useSkill(17, 'random') # Dark Depression (900489): Physical damage (10x * 2 = 20x, ATK) to all enemies (ignore cover), Reduce resistance to Dark by 100% for 3 turns to all enemies
var_73 = True # unknown flag type
elif melon == True and var_74 == False:
useSkill(4, 'random') # Black Miasma (900480): Inflict Blind (100%) on all enemies
var_74 = True # unknown flag type
elif guava == True and var_75 == False:
useSkill(25, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_75 = True # unknown flag type
elif guava == True and var_76 == False:
useSkill(18, 'random') # Molten Blast (900514): Physical damage (10x * 2 = 20x, ATK) to all enemies (ignore cover), Reduce resistance to Fire by 100% for 3 turns to all enemies
var_76 = True # unknown flag type
elif guava == True and var_77 == False:
useSkill(5, 'random') # Chaotic Miasma (900481): Inflict Confusion (100%) on all enemies
var_77 = True # unknown flag type
elif gourd == True and var_78 == False:
useSkill(25, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_78 = True # unknown flag type
elif gourd == True and var_79 == False:
useSkill(18, 'random') # Molten Blast (900514): Physical damage (10x * 2 = 20x, ATK) to all enemies (ignore cover), Reduce resistance to Fire by 100% for 3 turns to all enemies
var_79 = True # unknown flag type
elif gourd == True and var_80 == False:
useSkill(5, 'random') # Chaotic Miasma (900481): Inflict Confusion (100%) on all enemies
var_80 = True # unknown flag type
elif var_61 == True and var_81 == False:
useSkill(26, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_81 = True # unknown flag type
elif var_61 == True and var_82 == False:
useSkill(18, 'random') # Molten Blast (900514): Physical damage (10x * 2 = 20x, ATK) to all enemies (ignore cover), Reduce resistance to Fire by 100% for 3 turns to all enemies
var_82 = True # unknown flag type
elif var_61 == True and var_83 == False:
useSkill(6, 'random') # Paralyzing Miasma (900502): Inflict Paralyze (100%) on one enemy
var_83 = True # unknown flag type
elif var_62 == True and var_84 == False:
useSkill(26, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_84 = True # unknown flag type
elif var_62 == True and var_85 == False:
useSkill(18, 'random') # Molten Blast (900514): Physical damage (10x * 2 = 20x, ATK) to all enemies (ignore cover), Reduce resistance to Fire by 100% for 3 turns to all enemies
var_85 = True # unknown flag type
elif var_62 == True and var_86 == False:
useSkill(6, 'random') # Paralyzing Miasma (900502): Inflict Paralyze (100%) on one enemy
var_86 = True # unknown flag type
elif random() <= 0.10 and self.HP < 0.8 and self.HP > 0.4:
useSkill(8, 'random') # Ethereal Barrier (900482): Increase resistance to all elements by 50% for one turn to caster
white += 1
elif random() <= 0.10 and self.HP < 0.8 and self.HP > 0.4:
useSkill(9, 'random') # Mystic Barricade (900483): Reduce magic damage taken by 50% to caster for one turn (can not be removed)
white += 1
elif random() <= 0.10 and self.HP < 0.8 and self.HP > 0.4:
useSkill(10, 'random') # Hardened Skin (900484): Reduce physical damage taken by 50% to caster for one turn (can not be removed)
white += 1
elif self.HP < 0.4 and once():
useSkill(21, 'random') # Broken Mind (900493): Hybrid* damage (5x, ATK & MAG) as MP drain (50%) to all enemies
elif self.HP < 0.4 and once():
useSkill(20, 'random') # Demonic Gaze (900491): Fixed* damage (10000) to one enemy
elif self.HP < 0.3 and once():
useSkill(21, 'random') # Broken Mind (900493): Hybrid* damage (5x, ATK & MAG) as MP drain (50%) to all enemies
elif self.HP < 0.3 and once():
useSkill(20, 'random') # Demonic Gaze (900491): Fixed* damage (10000) to one enemy
elif self.HP < 0.2 and once():
useSkill(21, 'random') # Broken Mind (900493): Hybrid* damage (5x, ATK & MAG) as MP drain (50%) to all enemies
elif self.HP < 0.2 and once():
useSkill(19, 'random') # Unholy Screech (900490): Fixed* damage (5000) to all enemies
elif self.HP < 0.1 and once():
useSkill(21, 'random') # Broken Mind (900493): Hybrid* damage (5x, ATK & MAG) as MP drain (50%) to all enemies
elif self.HP < 0.1 and once():
useSkill(19, 'random') # Unholy Screech (900490): Fixed* damage (5000) to all enemies
elif random() <= 0.10 and var_87 == False:
useSkill(11, 'random') # Dark Storm (900485): Physical dark damage (8x, ATK) to all enemies
var_87 = True # unknown flag type
honey = True # persistent
elif random() <= 0.10 and var_88 == False:
useSkill(12, 'random') # Flame Storm (900508): Physical fire damage (8x, ATK) to all enemies
var_88 = True # unknown flag type
ramen = True # persistent
elif random() <= 0.10 and var_87 == True:
useSkill(11, 'random') # Dark Storm (900485): Physical dark damage (8x, ATK) to all enemies
white += 1
elif random() <= 0.10 and var_88 == True:
useSkill(12, 'random') # Flame Storm (900508): Physical fire damage (8x, ATK) to all enemies
white += 1
elif random() <= 0.05:
useSkill(15, 'random') # Avenging Bite (900487): Physical damage (40x, ATK) to one enemy
white += 1
elif random() <= 0.30:
useSkill(16, 'random') # Diabolical Strike (900488): Physical damage (12x, ATK) to one enemy
white += 1
else:
attack('random')
white += 1
##
# Monster Info
##
#
# Monster Tel-Fulsanis (900010780)
# Race Demon
# Level 100
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 800000000
# MP 100000
# ATK 120
# DEF 100
# MAG 85
# SPR 200
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice 100%
# Lightning 100%
# Water 100%
# Wind 100%
# Earth 100%
# Light 100%
# Dark 100%
# Non-Elemental 80%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# Reinforced Soul (900530) [None]
#
# Increase DEF and SPR by 50% for one turn to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Rage of Legions (900531) [None]
#
# Increase ATK and MAG by 100% and DEF and SPR by 30% for one turn to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tyrant's Rampage (900532) [None]
#
# Increase ATK, DEF, MAG and SPR by 200% for one turn to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Redemption (900533) [None]
#
# Restore 10% MP and 1% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Mind (900534) [Magic]
#
# Magic damage (10x * 2 = 20x, MAG) to all enemies (ignore reflect)
# Reduce resistance to all elements by 200% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Body (900535) [Physical]
#
# Physical damage (10x * 2 = 20x, ATK) to all enemies (ignore cover)
# Increase resistance to all elements by 50% for one turn to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Embrace Despair (900536) [Magic]
#
# Magic damage (20x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Embrace Eternity (900537) [Magic]
#
# Magic damage (35x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Merciless Death (900538) [None]
#
# Instant KO (100%) to caster (ignores death resist)
# Unknown parameters: [1,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Triple Storm (900539) [Physical]
#
# Physical fire, lightning and dark damage (9x, ATK) to all enemies
# Physical fire, lightning and dark damage (9x, ATK) to all enemies
# Physical fire, lightning and dark damage (9x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Damnation (900540) [Magic]
#
# Magic fire, lightning and dark damage (9x, MAG) to all enemies
# Magic fire, lightning and dark damage (9x, MAG) to all enemies
# Magic fire, lightning and dark damage (9x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Smashing Fury (900541) [Physical]
#
# Physical damage (100x, ATK) to one enemy
# Restore 5% MP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Maddening Atmosphere (900542) [None]
#
# Increase chance of being targeted by 200% for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Fire Touch (900543) [None]
#
# Add Fire element (100%) to physical attacks for one turn to all enemies
# Unused parameters: [1]
# Restore 10% MP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Touch (900544) [None]
#
# Add Dark element (100%) to physical attacks for one turn to all enemies
# Unused parameters: [1]
# Restore 10% MP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lightning Touch (900545) [None]
#
# Add Lightning element (100%) to physical attacks for one turn to all enemies
# Unused parameters: [1]
# Restore 10% MP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Earth Touch (900546) [None]
#
# Add Earth element (100%) to physical attacks for one turn to all enemies
# Unused parameters: [1]
# Restore 10% MP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wind Touch (900547) [None]
#
# Add Wind element (100%) to physical attacks for one turn to all enemies
# Unused parameters: [1]
# Restore 10% MP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Water Touch (900548) [None]
#
# Add Water element (100%) to physical attacks for one turn to all enemies
# Unused parameters: [1]
# Restore 10% MP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Light Touch (900549) [None]
#
# Add Light element (100%) to physical attacks for one turn to all enemies
# Unused parameters: [1]
# Restore 10% MP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ice Touch (900550) [None]
#
# Add Ice element (100%) to physical attacks for one turn to all enemies
# Unused parameters: [1]
# Restore 10% MP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sanctioned Purge (900551) [None]
#
# Remove all buffs and debuffs from all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# RETURN! (900552) [None]
#
# Force all enemies to return to the battle field
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Explosion (900553) [Magic]
#
# Magic dark damage (12x * 2 = 24x, MAG) to all enemies (ignore reflect)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Fire Explosion (900554) [Magic]
#
# Magic fire damage (12x * 2 = 24x, MAG) to all enemies (ignore reflect)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lightning Explosion (900555) [Magic]
#
# Magic lightning damage (12x * 2 = 24x, MAG) to all enemies (ignore reflect)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Insignificant mortals... (900573) [None]
#
# Remove debuff from caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# You are not worthy... (900574) [None]
#
# Remove debuff from caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Zombie (900575) [Magic]
#
# Inflict Zombie (100%) to all enemies
# Unused parameters: [[0,0,0,0,0,0,0,1]]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 8:
wait('non') # No action
green = 0
bacon = True # persistent
elif steak == True:
endTurn()
steak = False # persistent
elif unit('5:enemy:any').hasStatus('Disease') and ramen == False:
useSkill(29, 'random') # Zombie (900575): Inflict Zombie (100%) to all enemies
ramen = True # persistent
elif honey == False:
useSkill(7, 'random') # Embrace Despair (900536): Magic damage (20x, MAG) to all enemies
honey = True # persistent
elif honey == True and sushi == False:
endTurn()
sushi = True # persistent
elif conditionNotImplemented('outside_field:0') and apple == False:
useSkill(23, 'random') # RETURN! (900552): Force all enemies to return to the battle field
apple = True # reset next turn
elif black >= 20:
useSkill(9, 'random') # Merciless Death (900538): Instant KO (100%) to caster (ignores death resist)
elif black >= 17 and once():
useSkill(28, 'random') # You are not worthy... (900574): Remove debuff from caster
elif black >= 10 and once():
useSkill(27, 'random') # Insignificant mortals... (900573): Remove debuff from caster
elif var_85 == True and unit('3:ally:2:Maw of Malice').is('alive') and berry == False and bacon == True:
wait() # No action
black += 1
white += 1
berry = True # reset next turn
elif var_85 == True and unit('3:ally:3:Tel-Fulsanis').is('alive') and peach == False and bacon == True:
wait() # No action
black += 1
white += 1
peach = True # reset next turn
elif var_85 == True and unit('3:ally:4:Red Sigil').is('alive') and berry == False and bacon == True:
wait() # No action
black += 1
white += 1
berry = True # reset next turn
elif var_85 == True and unit('3:ally:5:Red Sigil').is('alive') and peach == False and bacon == True:
wait() # No action
black += 1
white += 1
peach = True # reset next turn
elif white == 2 and olive == False:
useSkill(3, 'random') # Tyrant's Rampage (900532): Increase ATK, DEF, MAG and SPR by 200% for one turn to caster (can not be removed)
olive = True # reset next turn
elif white == 2 and mango == False:
useSkill(22, 'random') # Sanctioned Purge (900551): Remove all buffs and debuffs from all enemies
white = 0
mango = True # reset next turn
steak = True # persistent
bacon = False # persistent
elif white == 1 and olive == False:
useSkill(2, 'random') # Rage of Legions (900531): Increase ATK and MAG by 100% and DEF and SPR by 30% for one turn to caster (can not be removed)
white = 0
olive = True # reset next turn
steak = True # persistent
bacon = False # persistent
elif bacon == True and white == 0 and olive == False:
useSkill(1, 'random') # Reinforced Soul (900530): Increase DEF and SPR by 50% for one turn to caster (can not be removed)
white = 0
olive = True # reset next turn
steak = True # persistent
bacon = False # persistent
elif isTurnMod(5) and melon == False:
useSkill(4, 'random') # Redemption (900533): Restore 10% MP and 1% HP to caster
black += 1
melon = True # reset next turn
elif self.HP < 0.8 and once():
useSkill(24, 'random') # Dark Explosion (900553): Magic dark damage (12x * 2 = 24x, MAG) to all enemies (ignore reflect)
elif self.HP < 0.7 and once():
useSkill(25, 'random') # Fire Explosion (900554): Magic fire damage (12x * 2 = 24x, MAG) to all enemies (ignore reflect)
elif self.HP < 0.6 and once():
useSkill(26, 'random') # Lightning Explosion (900555): Magic lightning damage (12x * 2 = 24x, MAG) to all enemies (ignore reflect)
elif random() <= 0.10 and self.HP > 0.5:
useSkill(6, 'random') # Chaotic Body (900535): Physical damage (10x * 2 = 20x, ATK) to all enemies (ignore cover), Increase resistance to all elements by 50% for one turn to caster
green += 1
elif random() <= 0.50 and lemon == False:
useSkill(10, 'random') # Triple Storm (900539): Physical fire, lightning and dark damage (9x, ATK) to all enemies, Physical fire, lightning and dark damage (9x, ATK) to all enemies, Physical fire, lightning and dark damage (9x, ATK) to all enemies
lemon = True # reset next turn
elif lemon == False:
useSkill(11, 'random') # Damnation (900540): Magic fire, lightning and dark damage (9x, MAG) to all enemies, Magic fire, lightning and dark damage (9x, MAG) to all enemies, Magic fire, lightning and dark damage (9x, MAG) to all enemies
lemon = True # reset next turn
elif grape == False:
useSkill(8, 'random') # Embrace Eternity (900537): Magic damage (35x, MAG) to all enemies
grape = True # reset next turn
elif random() <= 0.30:
useSkill(12, 'random') # Smashing Fury (900541): Physical damage (100x, ATK) to one enemy, Restore 5% MP to caster
green += 1
elif random() <= 0.10 and self.HP < 0.5:
useSkill(5, 'random') # Chaotic Mind (900534): Magic damage (10x * 2 = 20x, MAG) to all enemies (ignore reflect), Reduce resistance to all elements by 200% for 3 turns to all enemies
green += 1
elif self.HP < 0.5 and once():
useSkill(13, 'random') # Maddening Atmosphere (900542): Increase chance of being targeted by 200% for 3 turns
melon = True # reset next turn
elif random() <= 0.12 and self.HP < 0.5 and melon == False:
useSkill(14, 'random') # Fire Touch (900543): Add Fire element (100%) to physical attacks for one turn to all enemies, Restore 10% MP to caster
melon = True # reset next turn
elif random() <= 0.12 and self.HP < 0.5 and melon == False:
useSkill(15, 'random') # Dark Touch (900544): Add Dark element (100%) to physical attacks for one turn to all enemies, Restore 10% MP to caster
melon = True # reset next turn
elif random() <= 0.12 and self.HP < 0.5 and melon == False:
useSkill(16, 'random') # Lightning Touch (900545): Add Lightning element (100%) to physical attacks for one turn to all enemies, Restore 10% MP to caster
melon = True # reset next turn
elif random() <= 0.12 and self.HP < 0.5 and melon == False:
useSkill(17, 'random') # Earth Touch (900546): Add Earth element (100%) to physical attacks for one turn to all enemies, Restore 10% MP to caster
melon = True # reset next turn
elif random() <= 0.13 and self.HP < 0.5 and melon == False:
useSkill(18, 'random') # Wind Touch (900547): Add Wind element (100%) to physical attacks for one turn to all enemies, Restore 10% MP to caster
melon = True # reset next turn
elif random() <= 0.13 and self.HP < 0.5 and melon == False:
useSkill(19, 'random') # Water Touch (900548): Add Water element (100%) to physical attacks for one turn to all enemies, Restore 10% MP to caster
melon = True # reset next turn
elif random() <= 0.13 and self.HP < 0.5 and melon == False:
useSkill(20, 'random') # Light Touch (900549): Add Light element (100%) to physical attacks for one turn to all enemies, Restore 10% MP to caster
melon = True # reset next turn
elif self.HP < 0.5 and melon == False:
useSkill(21, 'random') # Ice Touch (900550): Add Ice element (100%) to physical attacks for one turn to all enemies, Restore 10% MP to caster
melon = True # reset next turn
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Red Sigil (900010781)
# Race Demon
# Level 100
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 100000000
# MP 100000
# ATK 800
# DEF 99999
# MAG 800
# SPR 99999
#
#
# Damage resist
# physical 99%
# magical 99%
#
#
# Element resist
# Fire 99%
# Ice 99%
# Lightning 99%
# Water 99%
# Wind 99%
# Earth 99%
# Light 99%
# Dark 99%
# Non-Elemental 99%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Fire Weakness (900556) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Fire by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ice Weakness (900557) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Ice by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lightning Weakness (900558) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Lightning by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Water Weakness (900559) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Water by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wind Weakness (900560) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Wind by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Earth Weakness (900561) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Earth by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Light Weakness (900562) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Light by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Weakness (900563) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Dark by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Red Wave (900564) [Magic]
#
# Magic damage (24x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Raging Spirit (900565) [None]
#
# Inflict berserk (+300% ATK) on one enemy for one turn
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Foul Miasma (900499) [Magic]
#
# Inflict Poison (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Black Miasma (900500) [Magic]
#
# Inflict Blind (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Miasma (900501) [Magic]
#
# Inflict Confusion (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Paralyzing Miasma (900502) [Magic]
#
# Inflict Paralyze (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Immovable Miasma (900503) [Magic]
#
# Inflict Petrify (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Degeneration (900519) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce ATK by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Terror (900520) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce MAG by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Despair (900521) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce DEF by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Black Misery (900522) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce SPR by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Foul Stench (900566) [None]
#
# Remove resistances to Poison from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Unseen Mist (900567) [None]
#
# Remove resistances to Blind from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Stench (900568) [None]
#
# Remove resistances to Confusion from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Static Bile (900569) [None]
#
# Remove resistances to Paralyze from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Inescapable Putrefaction (900570) [None]
#
# Remove resistances to Petrify from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The red sigil has turned blue... (900571) [None]
#
# Summon Red Sigil (900010783)
# Instant KO (100%) to caster (ignores death resist)
# Unknown parameters: [1,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Self-Destruct (900580) [None]
#
# Instant KO (100%) to caster (ignores death resist)
# Unknown parameters: [1,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 9:
endTurn()
green = 0
elif unit('3:ally:1:Essence of Despair').is('dead'):
useSkill(26, 'random') # Self-Destruct (900580): Instant KO (100%) to caster (ignores death resist)
elif otter == False and pasta == True:
endTurn()
otter = True # reset next turn
elif tiger == True and var_85 == False:
wait('non') # No action
var_85 = True # unknown flag type
tiger = False # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and var_61 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_61 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and var_62 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_62 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and var_63 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_63 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and var_61 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_61 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and var_62 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_62 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and var_63 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_63 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and var_64 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_64 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and var_65 == False:
useSkill(19, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_65 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and var_66 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_66 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and var_64 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_64 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and var_65 == False:
useSkill(19, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_65 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and var_66 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_66 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and var_67 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_67 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and var_68 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_68 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and var_69 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_69 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and var_67 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_67 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and var_68 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_68 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and var_69 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_69 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and var_70 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_70 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and var_71 == False:
useSkill(18, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_71 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and var_72 == False:
useSkill(20, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_72 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and var_70 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_70 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and var_71 == False:
useSkill(18, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_71 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and var_72 == False:
useSkill(20, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_72 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and var_73 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_73 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and var_74 == False:
useSkill(18, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_74 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and var_75 == False:
useSkill(20, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_75 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and var_73 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_73 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and var_74 == False:
useSkill(18, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_74 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and var_75 == False:
useSkill(20, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_75 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and var_76 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_76 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and var_77 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_77 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and var_78 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_78 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and var_76 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_76 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and var_77 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_77 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and var_78 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_78 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and var_79 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_79 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and var_80 == False:
useSkill(19, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_80 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and var_81 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_81 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and var_79 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_79 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and var_80 == False:
useSkill(19, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_80 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and var_81 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_81 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and var_82 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_82 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and var_83 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_83 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and var_84 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_84 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and var_82 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_82 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and var_83 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_83 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and var_84 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_84 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
ramen = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
sushi = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
bacon = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
steak = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
salad = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
fries = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
sugar = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
pizza = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
ramen = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
sushi = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
bacon = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
steak = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
salad = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
fries = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
sugar = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
pizza = False # persistent
elif tiger == False and var_85 == False:
wait('non') # No action
tiger = True # reset next turn
elif random() <= 0.20 and pasta == False and apple == False:
useSkill(1, 'random') # Fire Weakness (900556): Remove all buffs and debuffs from caster, Reduce resistance to Fire by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
ramen = True # persistent
elif random() <= 0.25 and pasta == False and apple == False:
useSkill(2, 'random') # Ice Weakness (900557): Remove all buffs and debuffs from caster, Reduce resistance to Ice by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
sushi = True # persistent
elif random() <= 0.32 and pasta == False and apple == False:
useSkill(3, 'random') # Lightning Weakness (900558): Remove all buffs and debuffs from caster, Reduce resistance to Lightning by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
bacon = True # persistent
elif random() <= 0.40 and pasta == False and apple == False:
useSkill(4, 'random') # Water Weakness (900559): Remove all buffs and debuffs from caster, Reduce resistance to Water by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
steak = True # persistent
elif random() <= 0.50 and pasta == False and apple == False:
useSkill(5, 'random') # Wind Weakness (900560): Remove all buffs and debuffs from caster, Reduce resistance to Wind by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
salad = True # persistent
elif random() <= 0.62 and pasta == False and apple == False:
useSkill(6, 'random') # Earth Weakness (900561): Remove all buffs and debuffs from caster, Reduce resistance to Earth by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
fries = True # persistent
elif random() <= 0.78 and pasta == False and apple == False:
useSkill(7, 'random') # Light Weakness (900562): Remove all buffs and debuffs from caster, Reduce resistance to Light by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
sugar = True # persistent
elif pasta == False and apple == False:
useSkill(8, 'random') # Dark Weakness (900563): Remove all buffs and debuffs from caster, Reduce resistance to Dark by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
pizza = True # persistent
elif random() <= 0.12 and apple == False:
useSkill(1, 'random') # Fire Weakness (900556): Remove all buffs and debuffs from caster, Reduce resistance to Fire by 200% for 666 turns to caster
apple = True # reset next turn
ramen = True # persistent
elif random() <= 0.12 and apple == False:
useSkill(2, 'random') # Ice Weakness (900557): Remove all buffs and debuffs from caster, Reduce resistance to Ice by 200% for 666 turns to caster
apple = True # reset next turn
sushi = True # persistent
elif random() <= 0.12 and apple == False:
useSkill(3, 'random') # Lightning Weakness (900558): Remove all buffs and debuffs from caster, Reduce resistance to Lightning by 200% for 666 turns to caster
apple = True # reset next turn
bacon = True # persistent
elif random() <= 0.12 and apple == False:
useSkill(4, 'random') # Water Weakness (900559): Remove all buffs and debuffs from caster, Reduce resistance to Water by 200% for 666 turns to caster
apple = True # reset next turn
steak = True # persistent
elif random() <= 0.13 and apple == False:
useSkill(5, 'random') # Wind Weakness (900560): Remove all buffs and debuffs from caster, Reduce resistance to Wind by 200% for 666 turns to caster
apple = True # reset next turn
salad = True # persistent
elif random() <= 0.13 and apple == False:
useSkill(6, 'random') # Earth Weakness (900561): Remove all buffs and debuffs from caster, Reduce resistance to Earth by 200% for 666 turns to caster
apple = True # reset next turn
fries = True # persistent
elif random() <= 0.13 and apple == False:
useSkill(7, 'random') # Light Weakness (900562): Remove all buffs and debuffs from caster, Reduce resistance to Light by 200% for 666 turns to caster
apple = True # reset next turn
sugar = True # persistent
elif apple == False:
useSkill(8, 'random') # Dark Weakness (900563): Remove all buffs and debuffs from caster, Reduce resistance to Dark by 200% for 666 turns to caster
apple = True # reset next turn
pizza = True # persistent
elif peach == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
green += 1
peach = True # reset next turn
elif olive == False:
useSkill(10, 'highest SPR') # Raging Spirit (900565): Inflict berserk (+300% ATK) on one enemy for one turn
green += 1
olive = True # reset next turn
elif random() <= 0.05 and mango == False:
useSkill(11, 'random') # Foul Miasma (900499): Inflict Poison (100%) on all enemies
green += 1
mango = True # reset next turn
elif random() <= 0.05 and lemon == False:
useSkill(12, 'random') # Black Miasma (900500): Inflict Blind (100%) on all enemies
green += 1
lemon = True # reset next turn
elif random() <= 0.05 and grape == False:
useSkill(13, 'random') # Chaotic Miasma (900501): Inflict Confusion (100%) on all enemies
green += 1
grape = True # reset next turn
elif random() <= 0.05 and melon == False:
useSkill(14, 'random') # Paralyzing Miasma (900502): Inflict Paralyze (100%) on one enemy
green += 1
melon = True # reset next turn
elif random() <= 0.05 and guava == False:
useSkill(15, 'random') # Immovable Miasma (900503): Inflict Petrify (100%) on one enemy
green += 1
guava = True # reset next turn
elif random() <= 0.00 and gourd == False:
useSkill(24, 'random') # Inescapable Putrefaction (900570): Remove resistances to Petrify from all enemies for 3 turns
gourd = True # reset next turn
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Red Sigil (900010782, 900010781)
# Race Demon
# Level 100
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 100000000
# MP 100000
# ATK 800
# DEF 99999
# MAG 800
# SPR 99999
#
#
# Damage resist
# physical 99%
# magical 99%
#
#
# Element resist
# Fire 99%
# Ice 99%
# Lightning 99%
# Water 99%
# Wind 99%
# Earth 99%
# Light 99%
# Dark 99%
# Non-Elemental 99%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Fire Weakness (900556) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Fire by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ice Weakness (900557) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Ice by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lightning Weakness (900558) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Lightning by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Water Weakness (900559) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Water by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wind Weakness (900560) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Wind by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Earth Weakness (900561) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Earth by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Light Weakness (900562) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Light by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Weakness (900563) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Dark by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Red Wave (900564) [Magic]
#
# Magic damage (24x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Raging Spirit (900565) [None]
#
# Inflict berserk (+300% ATK) on one enemy for one turn
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Foul Miasma (900499) [Magic]
#
# Inflict Poison (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Black Miasma (900500) [Magic]
#
# Inflict Blind (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Miasma (900501) [Magic]
#
# Inflict Confusion (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Paralyzing Miasma (900502) [Magic]
#
# Inflict Paralyze (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Immovable Miasma (900503) [Magic]
#
# Inflict Petrify (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Degeneration (900519) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce ATK by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Terror (900520) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce MAG by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Despair (900521) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce DEF by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Black Misery (900522) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce SPR by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Foul Stench (900566) [None]
#
# Remove resistances to Poison from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Unseen Mist (900567) [None]
#
# Remove resistances to Blind from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Stench (900568) [None]
#
# Remove resistances to Confusion from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Static Bile (900569) [None]
#
# Remove resistances to Paralyze from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Inescapable Putrefaction (900570) [None]
#
# Remove resistances to Petrify from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The red sigil has turned blue... (900576) [None]
#
# Summon Red Sigil (900010784)
# Instant KO (100%) to caster (ignores death resist)
# Unknown parameters: [1,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Self-Destruct (900580) [None]
#
# Instant KO (100%) to caster (ignores death resist)
# Unknown parameters: [1,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 9:
endTurn()
green = 0
elif unit('3:ally:1:Essence of Despair').is('dead'):
useSkill(26, 'random') # Self-Destruct (900580): Instant KO (100%) to caster (ignores death resist)
elif otter == False and pasta == True:
endTurn()
otter = True # reset next turn
elif tiger == True and var_85 == False:
wait('non') # No action
var_85 = True # unknown flag type
tiger = False # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and var_61 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_61 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and var_62 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_62 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and var_63 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_63 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and var_61 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_61 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and var_62 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_62 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and var_63 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_63 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and var_64 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_64 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and var_65 == False:
useSkill(19, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_65 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and var_66 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_66 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and var_64 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_64 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and var_65 == False:
useSkill(19, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_65 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and var_66 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_66 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and var_67 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_67 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and var_68 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_68 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and var_69 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_69 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and var_67 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_67 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and var_68 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_68 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and var_69 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_69 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and var_70 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_70 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and var_71 == False:
useSkill(18, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_71 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and var_72 == False:
useSkill(20, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_72 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and var_70 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_70 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and var_71 == False:
useSkill(18, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_71 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and var_72 == False:
useSkill(20, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_72 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and var_73 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_73 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and var_74 == False:
useSkill(18, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_74 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and var_75 == False:
useSkill(20, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_75 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and var_73 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_73 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and var_74 == False:
useSkill(18, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_74 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and var_75 == False:
useSkill(20, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_75 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and var_76 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_76 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and var_77 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_77 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and var_78 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_78 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and var_76 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_76 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and var_77 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_77 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and var_78 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_78 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and var_79 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_79 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and var_80 == False:
useSkill(19, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_80 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and var_81 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_81 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and var_79 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_79 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and var_80 == False:
useSkill(19, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_80 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and var_81 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_81 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and var_82 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_82 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and var_83 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_83 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and var_84 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_84 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and var_82 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_82 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and var_83 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_83 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and var_84 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_84 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
ramen = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
sushi = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
bacon = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
steak = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
salad = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
fries = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
sugar = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
pizza = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
ramen = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
sushi = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
bacon = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
steak = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
salad = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
fries = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
sugar = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
pizza = False # persistent
elif tiger == False and var_85 == False:
wait('non') # No action
tiger = True # reset next turn
elif random() <= 0.20 and pasta == False and apple == False:
useSkill(1, 'random') # Fire Weakness (900556): Remove all buffs and debuffs from caster, Reduce resistance to Fire by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
ramen = True # persistent
elif random() <= 0.25 and pasta == False and apple == False:
useSkill(2, 'random') # Ice Weakness (900557): Remove all buffs and debuffs from caster, Reduce resistance to Ice by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
sushi = True # persistent
elif random() <= 0.32 and pasta == False and apple == False:
useSkill(3, 'random') # Lightning Weakness (900558): Remove all buffs and debuffs from caster, Reduce resistance to Lightning by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
bacon = True # persistent
elif random() <= 0.40 and pasta == False and apple == False:
useSkill(4, 'random') # Water Weakness (900559): Remove all buffs and debuffs from caster, Reduce resistance to Water by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
steak = True # persistent
elif random() <= 0.50 and pasta == False and apple == False:
useSkill(5, 'random') # Wind Weakness (900560): Remove all buffs and debuffs from caster, Reduce resistance to Wind by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
salad = True # persistent
elif random() <= 0.62 and pasta == False and apple == False:
useSkill(6, 'random') # Earth Weakness (900561): Remove all buffs and debuffs from caster, Reduce resistance to Earth by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
fries = True # persistent
elif random() <= 0.78 and pasta == False and apple == False:
useSkill(7, 'random') # Light Weakness (900562): Remove all buffs and debuffs from caster, Reduce resistance to Light by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
sugar = True # persistent
elif pasta == False and apple == False:
useSkill(8, 'random') # Dark Weakness (900563): Remove all buffs and debuffs from caster, Reduce resistance to Dark by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
pizza = True # persistent
elif random() <= 0.12 and apple == False:
useSkill(1, 'random') # Fire Weakness (900556): Remove all buffs and debuffs from caster, Reduce resistance to Fire by 200% for 666 turns to caster
apple = True # reset next turn
ramen = True # persistent
elif random() <= 0.12 and apple == False:
useSkill(2, 'random') # Ice Weakness (900557): Remove all buffs and debuffs from caster, Reduce resistance to Ice by 200% for 666 turns to caster
apple = True # reset next turn
sushi = True # persistent
elif random() <= 0.12 and apple == False:
useSkill(3, 'random') # Lightning Weakness (900558): Remove all buffs and debuffs from caster, Reduce resistance to Lightning by 200% for 666 turns to caster
apple = True # reset next turn
bacon = True # persistent
elif random() <= 0.12 and apple == False:
useSkill(4, 'random') # Water Weakness (900559): Remove all buffs and debuffs from caster, Reduce resistance to Water by 200% for 666 turns to caster
apple = True # reset next turn
steak = True # persistent
elif random() <= 0.13 and apple == False:
useSkill(5, 'random') # Wind Weakness (900560): Remove all buffs and debuffs from caster, Reduce resistance to Wind by 200% for 666 turns to caster
apple = True # reset next turn
salad = True # persistent
elif random() <= 0.13 and apple == False:
useSkill(6, 'random') # Earth Weakness (900561): Remove all buffs and debuffs from caster, Reduce resistance to Earth by 200% for 666 turns to caster
apple = True # reset next turn
fries = True # persistent
elif random() <= 0.13 and apple == False:
useSkill(7, 'random') # Light Weakness (900562): Remove all buffs and debuffs from caster, Reduce resistance to Light by 200% for 666 turns to caster
apple = True # reset next turn
sugar = True # persistent
elif apple == False:
useSkill(8, 'random') # Dark Weakness (900563): Remove all buffs and debuffs from caster, Reduce resistance to Dark by 200% for 666 turns to caster
apple = True # reset next turn
pizza = True # persistent
elif peach == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
green += 1
peach = True # reset next turn
elif olive == False:
useSkill(10, 'highest SPR') # Raging Spirit (900565): Inflict berserk (+300% ATK) on one enemy for one turn
green += 1
olive = True # reset next turn
elif random() <= 0.05 and mango == False:
useSkill(11, 'random') # Foul Miasma (900499): Inflict Poison (100%) on all enemies
green += 1
mango = True # reset next turn
elif random() <= 0.05 and lemon == False:
useSkill(12, 'random') # Black Miasma (900500): Inflict Blind (100%) on all enemies
green += 1
lemon = True # reset next turn
elif random() <= 0.05 and grape == False:
useSkill(13, 'random') # Chaotic Miasma (900501): Inflict Confusion (100%) on all enemies
green += 1
grape = True # reset next turn
elif random() <= 0.05 and melon == False:
useSkill(14, 'random') # Paralyzing Miasma (900502): Inflict Paralyze (100%) on one enemy
green += 1
melon = True # reset next turn
elif random() <= 0.05 and guava == False:
useSkill(15, 'random') # Immovable Miasma (900503): Inflict Petrify (100%) on one enemy
green += 1
guava = True # reset next turn
elif random() <= 0.00 and gourd == False:
useSkill(24, 'random') # Inescapable Putrefaction (900570): Remove resistances to Petrify from all enemies for 3 turns
gourd = True # reset next turn
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Red Sigil (900010783, 900010782)
# Race Demon
# Level 100
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 100000000
# MP 100000
# ATK 800
# DEF 99999
# MAG 800
# SPR 99999
#
#
# Damage resist
# physical 99%
# magical 99%
#
#
# Element resist
# Fire 99%
# Ice 99%
# Lightning 99%
# Water 99%
# Wind 99%
# Earth 99%
# Light 99%
# Dark 99%
# Non-Elemental 99%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Fire Weakness (900556) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Fire by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ice Weakness (900557) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Ice by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lightning Weakness (900558) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Lightning by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Water Weakness (900559) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Water by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wind Weakness (900560) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Wind by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Earth Weakness (900561) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Earth by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Light Weakness (900562) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Light by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Weakness (900563) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Dark by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Red Wave (900564) [Magic]
#
# Magic damage (24x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Raging Spirit (900565) [None]
#
# Inflict berserk (+300% ATK) on one enemy for one turn
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Foul Miasma (900499) [Magic]
#
# Inflict Poison (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Black Miasma (900500) [Magic]
#
# Inflict Blind (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Miasma (900501) [Magic]
#
# Inflict Confusion (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Paralyzing Miasma (900502) [Magic]
#
# Inflict Paralyze (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Immovable Miasma (900503) [Magic]
#
# Inflict Petrify (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Degeneration (900519) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce ATK by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Terror (900520) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce MAG by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Despair (900521) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce DEF by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Black Misery (900522) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce SPR by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Foul Stench (900566) [None]
#
# Remove resistances to Poison from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Unseen Mist (900567) [None]
#
# Remove resistances to Blind from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Stench (900568) [None]
#
# Remove resistances to Confusion from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Static Bile (900569) [None]
#
# Remove resistances to Paralyze from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Inescapable Putrefaction (900570) [None]
#
# Remove resistances to Petrify from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The red sigil has turned blue... (900571) [None]
#
# Summon Red Sigil (900010783)
# Instant KO (100%) to caster (ignores death resist)
# Unknown parameters: [1,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Self-Destruct (900580) [None]
#
# Instant KO (100%) to caster (ignores death resist)
# Unknown parameters: [1,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 9:
endTurn()
green = 0
elif unit('3:ally:1:Essence of Despair').is('dead'):
useSkill(26, 'random') # Self-Destruct (900580): Instant KO (100%) to caster (ignores death resist)
elif tiger == True and var_85 == False:
wait('non') # No action
var_85 = True # unknown flag type
tiger = False # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and var_61 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_61 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and var_62 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_62 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and var_63 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_63 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and var_61 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_61 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and var_62 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_62 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and var_63 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_63 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and var_64 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_64 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and var_65 == False:
useSkill(19, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_65 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and var_66 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_66 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and var_64 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_64 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and var_65 == False:
useSkill(19, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_65 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and var_66 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_66 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and var_67 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_67 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and var_68 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_68 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and var_69 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_69 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and var_67 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_67 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and var_68 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_68 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and var_69 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_69 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and var_70 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_70 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and var_71 == False:
useSkill(18, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_71 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and var_72 == False:
useSkill(20, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_72 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and var_70 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_70 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and var_71 == False:
useSkill(18, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_71 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and var_72 == False:
useSkill(20, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_72 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and var_73 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_73 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and var_74 == False:
useSkill(18, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_74 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and var_75 == False:
useSkill(20, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_75 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and var_73 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_73 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and var_74 == False:
useSkill(18, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_74 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and var_75 == False:
useSkill(20, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_75 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and var_76 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_76 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and var_77 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_77 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and var_78 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_78 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and var_76 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_76 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and var_77 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_77 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and var_78 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_78 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and var_79 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_79 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and var_80 == False:
useSkill(19, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_80 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and var_81 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_81 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and var_79 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_79 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and var_80 == False:
useSkill(19, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_80 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and var_81 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_81 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and var_82 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_82 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and var_83 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_83 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and var_84 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_84 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and var_82 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_82 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and var_83 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_83 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and var_84 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_84 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
ramen = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
sushi = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
bacon = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
steak = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
salad = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
fries = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
sugar = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
pizza = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
ramen = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
sushi = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
bacon = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
steak = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
salad = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
fries = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
sugar = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900571): Summon Red Sigil (900010783), Instant KO (100%) to caster (ignores death resist)
pizza = False # persistent
elif tiger == False and var_85 == False:
wait('non') # No action
tiger = True # reset next turn
elif random() <= 0.20 and apple == False:
useSkill(1, 'random') # Fire Weakness (900556): Remove all buffs and debuffs from caster, Reduce resistance to Fire by 200% for 666 turns to caster
apple = True # reset next turn
ramen = True # persistent
elif random() <= 0.25 and apple == False:
useSkill(2, 'random') # Ice Weakness (900557): Remove all buffs and debuffs from caster, Reduce resistance to Ice by 200% for 666 turns to caster
apple = True # reset next turn
sushi = True # persistent
elif random() <= 0.32 and apple == False:
useSkill(3, 'random') # Lightning Weakness (900558): Remove all buffs and debuffs from caster, Reduce resistance to Lightning by 200% for 666 turns to caster
apple = True # reset next turn
bacon = True # persistent
elif random() <= 0.40 and apple == False:
useSkill(4, 'random') # Water Weakness (900559): Remove all buffs and debuffs from caster, Reduce resistance to Water by 200% for 666 turns to caster
apple = True # reset next turn
steak = True # persistent
elif random() <= 0.50 and apple == False:
useSkill(5, 'random') # Wind Weakness (900560): Remove all buffs and debuffs from caster, Reduce resistance to Wind by 200% for 666 turns to caster
apple = True # reset next turn
salad = True # persistent
elif random() <= 0.62 and apple == False:
useSkill(6, 'random') # Earth Weakness (900561): Remove all buffs and debuffs from caster, Reduce resistance to Earth by 200% for 666 turns to caster
apple = True # reset next turn
fries = True # persistent
elif random() <= 0.78 and apple == False:
useSkill(7, 'random') # Light Weakness (900562): Remove all buffs and debuffs from caster, Reduce resistance to Light by 200% for 666 turns to caster
apple = True # reset next turn
sugar = True # persistent
elif apple == False:
useSkill(8, 'random') # Dark Weakness (900563): Remove all buffs and debuffs from caster, Reduce resistance to Dark by 200% for 666 turns to caster
apple = True # reset next turn
pizza = True # persistent
elif peach == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
peach = True # reset next turn
elif olive == False:
useSkill(10, 'highest SPR') # Raging Spirit (900565): Inflict berserk (+300% ATK) on one enemy for one turn
olive = True # reset next turn
elif random() <= 0.05 and mango == False:
useSkill(11, 'random') # Foul Miasma (900499): Inflict Poison (100%) on all enemies
green += 1
mango = True # reset next turn
elif random() <= 0.05 and lemon == False:
useSkill(12, 'random') # Black Miasma (900500): Inflict Blind (100%) on all enemies
green += 1
lemon = True # reset next turn
elif random() <= 0.05 and grape == False:
useSkill(13, 'random') # Chaotic Miasma (900501): Inflict Confusion (100%) on all enemies
green += 1
grape = True # reset next turn
elif random() <= 0.05 and melon == False:
useSkill(14, 'random') # Paralyzing Miasma (900502): Inflict Paralyze (100%) on one enemy
green += 1
melon = True # reset next turn
elif random() <= 0.05 and guava == False:
useSkill(15, 'random') # Immovable Miasma (900503): Inflict Petrify (100%) on one enemy
green += 1
guava = True # reset next turn
elif random() <= 0.00 and gourd == False:
useSkill(24, 'random') # Inescapable Putrefaction (900570): Remove resistances to Petrify from all enemies for 3 turns
gourd = True # reset next turn
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Red Sigil (900010784, 900010782)
# Race Demon
# Level 100
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 100000000
# MP 100000
# ATK 800
# DEF 99999
# MAG 800
# SPR 99999
#
#
# Damage resist
# physical 99%
# magical 99%
#
#
# Element resist
# Fire 99%
# Ice 99%
# Lightning 99%
# Water 99%
# Wind 99%
# Earth 99%
# Light 99%
# Dark 99%
# Non-Elemental 99%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Fire Weakness (900556) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Fire by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ice Weakness (900557) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Ice by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lightning Weakness (900558) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Lightning by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Water Weakness (900559) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Water by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wind Weakness (900560) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Wind by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Earth Weakness (900561) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Earth by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Light Weakness (900562) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Light by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Weakness (900563) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Dark by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Red Wave (900564) [Magic]
#
# Magic damage (24x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Raging Spirit (900565) [None]
#
# Inflict berserk (+300% ATK) on one enemy for one turn
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Foul Miasma (900499) [Magic]
#
# Inflict Poison (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Black Miasma (900500) [Magic]
#
# Inflict Blind (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Miasma (900501) [Magic]
#
# Inflict Confusion (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Paralyzing Miasma (900502) [Magic]
#
# Inflict Paralyze (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Immovable Miasma (900503) [Magic]
#
# Inflict Petrify (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Degeneration (900519) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce ATK by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Terror (900520) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce MAG by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Despair (900521) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce DEF by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Black Misery (900522) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce SPR by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Foul Stench (900566) [None]
#
# Remove resistances to Poison from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Unseen Mist (900567) [None]
#
# Remove resistances to Blind from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Stench (900568) [None]
#
# Remove resistances to Confusion from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Static Bile (900569) [None]
#
# Remove resistances to Paralyze from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Inescapable Putrefaction (900570) [None]
#
# Remove resistances to Petrify from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The red sigil has turned blue... (900576) [None]
#
# Summon Red Sigil (900010784)
# Instant KO (100%) to caster (ignores death resist)
# Unknown parameters: [1,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Self-Destruct (900580) [None]
#
# Instant KO (100%) to caster (ignores death resist)
# Unknown parameters: [1,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 9:
endTurn()
green = 0
elif unit('3:ally:1:Essence of Despair').is('dead'):
useSkill(26, 'random') # Self-Destruct (900580): Instant KO (100%) to caster (ignores death resist)
elif tiger == True and var_85 == False:
wait('non') # No action
var_85 = True # unknown flag type
tiger = False # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and var_61 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_61 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and var_62 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_62 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and var_63 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_63 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and var_61 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_61 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and var_62 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_62 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and var_63 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_63 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and var_64 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_64 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and var_65 == False:
useSkill(19, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_65 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and var_66 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_66 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and var_64 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_64 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and var_65 == False:
useSkill(19, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_65 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and var_66 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_66 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and var_67 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_67 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and var_68 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_68 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and var_69 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_69 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and var_67 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_67 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and var_68 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_68 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and var_69 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_69 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and var_70 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_70 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and var_71 == False:
useSkill(18, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_71 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and var_72 == False:
useSkill(20, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_72 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and var_70 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_70 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and var_71 == False:
useSkill(18, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_71 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and var_72 == False:
useSkill(20, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_72 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and var_73 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_73 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and var_74 == False:
useSkill(18, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_74 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and var_75 == False:
useSkill(20, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_75 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and var_73 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_73 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and var_74 == False:
useSkill(18, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_74 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and var_75 == False:
useSkill(20, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_75 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and var_76 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_76 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and var_77 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_77 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and var_78 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_78 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and var_76 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_76 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and var_77 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_77 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and var_78 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_78 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and var_79 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_79 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and var_80 == False:
useSkill(19, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_80 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and var_81 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_81 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and var_79 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_79 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and var_80 == False:
useSkill(19, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_80 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and var_81 == False:
useSkill(21, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_81 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and var_82 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_82 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and var_83 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_83 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and var_84 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_84 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and var_82 == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
var_82 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and var_83 == False:
useSkill(16, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_83 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and var_84 == False:
useSkill(23, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_84 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
ramen = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
sushi = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
bacon = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
steak = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
salad = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
fries = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
sugar = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
pizza = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
ramen = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
sushi = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
bacon = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
steak = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
salad = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
fries = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
sugar = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == True and berry == False:
useSkill(25, 'random') # The red sigil has turned blue... (900576): Summon Red Sigil (900010784), Instant KO (100%) to caster (ignores death resist)
pizza = False # persistent
elif tiger == False and var_85 == False:
wait('non') # No action
tiger = True # reset next turn
elif random() <= 0.20 and apple == False:
useSkill(1, 'random') # Fire Weakness (900556): Remove all buffs and debuffs from caster, Reduce resistance to Fire by 200% for 666 turns to caster
apple = True # reset next turn
ramen = True # persistent
elif random() <= 0.25 and apple == False:
useSkill(2, 'random') # Ice Weakness (900557): Remove all buffs and debuffs from caster, Reduce resistance to Ice by 200% for 666 turns to caster
apple = True # reset next turn
sushi = True # persistent
elif random() <= 0.32 and apple == False:
useSkill(3, 'random') # Lightning Weakness (900558): Remove all buffs and debuffs from caster, Reduce resistance to Lightning by 200% for 666 turns to caster
apple = True # reset next turn
bacon = True # persistent
elif random() <= 0.40 and apple == False:
useSkill(4, 'random') # Water Weakness (900559): Remove all buffs and debuffs from caster, Reduce resistance to Water by 200% for 666 turns to caster
apple = True # reset next turn
steak = True # persistent
elif random() <= 0.50 and apple == False:
useSkill(5, 'random') # Wind Weakness (900560): Remove all buffs and debuffs from caster, Reduce resistance to Wind by 200% for 666 turns to caster
apple = True # reset next turn
salad = True # persistent
elif random() <= 0.62 and apple == False:
useSkill(6, 'random') # Earth Weakness (900561): Remove all buffs and debuffs from caster, Reduce resistance to Earth by 200% for 666 turns to caster
apple = True # reset next turn
fries = True # persistent
elif random() <= 0.78 and apple == False:
useSkill(7, 'random') # Light Weakness (900562): Remove all buffs and debuffs from caster, Reduce resistance to Light by 200% for 666 turns to caster
apple = True # reset next turn
sugar = True # persistent
elif apple == False:
useSkill(8, 'random') # Dark Weakness (900563): Remove all buffs and debuffs from caster, Reduce resistance to Dark by 200% for 666 turns to caster
apple = True # reset next turn
pizza = True # persistent
elif peach == False:
useSkill(9, 'random') # Red Wave (900564): Magic damage (24x, MAG) to all enemies
peach = True # reset next turn
elif olive == False:
useSkill(10, 'highest SPR') # Raging Spirit (900565): Inflict berserk (+300% ATK) on one enemy for one turn
olive = True # reset next turn
elif random() <= 0.05 and mango == False:
useSkill(11, 'random') # Foul Miasma (900499): Inflict Poison (100%) on all enemies
green += 1
mango = True # reset next turn
elif random() <= 0.05 and lemon == False:
useSkill(12, 'random') # Black Miasma (900500): Inflict Blind (100%) on all enemies
green += 1
lemon = True # reset next turn
elif random() <= 0.05 and grape == False:
useSkill(13, 'random') # Chaotic Miasma (900501): Inflict Confusion (100%) on all enemies
green += 1
grape = True # reset next turn
elif random() <= 0.05 and melon == False:
useSkill(14, 'random') # Paralyzing Miasma (900502): Inflict Paralyze (100%) on one enemy
green += 1
melon = True # reset next turn
elif random() <= 0.05 and guava == False:
useSkill(15, 'random') # Immovable Miasma (900503): Inflict Petrify (100%) on one enemy
green += 1
guava = True # reset next turn
elif random() <= 0.00 and gourd == False:
useSkill(24, 'random') # Inescapable Putrefaction (900570): Remove resistances to Petrify from all enemies for 3 turns
gourd = True # reset next turn
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Blue Sigil (900010785)
# Race Demon
# Level 100
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 100000000
# MP 100000
# ATK 550
# DEF 99999
# MAG 500
# SPR 99999
#
#
# Damage resist
# physical 99%
# magical 99%
#
#
# Element resist
# Fire 99%
# Ice 99%
# Lightning 99%
# Water 99%
# Wind 99%
# Earth 99%
# Light 99%
# Dark 99%
# Non-Elemental 99%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Fire Weakness (900556) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Fire by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ice Weakness (900557) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Ice by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lightning Weakness (900558) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Lightning by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Water Weakness (900559) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Water by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wind Weakness (900560) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Wind by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Earth Weakness (900561) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Earth by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Light Weakness (900562) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Light by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Weakness (900563) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Dark by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blue Wave (900578) [Magic]
#
# Magic damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Foul Miasma (900499) [Magic]
#
# Inflict Poison (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Black Miasma (900500) [Magic]
#
# Inflict Blind (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Miasma (900501) [Magic]
#
# Inflict Confusion (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Paralyzing Miasma (900502) [Magic]
#
# Inflict Paralyze (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Immovable Miasma (900503) [Magic]
#
# Inflict Petrify (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Degeneration (900519) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce ATK by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Terror (900520) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce MAG by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Despair (900521) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce DEF by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Black Misery (900522) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce SPR by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Foul Stench (900566) [None]
#
# Remove resistances to Poison from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Unseen Mist (900567) [None]
#
# Remove resistances to Blind from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Stench (900568) [None]
#
# Remove resistances to Confusion from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Static Bile (900569) [None]
#
# Remove resistances to Paralyze from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The blue sigil has turned red... (900572) [None]
#
# Summon Red Sigil (900010781)
# Instant KO (100%) to caster (ignores death resist)
# Unknown parameters: [1,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Self-Destruct (900580) [None]
#
# Instant KO (100%) to caster (ignores death resist)
# Unknown parameters: [1,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 8:
endTurn()
otter = True # reset next turn
green = 0
pasta = False # persistent
elif unit('3:ally:1:Essence of Despair').is('dead'):
useSkill(24, 'random') # Self-Destruct (900580): Instant KO (100%) to caster (ignores death resist)
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and pasta == False and var_61 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_61 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and pasta == False and var_62 == False:
useSkill(15, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_62 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and pasta == False and var_63 == False:
useSkill(22, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_63 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and pasta == False and var_61 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_61 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and pasta == False and var_62 == False:
useSkill(15, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_62 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and pasta == False and var_63 == False:
useSkill(22, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_63 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and pasta == False and var_64 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_64 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and pasta == False and var_65 == False:
useSkill(18, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_65 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and pasta == False and var_66 == False:
useSkill(20, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_66 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and pasta == False and var_64 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_64 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and pasta == False and var_65 == False:
useSkill(18, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_65 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and pasta == False and var_66 == False:
useSkill(20, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_66 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and pasta == False and var_67 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_67 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and pasta == False and var_68 == False:
useSkill(16, 'random') # Dark Terror (900520): Magic damage (6x, MAG) to all enemies, Reduce MAG by 50% for 8 turns to all enemies
var_68 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and pasta == False and var_69 == False:
useSkill(22, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_69 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and pasta == False and var_67 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_67 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and pasta == False and var_68 == False:
useSkill(16, 'random') # Dark Terror (900520): Magic damage (6x, MAG) to all enemies, Reduce MAG by 50% for 8 turns to all enemies
var_68 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and pasta == False and var_69 == False:
useSkill(22, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_69 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and pasta == False and var_70 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_70 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and pasta == False and var_71 == False:
useSkill(18, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_71 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and pasta == False and var_72 == False:
useSkill(20, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_72 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and pasta == False and var_70 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_70 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and pasta == False and var_71 == False:
useSkill(18, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_71 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and pasta == False and var_72 == False:
useSkill(20, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_72 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and pasta == False and var_73 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_73 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and pasta == False and var_74 == False:
useSkill(17, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_74 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and pasta == False and var_75 == False:
useSkill(19, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_75 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and pasta == False and var_73 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_73 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and pasta == False and var_74 == False:
useSkill(17, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_74 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and pasta == False and var_75 == False:
useSkill(19, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_75 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and pasta == False and var_76 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_76 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and pasta == False and var_77 == False:
useSkill(16, 'random') # Dark Terror (900520): Magic damage (6x, MAG) to all enemies, Reduce MAG by 50% for 8 turns to all enemies
var_77 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and pasta == False and var_78 == False:
useSkill(20, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_78 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and pasta == False and var_76 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_76 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and pasta == False and var_77 == False:
useSkill(16, 'random') # Dark Terror (900520): Magic damage (6x, MAG) to all enemies, Reduce MAG by 50% for 8 turns to all enemies
var_77 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and pasta == False and var_78 == False:
useSkill(20, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_78 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and pasta == False and var_79 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_79 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and pasta == False and var_80 == False:
useSkill(18, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_80 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and pasta == False and var_81 == False:
useSkill(20, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_81 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and pasta == False and var_79 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_79 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and pasta == False and var_80 == False:
useSkill(18, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_80 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and pasta == False and var_81 == False:
useSkill(20, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_81 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and pasta == False and var_82 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_82 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and pasta == False and var_83 == False:
useSkill(15, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_83 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and pasta == False and var_84 == False:
useSkill(22, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_84 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and pasta == False and var_82 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_82 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and pasta == False and var_83 == False:
useSkill(15, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_83 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and pasta == False and var_84 == False:
useSkill(22, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_84 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
ramen = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
sushi = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
bacon = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
steak = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
salad = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
fries = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
sugar = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
pizza = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
ramen = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
sushi = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
bacon = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
steak = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
salad = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
fries = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
sugar = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
pizza = False # persistent
elif otter == True and var_85 == False:
useSkill(23, 'random') # The blue sigil has turned red... (900572): Summon Red Sigil (900010781), Instant KO (100%) to caster (ignores death resist)
otter = False # reset next turn
elif random() <= 0.20 and apple == False:
useSkill(1, 'random') # Fire Weakness (900556): Remove all buffs and debuffs from caster, Reduce resistance to Fire by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
ramen = True # persistent
elif random() <= 0.25 and apple == False:
useSkill(2, 'random') # Ice Weakness (900557): Remove all buffs and debuffs from caster, Reduce resistance to Ice by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
sushi = True # persistent
elif random() <= 0.32 and apple == False:
useSkill(3, 'random') # Lightning Weakness (900558): Remove all buffs and debuffs from caster, Reduce resistance to Lightning by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
bacon = True # persistent
elif random() <= 0.40 and apple == False:
useSkill(4, 'random') # Water Weakness (900559): Remove all buffs and debuffs from caster, Reduce resistance to Water by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
steak = True # persistent
elif random() <= 0.50 and apple == False:
useSkill(5, 'random') # Wind Weakness (900560): Remove all buffs and debuffs from caster, Reduce resistance to Wind by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
salad = True # persistent
elif random() <= 0.62 and apple == False:
useSkill(6, 'random') # Earth Weakness (900561): Remove all buffs and debuffs from caster, Reduce resistance to Earth by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
fries = True # persistent
elif random() <= 0.78 and apple == False:
useSkill(7, 'random') # Light Weakness (900562): Remove all buffs and debuffs from caster, Reduce resistance to Light by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
sugar = True # persistent
elif apple == False:
useSkill(8, 'random') # Dark Weakness (900563): Remove all buffs and debuffs from caster, Reduce resistance to Dark by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
pizza = True # persistent
elif peach == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
peach = True # reset next turn
elif random() <= 0.05 and olive == False:
useSkill(10, 'random') # Foul Miasma (900499): Inflict Poison (100%) on all enemies
green += 1
olive = True # reset next turn
elif random() <= 0.05 and mango == False:
useSkill(11, 'random') # Black Miasma (900500): Inflict Blind (100%) on all enemies
green += 1
mango = True # reset next turn
elif random() <= 0.05 and lemon == False:
useSkill(12, 'random') # Chaotic Miasma (900501): Inflict Confusion (100%) on all enemies
green += 1
lemon = True # reset next turn
elif random() <= 0.05 and grape == False:
useSkill(13, 'random') # Paralyzing Miasma (900502): Inflict Paralyze (100%) on one enemy
green += 1
grape = True # reset next turn
elif random() <= 0.05 and melon == False:
useSkill(14, 'random') # Immovable Miasma (900503): Inflict Petrify (100%) on one enemy
green += 1
melon = True # reset next turn
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Blue Sigil (900010786, 900010785)
# Race Demon
# Level 100
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 100000000
# MP 100000
# ATK 550
# DEF 99999
# MAG 500
# SPR 99999
#
#
# Damage resist
# physical 99%
# magical 99%
#
#
# Element resist
# Fire 99%
# Ice 99%
# Lightning 99%
# Water 99%
# Wind 99%
# Earth 99%
# Light 99%
# Dark 99%
# Non-Elemental 99%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Fire Weakness (900556) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Fire by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ice Weakness (900557) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Ice by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lightning Weakness (900558) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Lightning by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Water Weakness (900559) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Water by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wind Weakness (900560) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Wind by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Earth Weakness (900561) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Earth by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Light Weakness (900562) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Light by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Weakness (900563) [None]
#
# Remove all buffs and debuffs from caster
# Reduce resistance to Dark by 200% for 666 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blue Wave (900578) [Magic]
#
# Magic damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Foul Miasma (900499) [Magic]
#
# Inflict Poison (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Black Miasma (900500) [Magic]
#
# Inflict Blind (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Miasma (900501) [Magic]
#
# Inflict Confusion (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Paralyzing Miasma (900502) [Magic]
#
# Inflict Paralyze (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Immovable Miasma (900503) [Magic]
#
# Inflict Petrify (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Degeneration (900519) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce ATK by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Terror (900520) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce MAG by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Despair (900521) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce DEF by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Black Misery (900522) [Magic]
#
# Magic damage (6x, MAG) to all enemies
# Reduce SPR by 50% for 8 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Foul Stench (900566) [None]
#
# Remove resistances to Poison from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Unseen Mist (900567) [None]
#
# Remove resistances to Blind from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chaotic Stench (900568) [None]
#
# Remove resistances to Confusion from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Static Bile (900569) [None]
#
# Remove resistances to Paralyze from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The blue sigil has turned red... (900577) [None]
#
# Summon Red Sigil (900010782)
# Instant KO (100%) to caster (ignores death resist)
# Unknown parameters: [1,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Self-Destruct (900580) [None]
#
# Instant KO (100%) to caster (ignores death resist)
# Unknown parameters: [1,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 8:
endTurn()
otter = True # reset next turn
green = 0
pasta = False # persistent
elif unit('3:ally:1:Essence of Despair').is('dead'):
useSkill(24, 'random') # Self-Destruct (900580): Instant KO (100%) to caster (ignores death resist)
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and pasta == False and var_61 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_61 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and pasta == False and var_62 == False:
useSkill(15, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_62 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == False and pasta == False and var_63 == False:
useSkill(22, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_63 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and pasta == False and var_61 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_61 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and pasta == False and var_62 == False:
useSkill(15, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_62 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == False and pasta == False and var_63 == False:
useSkill(22, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_63 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and pasta == False and var_64 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_64 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and pasta == False and var_65 == False:
useSkill(18, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_65 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == False and pasta == False and var_66 == False:
useSkill(20, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_66 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and pasta == False and var_64 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_64 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and pasta == False and var_65 == False:
useSkill(18, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_65 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == False and pasta == False and var_66 == False:
useSkill(20, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_66 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and pasta == False and var_67 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_67 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and pasta == False and var_68 == False:
useSkill(16, 'random') # Dark Terror (900520): Magic damage (6x, MAG) to all enemies, Reduce MAG by 50% for 8 turns to all enemies
var_68 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == False and pasta == False and var_69 == False:
useSkill(22, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_69 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and pasta == False and var_67 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_67 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and pasta == False and var_68 == False:
useSkill(16, 'random') # Dark Terror (900520): Magic damage (6x, MAG) to all enemies, Reduce MAG by 50% for 8 turns to all enemies
var_68 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == False and pasta == False and var_69 == False:
useSkill(22, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_69 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and pasta == False and var_70 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_70 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and pasta == False and var_71 == False:
useSkill(18, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_71 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == False and pasta == False and var_72 == False:
useSkill(20, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_72 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and pasta == False and var_70 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_70 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and pasta == False and var_71 == False:
useSkill(18, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_71 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == False and pasta == False and var_72 == False:
useSkill(20, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_72 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and pasta == False and var_73 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_73 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and pasta == False and var_74 == False:
useSkill(17, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_74 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == False and pasta == False and var_75 == False:
useSkill(19, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_75 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and pasta == False and var_73 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_73 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and pasta == False and var_74 == False:
useSkill(17, 'random') # Despair (900521): Magic damage (6x, MAG) to all enemies, Reduce DEF by 50% for 8 turns to all enemies
var_74 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == False and pasta == False and var_75 == False:
useSkill(19, 'random') # Foul Stench (900566): Remove resistances to Poison from all enemies for 3 turns
var_75 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and pasta == False and var_76 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_76 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and pasta == False and var_77 == False:
useSkill(16, 'random') # Dark Terror (900520): Magic damage (6x, MAG) to all enemies, Reduce MAG by 50% for 8 turns to all enemies
var_77 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == False and pasta == False and var_78 == False:
useSkill(20, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_78 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and pasta == False and var_76 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_76 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and pasta == False and var_77 == False:
useSkill(16, 'random') # Dark Terror (900520): Magic damage (6x, MAG) to all enemies, Reduce MAG by 50% for 8 turns to all enemies
var_77 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == False and pasta == False and var_78 == False:
useSkill(20, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_78 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and pasta == False and var_79 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_79 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and pasta == False and var_80 == False:
useSkill(18, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_80 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == False and pasta == False and var_81 == False:
useSkill(20, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_81 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and pasta == False and var_79 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_79 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and pasta == False and var_80 == False:
useSkill(18, 'random') # Black Misery (900522): Magic damage (6x, MAG) to all enemies, Reduce SPR by 50% for 8 turns to all enemies
var_80 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == False and pasta == False and var_81 == False:
useSkill(20, 'random') # Unseen Mist (900567): Remove resistances to Blind from all enemies for 3 turns
var_81 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and pasta == False and var_82 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_82 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and pasta == False and var_83 == False:
useSkill(15, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_83 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == False and pasta == False and var_84 == False:
useSkill(22, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_84 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and pasta == False and var_82 == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
var_82 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and pasta == False and var_83 == False:
useSkill(15, 'random') # Degeneration (900519): Magic damage (6x, MAG) to all enemies, Reduce ATK by 50% for 8 turns to all enemies
var_83 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == False and pasta == False and var_84 == False:
useSkill(22, 'random') # Static Bile (900569): Remove resistances to Paralyze from all enemies for 3 turns
var_84 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
ramen = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and sushi == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
sushi = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and bacon == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
bacon = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and steak == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
steak = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and salad == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
salad = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and fries == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
fries = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and sugar == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
sugar = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and pizza == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
pizza = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
ramen = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and sushi == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
sushi = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and bacon == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
bacon = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and steak == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
steak = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and salad == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
salad = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and fries == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
fries = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and sugar == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
sugar = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and pizza == True and pasta == False:
wait('non') # No action
var_85 = True # unknown flag type
otter = False # reset next turn
pizza = False # persistent
elif otter == True and var_85 == False:
useSkill(23, 'random') # The blue sigil has turned red... (900577): Summon Red Sigil (900010782), Instant KO (100%) to caster (ignores death resist)
otter = False # reset next turn
elif random() <= 0.20 and apple == False:
useSkill(1, 'random') # Fire Weakness (900556): Remove all buffs and debuffs from caster, Reduce resistance to Fire by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
ramen = True # persistent
elif random() <= 0.25 and apple == False:
useSkill(2, 'random') # Ice Weakness (900557): Remove all buffs and debuffs from caster, Reduce resistance to Ice by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
sushi = True # persistent
elif random() <= 0.32 and apple == False:
useSkill(3, 'random') # Lightning Weakness (900558): Remove all buffs and debuffs from caster, Reduce resistance to Lightning by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
bacon = True # persistent
elif random() <= 0.40 and apple == False:
useSkill(4, 'random') # Water Weakness (900559): Remove all buffs and debuffs from caster, Reduce resistance to Water by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
steak = True # persistent
elif random() <= 0.50 and apple == False:
useSkill(5, 'random') # Wind Weakness (900560): Remove all buffs and debuffs from caster, Reduce resistance to Wind by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
salad = True # persistent
elif random() <= 0.62 and apple == False:
useSkill(6, 'random') # Earth Weakness (900561): Remove all buffs and debuffs from caster, Reduce resistance to Earth by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
fries = True # persistent
elif random() <= 0.78 and apple == False:
useSkill(7, 'random') # Light Weakness (900562): Remove all buffs and debuffs from caster, Reduce resistance to Light by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
sugar = True # persistent
elif apple == False:
useSkill(8, 'random') # Dark Weakness (900563): Remove all buffs and debuffs from caster, Reduce resistance to Dark by 200% for 666 turns to caster
apple = True # reset next turn
pasta = True # persistent
pizza = True # persistent
elif peach == False:
useSkill(9, 'random') # Blue Wave (900578): Magic damage (10x, MAG) to all enemies
peach = True # reset next turn
elif random() <= 0.05 and olive == False:
useSkill(10, 'random') # Foul Miasma (900499): Inflict Poison (100%) on all enemies
green += 1
olive = True # reset next turn
elif random() <= 0.05 and mango == False:
useSkill(11, 'random') # Black Miasma (900500): Inflict Blind (100%) on all enemies
green += 1
mango = True # reset next turn
elif random() <= 0.05 and lemon == False:
useSkill(12, 'random') # Chaotic Miasma (900501): Inflict Confusion (100%) on all enemies
green += 1
lemon = True # reset next turn
elif random() <= 0.05 and grape == False:
useSkill(13, 'random') # Paralyzing Miasma (900502): Inflict Paralyze (100%) on one enemy
green += 1
grape = True # reset next turn
elif random() <= 0.05 and melon == False:
useSkill(14, 'random') # Immovable Miasma (900503): Inflict Petrify (100%) on one enemy
green += 1
melon = True # reset next turn
else:
attack('random')
green += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment