Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active March 21, 2024 18:06
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/f856820787f5dcf9e947f287b5159dc0 to your computer and use it in GitHub Desktop.
Save aEnigmatic/f856820787f5dcf9e947f287b5159dc0 to your computer and use it in GitHub Desktop.
Sea Serpent of Unknown Origin
##
# Mission 'Sea Serpent of Unknown Origin' (95270101)
#
# Monsters
# * Thalassa (900011385)
#
##
##
# Morale Rules - Before Battle
##
#
# Begin battle with 5% additional morale for every 3 EX levels included in party.Begin battle with 5% additional morale if all units in party are at EX +3.
# All units in party are EX+3
#
##
##
# Morale Rules - During Battle
##
#
# [Enemy] Player unit is KO'ed
# [Player] Attack enemy's weakness (Once per ability cast)
# [Both] Inflict enemy with status ailment (Once per ailment per turn)
# [Both] Boost ATK, DEF, MAG, SPR or reduce damage taken for ally (Once per status effect per unit per turn)
# [Both] Reduce ATK, DEF, MAG, or SPR for enemy (Once per status effect per unit per turn)
# [Both] Restore HP or MP for ally (Once per ability cast)
# [Both] Boost elemental resistance for ally (Once per status effect per unit per turn)
# [Both] Boost resistance to status ailment (Once per status effect per unit per turn)
#
##
##
# Morale Thresholds
##
# 10% - Fatal Despair (915770) [Enemy]
#
# Instant KO (100%) to all enemies (ignores death resist)
#
##
# 20% - Remedial Will (915541) [Player]
#
# Remove Zombie from all allies
# Remove all debuffs from all allies
#
##
# 40% - Enduring Will (Water/Dark) (918382) [Player]
#
# Increase resistance to Lightning and Dark by 150% for one turn to all allies
#
##
# 50% - Resurging Will (915320) [Player]
#
# Restore 5000 HP to all allies
# Restore 500 MP to all allies
#
##
# 60% - Enervating Despair (915968) [Enemy]
#
# Remove all buffs from all enemies
# Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from all enemies for 2 turns
# Hybrid* damage (0.1x, ATK & MAG) as MP drain (10%) to all enemies
#
##
# 115% - Scarring Despair (916116) [Enemy]
#
# Reduce healing received by 90% to all enemies for 4 turns
#
##
# 140% - Motionless Despair (915927) [Enemy]
#
# Inflict Stop (100%) for 2 turns on one enemy
#
##
# 150% - Resilient Will (915321) [Player]
#
# Increase DEF and SPR by 400% for one turn to all allies (can not be removed)
#
##
# 180% - Resounding Will (915322) [Player]
#
# Increase ATK and MAG by 400% for one turn to all allies (can not be removed)
#
##
##
# Monster Info
##
#
# Monster Thalassa (900011385)
# Race Aquatic, Dragon, Beast
# Level 99
# Actions 10-10
#
#
# Stats
# HP 200000000
# MP 100000
# ATK 300
# DEF 4000
# MAG 300
# SPR 4000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 85%
# Lightning 85%
# Water -40%
# Wind 85%
# Earth 85%
# Light 0%
# Dark -40%
# Non-Elemental 50%
#
#
# Status resist (+0% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
# Unknown (7) +
#
###
###
# Passives
###
#
# TFA Passive 30/60 Tier 1 (920032) [Passive]
#
# Increase DEF and SPR by 60% and ATK and MAG by 30%
#
##
###
# Skills
###
#
# Serpent Lash (902147) [Physical]
#
# Physical damage (8x, ATK) to all enemies (+300% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Serpent Fang (902148) [Physical]
#
# Physical damage (15x, ATK) to one enemy (+300% accuracy)
# Reduce healing received by 80% to one enemy for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Asphyxiation (902141) [None]
#
# Reduce DEF by 90% for one turn to all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if not var_61:
var_61 = True # reset next turn
useSkill(1, 'random') # Serpent Lash (902147): Physical damage (8x, ATK) to all enemies (+300% accuracy)
return
if not var_62:
var_62 = True # reset next turn
useSkill(1, 'random') # Serpent Lash (902147): Physical damage (8x, ATK) to all enemies (+300% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(2, 'random') # Serpent Fang (902148): Physical damage (15x, ATK) to one enemy (+300% accuracy), Reduce healing received by 80% to one enemy for 3 turns
return
if not var_64:
var_64 = True # reset next turn
useSkill(2, 'random') # Serpent Fang (902148): Physical damage (15x, ATK) to one enemy (+300% accuracy), Reduce healing received by 80% to one enemy for 3 turns
return
if not var_65:
var_65 = True # reset next turn
useSkill(3, 'random') # Asphyxiation (902141): Reduce DEF by 90% for one turn to all enemies, Increase morale by 1000 for this team
return
else:
endTurn()
return
##
# Mission 'Sea Serpent of Unknown Origin' (95270102)
#
# Monsters
# * Thalassa (900011386)
#
##
##
# Morale Rules - Before Battle
##
#
# Begin battle with 5% additional morale.
#
##
##
# Morale Rules - During Battle
##
#
# [Enemy] Player unit is KO'ed
# [Player] Attack enemy's weakness (Once per ability cast)
# [Both] Inflict enemy with status ailment (Once per ailment per turn)
# [Both] Boost ATK, DEF, MAG, SPR or reduce damage taken for ally (Once per status effect per unit per turn)
# [Both] Reduce ATK, DEF, MAG, or SPR for enemy (Once per status effect per unit per turn)
# [Both] Restore HP or MP for ally (Once per ability cast)
# [Both] Boost elemental resistance for ally (Once per status effect per unit per turn)
# [Both] Boost resistance to status ailment (Once per status effect per unit per turn)
#
##
##
# Morale Thresholds
##
# 10% - Fatal Despair (915770) [Enemy]
#
# Instant KO (100%) to all enemies (ignores death resist)
#
##
# 20% - Remedial Will (915541) [Player]
#
# Remove Zombie from all allies
# Remove all debuffs from all allies
#
##
# 40% - Enduring Will (Water/Dark) (918382) [Player]
#
# Increase resistance to Lightning and Dark by 150% for one turn to all allies
#
##
# 50% - Resurging Will (915320) [Player]
#
# Restore 5000 HP to all allies
# Restore 500 MP to all allies
#
##
# 60% - Enervating Despair (915968) [Enemy]
#
# Remove all buffs from all enemies
# Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from all enemies for 2 turns
# Hybrid* damage (0.1x, ATK & MAG) as MP drain (10%) to all enemies
#
##
# 115% - Scarring Despair (916116) [Enemy]
#
# Reduce healing received by 90% to all enemies for 4 turns
#
##
# 140% - Motionless Despair (915927) [Enemy]
#
# Inflict Stop (100%) for 2 turns on one enemy
#
##
# 150% - Resilient Will (915321) [Player]
#
# Increase DEF and SPR by 400% for one turn to all allies (can not be removed)
#
##
# 180% - Resounding Will (915322) [Player]
#
# Increase ATK and MAG by 400% for one turn to all allies (can not be removed)
#
##
##
# Monster Info
##
#
# Monster Thalassa (900011386, 900011385)
# Race Aquatic, Dragon, Beast
# Level 99
# Actions 10-10
#
#
# Stats
# HP 300000000
# MP 100000
# ATK 700
# DEF 10000
# MAG 700
# SPR 10000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 85%
# Lightning 85%
# Water -40%
# Wind 85%
# Earth 85%
# Light 0%
# Dark -40%
# Non-Elemental 50%
#
#
# Status resist (+0% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
# Unknown (7) +
#
###
###
# Passives
###
#
# TFA Passive 40/70 Tier 2 (920033) [Passive]
#
# Increase DEF and SPR by 70% and ATK and MAG by 40%
#
##
###
# Skills
###
#
# Serpent Lash (902147) [Physical]
#
# Physical damage (8x, ATK) to all enemies (+300% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Serpent Fang (902148) [Physical]
#
# Physical damage (15x, ATK) to one enemy (+300% accuracy)
# Reduce healing received by 80% to one enemy for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Asphyxiation (902141) [None]
#
# Reduce DEF by 90% for one turn to all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if not var_61:
var_61 = True # reset next turn
useSkill(1, 'random') # Serpent Lash (902147): Physical damage (8x, ATK) to all enemies (+300% accuracy)
return
if not var_62:
var_62 = True # reset next turn
useSkill(1, 'random') # Serpent Lash (902147): Physical damage (8x, ATK) to all enemies (+300% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(2, 'random') # Serpent Fang (902148): Physical damage (15x, ATK) to one enemy (+300% accuracy), Reduce healing received by 80% to one enemy for 3 turns
return
if not var_64:
var_64 = True # reset next turn
useSkill(2, 'random') # Serpent Fang (902148): Physical damage (15x, ATK) to one enemy (+300% accuracy), Reduce healing received by 80% to one enemy for 3 turns
return
if not var_65:
var_65 = True # reset next turn
useSkill(3, 'random') # Asphyxiation (902141): Reduce DEF by 90% for one turn to all enemies, Increase morale by 1000 for this team
return
else:
endTurn()
return
##
# Mission 'Sea Serpent of Unknown Origin' (95270103)
#
# Monsters
# * Thalassa (900011387)
#
##
##
# Morale Rules - Before Battle
##
#
# Begin battle with 12% additional morale.
#
##
##
# Morale Rules - During Battle
##
#
# [Enemy] Player unit is KO'ed
# [Player] Attack enemy's weakness (Once per ability cast)
# [Both] Inflict enemy with status ailment (Once per ailment per turn)
# [Both] Boost ATK, DEF, MAG, SPR or reduce damage taken for ally (Once per status effect per unit per turn)
# [Both] Reduce ATK, DEF, MAG, or SPR for enemy (Once per status effect per unit per turn)
# [Both] Restore HP or MP for ally (Once per ability cast)
# [Both] Boost elemental resistance for ally (Once per status effect per unit per turn)
# [Both] Boost resistance to status ailment (Once per status effect per unit per turn)
#
##
##
# Morale Thresholds
##
# 10% - Fatal Despair (915770) [Enemy]
#
# Instant KO (100%) to all enemies (ignores death resist)
#
##
# 20% - Remedial Will (915541) [Player]
#
# Remove Zombie from all allies
# Remove all debuffs from all allies
#
##
# 40% - Enduring Will (Water/Dark) (918382) [Player]
#
# Increase resistance to Lightning and Dark by 150% for one turn to all allies
#
##
# 50% - Resurging Will (915320) [Player]
#
# Restore 5000 HP to all allies
# Restore 500 MP to all allies
#
##
# 60% - Enervating Despair (915968) [Enemy]
#
# Remove all buffs from all enemies
# Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from all enemies for 2 turns
# Hybrid* damage (0.1x, ATK & MAG) as MP drain (10%) to all enemies
#
##
# 115% - Scarring Despair (916116) [Enemy]
#
# Reduce healing received by 90% to all enemies for 4 turns
#
##
# 140% - Motionless Despair (915927) [Enemy]
#
# Inflict Stop (100%) for 2 turns on one enemy
#
##
# 150% - Resilient Will (915321) [Player]
#
# Increase DEF and SPR by 400% for one turn to all allies (can not be removed)
#
##
# 180% - Resounding Will (915322) [Player]
#
# Increase ATK and MAG by 400% for one turn to all allies (can not be removed)
#
##
##
# Monster Info
##
#
# Monster Thalassa (900011387)
# Race Aquatic, Dragon, Beast
# Level 99
# Actions 15-15
#
#
# Stats
# HP 400000000
# MP 100000
# ATK 1000
# DEF 15000
# MAG 1000
# SPR 15000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 85%
# Lightning 85%
# Water -40%
# Wind 85%
# Earth 85%
# Light 0%
# Dark -40%
# Non-Elemental 80%
#
#
# Status resist (+0% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
# Unknown (7) +
#
###
###
# Passives
###
#
# TFA Passive 50/80 Tier 3 (920034) [Passive]
#
# Increase DEF and SPR by 80% and ATK and MAG by 50%
#
##
###
# Skills
###
#
# Serpent Cry (902146) [Magic]
#
# Magic damage (5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Serpent Lash (902147) [Physical]
#
# Physical damage (8x, ATK) to all enemies (+300% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Serpent Fang (902148) [Physical]
#
# Physical damage (15x, ATK) to one enemy (+300% accuracy)
# Reduce healing received by 80% to one enemy for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Deep Blue Ocean (902139) [None]
#
# Reduce resistance to Water by 200% for 3 turns to all enemies
# Increase Water magic damage by 100% to caster for 3 turns
# Reduce SPR by 90% for one turn to all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Pitch Black Depths (902140) [None]
#
# Reduce resistance to Dark by 200% for 3 turns to all enemies
# Increase Dark magic damage by 100% to caster for 3 turns
# Reduce SPR by 90% for one turn to all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Asphyxiation (902141) [None]
#
# Reduce DEF by 90% for one turn to all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hydroblast (902142) [Magic]
#
# Magic water damage (25x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Necroblast (902143) [Magic]
#
# Magic dark damage (25x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hydra's Breath (902144) [Hybrid]
#
# Hybrid damage (25x, ATK & MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if not gourd:
green += 1
gourd = True # reset next turn
wait()
return
if green == 1:
if not var_61:
var_61 = True # reset next turn
useSkill(1, 'random') # Serpent Cry (902146): Magic damage (5x, MAG) to all enemies
return
if not var_62:
var_62 = True # reset next turn
useSkill(2, 'random') # Serpent Lash (902147): Physical damage (8x, ATK) to all enemies (+300% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(4, 'random') # Deep Blue Ocean (902139): Reduce resistance to Water by 200% for 3 turns to all enemies, Increase Water magic damage by 100% to caster for 3 turns, Reduce SPR by 90% for one turn to all enemies, Increase morale by 1000 for this team
return
if not var_64:
var_64 = True # reset next turn
useSkill(5, 'random') # Pitch Black Depths (902140): Reduce resistance to Dark by 200% for 3 turns to all enemies, Increase Dark magic damage by 100% to caster for 3 turns, Reduce SPR by 90% for one turn to all enemies, Increase morale by 1000 for this team
return
if green == 2:
if not var_61:
var_61 = True # reset next turn
useSkill(7, 'random') # Hydroblast (902142): Magic water damage (25x, MAG) to all enemies
return
if not var_62:
var_62 = True # reset next turn
useSkill(8, 'random') # Necroblast (902143): Magic dark damage (25x, MAG) to all enemies
return
if not var_63:
var_63 = True # reset next turn
useSkill(9, 'random') # Hydra's Breath (902144): Hybrid damage (25x, ATK & MAG) to all enemies
return
if not var_64:
var_64 = True # reset next turn
useSkill(6, 'random') # Asphyxiation (902141): Reduce DEF by 90% for one turn to all enemies, Increase morale by 1000 for this team
return
if green == 3:
if not var_61:
var_61 = True # reset next turn
useSkill(1, 'random') # Serpent Cry (902146): Magic damage (5x, MAG) to all enemies
return
if not var_62:
var_62 = True # reset next turn
useSkill(2, 'random') # Serpent Lash (902147): Physical damage (8x, ATK) to all enemies (+300% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(2, 'random') # Serpent Lash (902147): Physical damage (8x, ATK) to all enemies (+300% accuracy)
return
if not var_64:
var_64 = True # reset next turn
useSkill(3, 'random') # Serpent Fang (902148): Physical damage (15x, ATK) to one enemy (+300% accuracy), Reduce healing received by 80% to one enemy for 3 turns
return
if not var_65:
var_65 = True # reset next turn
green = 0
useSkill(3, 'random') # Serpent Fang (902148): Physical damage (15x, ATK) to one enemy (+300% accuracy), Reduce healing received by 80% to one enemy for 3 turns
return
else:
endTurn()
return
##
# Mission 'Sea Serpent of Unknown Origin' (95270104)
#
# Monsters
# * Thalassa (900011388)
#
##
##
# Morale Rules - Before Battle
##
#
# Begin battle with 20% additional morale.
#
##
##
# Morale Rules - During Battle
##
#
# [Enemy] Player unit is KO'ed
# [Player] Attack enemy's weakness (Once per ability cast)
# [Both] Inflict enemy with status ailment (Once per ailment per turn)
# [Both] Boost ATK, DEF, MAG, SPR or reduce damage taken for ally (Once per status effect per unit per turn)
# [Both] Reduce ATK, DEF, MAG, or SPR for enemy (Once per status effect per unit per turn)
# [Both] Restore HP or MP for ally (Once per ability cast)
# [Both] Boost elemental resistance for ally (Once per status effect per unit per turn)
# [Both] Boost resistance to status ailment (Once per status effect per unit per turn)
#
##
##
# Morale Thresholds
##
# 10% - Fatal Despair (915770) [Enemy]
#
# Instant KO (100%) to all enemies (ignores death resist)
#
##
# 20% - Remedial Will (915541) [Player]
#
# Remove Zombie from all allies
# Remove all debuffs from all allies
#
##
# 40% - Enduring Will (Water/Dark) (918382) [Player]
#
# Increase resistance to Lightning and Dark by 150% for one turn to all allies
#
##
# 50% - Resurging Will (915320) [Player]
#
# Restore 5000 HP to all allies
# Restore 500 MP to all allies
#
##
# 60% - Enervating Despair (915968) [Enemy]
#
# Remove all buffs from all enemies
# Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from all enemies for 2 turns
# Hybrid* damage (0.1x, ATK & MAG) as MP drain (10%) to all enemies
#
##
# 115% - Scarring Despair (916116) [Enemy]
#
# Reduce healing received by 90% to all enemies for 4 turns
#
##
# 140% - Motionless Despair (915927) [Enemy]
#
# Inflict Stop (100%) for 2 turns on one enemy
#
##
# 150% - Resilient Will (915321) [Player]
#
# Increase DEF and SPR by 400% for one turn to all allies (can not be removed)
#
##
# 180% - Resounding Will (915322) [Player]
#
# Increase ATK and MAG by 400% for one turn to all allies (can not be removed)
#
##
##
# Monster Info
##
#
# Monster Thalassa (900011388, 900011387)
# Race Aquatic, Dragon, Beast
# Level 99
# Actions 15-15
#
#
# Stats
# HP 600000000
# MP 100000
# ATK 1300
# DEF 22000
# MAG 1300
# SPR 22000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 85%
# Lightning 85%
# Water -40%
# Wind 85%
# Earth 85%
# Light 0%
# Dark -40%
# Non-Elemental 80%
#
#
# Status resist (+0% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
# Unknown (7) +
#
###
###
# Passives
###
#
# TFA Passive 60/90 Tier 4 (920035) [Passive]
#
# Increase DEF and SPR by 90% and ATK and MAG by 60%
#
##
###
# Skills
###
#
# Serpent Cry (902146) [Magic]
#
# Magic damage (5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Serpent Lash (902147) [Physical]
#
# Physical damage (8x, ATK) to all enemies (+300% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Serpent Fang (902148) [Physical]
#
# Physical damage (15x, ATK) to one enemy (+300% accuracy)
# Reduce healing received by 80% to one enemy for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Deep Blue Ocean (902139) [None]
#
# Reduce resistance to Water by 200% for 3 turns to all enemies
# Increase Water magic damage by 100% to caster for 3 turns
# Reduce SPR by 90% for one turn to all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Pitch Black Depths (902140) [None]
#
# Reduce resistance to Dark by 200% for 3 turns to all enemies
# Increase Dark magic damage by 100% to caster for 3 turns
# Reduce SPR by 90% for one turn to all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Asphyxiation (902141) [None]
#
# Reduce DEF by 90% for one turn to all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hydroblast (902142) [Magic]
#
# Magic water damage (25x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Necroblast (902143) [Magic]
#
# Magic dark damage (25x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hydra's Breath (902144) [Hybrid]
#
# Hybrid damage (25x, ATK & MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if not gourd:
green += 1
gourd = True # reset next turn
wait()
return
if green == 1:
if not var_61:
var_61 = True # reset next turn
useSkill(1, 'random') # Serpent Cry (902146): Magic damage (5x, MAG) to all enemies
return
if not var_62:
var_62 = True # reset next turn
useSkill(2, 'random') # Serpent Lash (902147): Physical damage (8x, ATK) to all enemies (+300% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(4, 'random') # Deep Blue Ocean (902139): Reduce resistance to Water by 200% for 3 turns to all enemies, Increase Water magic damage by 100% to caster for 3 turns, Reduce SPR by 90% for one turn to all enemies, Increase morale by 1000 for this team
return
if not var_64:
var_64 = True # reset next turn
useSkill(5, 'random') # Pitch Black Depths (902140): Reduce resistance to Dark by 200% for 3 turns to all enemies, Increase Dark magic damage by 100% to caster for 3 turns, Reduce SPR by 90% for one turn to all enemies, Increase morale by 1000 for this team
return
if green == 2:
if not var_61:
var_61 = True # reset next turn
useSkill(7, 'random') # Hydroblast (902142): Magic water damage (25x, MAG) to all enemies
return
if not var_62:
var_62 = True # reset next turn
useSkill(8, 'random') # Necroblast (902143): Magic dark damage (25x, MAG) to all enemies
return
if not var_63:
var_63 = True # reset next turn
useSkill(9, 'random') # Hydra's Breath (902144): Hybrid damage (25x, ATK & MAG) to all enemies
return
if not var_64:
var_64 = True # reset next turn
useSkill(6, 'random') # Asphyxiation (902141): Reduce DEF by 90% for one turn to all enemies, Increase morale by 1000 for this team
return
if green == 3:
if not var_61:
var_61 = True # reset next turn
useSkill(1, 'random') # Serpent Cry (902146): Magic damage (5x, MAG) to all enemies
return
if not var_62:
var_62 = True # reset next turn
useSkill(2, 'random') # Serpent Lash (902147): Physical damage (8x, ATK) to all enemies (+300% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(2, 'random') # Serpent Lash (902147): Physical damage (8x, ATK) to all enemies (+300% accuracy)
return
if not var_64:
var_64 = True # reset next turn
useSkill(3, 'random') # Serpent Fang (902148): Physical damage (15x, ATK) to one enemy (+300% accuracy), Reduce healing received by 80% to one enemy for 3 turns
return
if not var_65:
var_65 = True # reset next turn
green = 0
useSkill(3, 'random') # Serpent Fang (902148): Physical damage (15x, ATK) to one enemy (+300% accuracy), Reduce healing received by 80% to one enemy for 3 turns
return
else:
endTurn()
return
##
# Mission 'Sea Serpent of Unknown Origin' (95270105)
# Enemy has first strike!
#
# Monsters
# * Thalassa (900011389)
#
##
##
# Morale Rules - Before Battle
##
#
# Begin battle with 30% additional morale.
#
##
##
# Morale Rules - During Battle
##
#
# [Enemy] Player unit is KO'ed
# [Player] Attack enemy's weakness (Once per ability cast)
# [Both] Inflict enemy with status ailment (Once per ailment per turn)
# [Both] Boost ATK, DEF, MAG, SPR or reduce damage taken for ally (Once per status effect per unit per turn)
# [Both] Reduce ATK, DEF, MAG, or SPR for enemy (Once per status effect per unit per turn)
# [Both] Restore HP or MP for ally (Once per ability cast)
# [Both] Boost elemental resistance for ally (Once per status effect per unit per turn)
# [Both] Boost resistance to status ailment (Once per status effect per unit per turn)
#
##
##
# Morale Thresholds
##
# 10% - Fatal Despair (915770) [Enemy]
#
# Instant KO (100%) to all enemies (ignores death resist)
#
##
# 20% - Remedial Will (915541) [Player]
#
# Remove Zombie from all allies
# Remove all debuffs from all allies
#
##
# 40% - Enduring Will (Water/Dark) (918382) [Player]
#
# Increase resistance to Lightning and Dark by 150% for one turn to all allies
#
##
# 50% - Resurging Will (915320) [Player]
#
# Restore 5000 HP to all allies
# Restore 500 MP to all allies
#
##
# 60% - Enervating Despair (915968) [Enemy]
#
# Remove all buffs from all enemies
# Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from all enemies for 2 turns
# Hybrid* damage (0.1x, ATK & MAG) as MP drain (10%) to all enemies
#
##
# 115% - Scarring Despair (916116) [Enemy]
#
# Reduce healing received by 90% to all enemies for 4 turns
#
##
# 140% - Motionless Despair (915927) [Enemy]
#
# Inflict Stop (100%) for 2 turns on one enemy
#
##
# 150% - Resilient Will (915321) [Player]
#
# Increase DEF and SPR by 400% for one turn to all allies (can not be removed)
#
##
# 180% - Resounding Will (915322) [Player]
#
# Increase ATK and MAG by 400% for one turn to all allies (can not be removed)
#
##
##
# Monster Info
##
#
# Monster Thalassa (900011389)
# Race Aquatic, Dragon, Beast
# Level 99
# Actions 20-20
#
#
# Stats
# HP 800000000
# MP 100000
# ATK 2000
# DEF 40000
# MAG 2000
# SPR 40000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 85%
# Lightning 85%
# Water -40%
# Wind 85%
# Earth 85%
# Light 0%
# Dark -40%
# Non-Elemental 80%
#
#
# Status resist (+0% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
# Unknown (7) +
#
###
###
# Passives
###
#
# TFA Passive 70/100 Tier 5 (920036) [Passive]
#
# Increase DEF and SPR by 100% and ATK and MAG by 70%
#
##
###
# Skills
###
#
# Nightmare Hydra (902133) [None]
#
# Inflict Sleep (100%) on all enemies
# Increase ATK and MAG by 20% for 5 turns to caster
# Reduce damage taken from physical attacks taken by 99% to caster for 2 turns
# Reduce damage taken by magic attacks by 99% to caster for 2 turns
# Increase morale by 5000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Head Regeneration I (902134) [None]
#
# Decrease duration of the following effects on caster by 5: ATK boost, DEF boost, MAG boost and SPR boost
# Restore 5% HP to caster
# Increase ATK and MAG by 40% for 2 turns to caster (can not be removed)
# Increase DEF and SPR by 50% for 2 turns to caster (can not be removed)
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Head Regeneration II (902135) [None]
#
# Decrease duration of the following effects on caster by 2: ATK boost, DEF boost, MAG boost and SPR boost
# Restore 10% HP to caster
# Increase ATK and MAG by 60% for 2 turns to caster (can not be removed)
# Increase DEF and SPR by 30% for 2 turns to caster (can not be removed)
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Head Regeneration III (902136) [None]
#
# Decrease duration of the following effects on caster by 2: ATK boost, DEF boost, MAG boost and SPR boost
# Restore 15% HP to caster
# Increase ATK and MAG by 80% for 2 turns to caster (can not be removed)
# Increase DEF and SPR by 10% for 2 turns to caster (can not be removed)
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Head Regeneration IV (902137) [None]
#
# Decrease duration of the following effects on caster by 2: ATK boost, DEF boost, MAG boost and SPR boost
# Restore 20% HP to caster
# Increase ATK and MAG by 100% for 3 turns to caster (can not be removed)
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Complete Submersion (902138) [None]
#
# Remove all buffs from all enemies
# Reduce DEF and SPR by 80% for one turn to all enemies
# Reduce damage taken from physical attacks taken by 75% to caster for one turn
# Reduce damage taken by magic attacks by 75% to caster for one turn
# Increase ATK and MAG by 300% for one turn to caster (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Deep Blue Ocean (902139) [None]
#
# Reduce resistance to Water by 200% for 3 turns to all enemies
# Increase Water magic damage by 100% to caster for 3 turns
# Reduce SPR by 90% for one turn to all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Pitch Black Depths (902140) [None]
#
# Reduce resistance to Dark by 200% for 3 turns to all enemies
# Increase Dark magic damage by 100% to caster for 3 turns
# Reduce SPR by 90% for one turn to all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Asphyxiation (902141) [None]
#
# Reduce DEF by 90% for one turn to all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hydroblast (902142) [Magic]
#
# Magic water damage (25x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Necroblast (902143) [Magic]
#
# Magic dark damage (25x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hydra's Breath (902144) [Hybrid]
#
# Hybrid damage (25x, ATK & MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Undersea Tremor (902145) [Physical]
#
# Physical damage (5x, ATK) to all enemies (+300% accuracy)
# Physical damage (5x, ATK) to all enemies (+300% accuracy)
# Physical damage (1x, ATK) to all enemies (+300% accuracy)
# Physical damage (1x, ATK) to all enemies (+300% accuracy)
# Physical damage (1x, ATK) to all enemies (+300% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Serpent Cry (902146) [Magic]
#
# Magic damage (5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Serpent Lash (902147) [Physical]
#
# Physical damage (8x, ATK) to all enemies (+300% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Serpent Fang (902148) [Physical]
#
# Physical damage (15x, ATK) to one enemy (+300% accuracy)
# Reduce healing received by 80% to one enemy for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Serpent Sting (902149) [None]
#
# Inflict Poison (100%) on all enemies
# Remove resistances to Sleep from all enemies for one turn
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Slumbering Spell (902150) [None]
#
# Inflict Sleep (100%) on all enemies
# Remove resistances to Paralyze from all enemies for one turn
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shockwave Stun (902151) [None]
#
# Inflict Paralyze (100%) on all enemies
# Remove resistances to Confusion from all enemies for one turn
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Swirling Spin (902152) [None]
#
# Inflict Confusion (100%) on all enemies
# Remove resistances to Petrify from all enemies for one turn
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Stone-Binding Stare (902153) [None]
#
# Inflict Petrify (100%) on all enemies
# Remove resistances to Poison from all enemies for one turn
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Enhanced Focus Abilities enabled! (902154) [None]
#
# Unknown active effect type '1027': [[2,2,2,2],[918287,918289,918290,918292],1,0,0,0,0,[100043107,100043117,100043127,100043137,207002307,207002317,207002327,207002337,100043007,100043017,100043207,100043217,100043607,100043617,100043627,100043637,100043507,100043517,304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,100043807,100043817],0,1,902154]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focus Abilities enabled! (902155) [None]
#
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30010001,0,0,0,1,9021551]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30010002,0,0,0,1,9021552]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30010003,0,0,0,1,9021553]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30010004,0,0,0,1,9021554]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30010005,0,0,0,1,9021555]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focus Abilities enabled! (902156) [None]
#
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30010006,0,0,[206003507,206003517],1,9021561]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30010007,0,0,[207002307,207002317,207002327,207002337],1,9021562]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30010008,0,0,0,1,9021563]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30010009,0,0,0,1,9021564]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30010010,0,0,0,1,9021565]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focus Abilities enabled! (902157) [None]
#
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30010011,0,0,0,1,9021571]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30010012,0,0,0,1,9021572]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30010013,0,0,0,1,9021573]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30010014,0,0,0,1,9021574]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30010015,0,0,0,1,9021575]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focus Abilities enabled! (902158) [None]
#
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,40000001,0,0,0,1,9021581]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,40000002,0,0,0,1,9021582]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,40000003,0,0,0,1,9021583]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,40000004,0,0,[100044107,100044117,100044207,100044217],1,9021584]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focus Abilities enabled! (902159) [None]
#
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30011002,0,0,0,1,9021591]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30011003,0,0,0,1,9021592]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,40000012,0,0,[100043107,100043117,100043127,100043137,100043007,100043017,100043207,100043217,100043607,100043617,100043627,100043637,100043507,100043517,100043807,100043817],1,9021593]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,30020001,0,0,[304000707,304000717,304000607,304000617,304000807,304000817],1,9021584]
# Unknown active effect type '1027': [[2,2,2,2],[918284,918286,918290,918292],1,0,0,40000015,0,0,0,1,9021595]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Vertex Abilities enabled! (902128) [None]
#
# Unknown active effect type '1027': [2,918378,1,1,0,90000001,0,0,0,1,9021280]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if isFirstTurn():
white = 3 # += 3 ?
useSkill(1, 'random') # Nightmare Hydra (902133): Inflict Sleep (100%) on all enemies, Increase ATK and MAG by 20% for 5 turns to caster, Reduce damage taken from physical attacks taken by 99% to caster for 2 turns, Reduce damage taken by magic attacks by 99% to caster for 2 turns, Increase morale by 5000 for this team
endTurn()
return
if self.HP < 0.8 and once():
white += 1
useSkill(2, 'random') # Head Regeneration I (902134): Decrease duration of the following effects on caster by 5: ATK boost, DEF boost, MAG boost and SPR boost, Restore 5% HP to caster, Increase ATK and MAG by 40% for 2 turns to caster (can not be removed), Increase DEF and SPR by 50% for 2 turns to caster (can not be removed), Increase morale by 1000 for this team
return
if self.HP < 0.6 and once():
white += 1
useSkill(3, 'random') # Head Regeneration II (902135): Decrease duration of the following effects on caster by 2: ATK boost, DEF boost, MAG boost and SPR boost, Restore 10% HP to caster, Increase ATK and MAG by 60% for 2 turns to caster (can not be removed), Increase DEF and SPR by 30% for 2 turns to caster (can not be removed), Increase morale by 1000 for this team
return
if self.HP < 0.4 and once():
white += 1
useSkill(4, 'random') # Head Regeneration III (902136): Decrease duration of the following effects on caster by 2: ATK boost, DEF boost, MAG boost and SPR boost, Restore 15% HP to caster, Increase ATK and MAG by 80% for 2 turns to caster (can not be removed), Increase DEF and SPR by 10% for 2 turns to caster (can not be removed), Increase morale by 1000 for this team
return
if self.HP < 0.2 and once():
white += 1
useSkill(5, 'random') # Head Regeneration IV (902137): Decrease duration of the following effects on caster by 2: ATK boost, DEF boost, MAG boost and SPR boost, Restore 20% HP to caster, Increase ATK and MAG by 100% for 3 turns to caster (can not be removed), Increase morale by 1000 for this team
return
if not apple:
apple = True # reset next turn
if not self.sufferedDamageLastTurn('magical|physical', 'dark|water|fire|light'):
wait()
return
else:
useSkill(6, 'random') # Complete Submersion (902138): Remove all buffs from all enemies, Reduce DEF and SPR by 80% for one turn to all enemies, Reduce damage taken from physical attacks taken by 75% to caster for one turn, Reduce damage taken by magic attacks by 75% to caster for one turn, Increase ATK and MAG by 300% for one turn to caster (can not be removed)
return
if not gourd:
green += 1
gourd = True # reset next turn
wait()
return
if white == 1:
if not var_66:
var_66 = True # unknown flag type (66)
useSkill(17, 'random') # Serpent Sting (902149): Inflict Poison (100%) on all enemies, Remove resistances to Sleep from all enemies for one turn
return
if not var_67:
var_67 = True # unknown flag type (67)
useSkill(10, 'random') # Hydroblast (902142): Magic water damage (25x, MAG) to all enemies
return
if white == 2:
if not var_66:
var_66 = True # unknown flag type (66)
useSkill(17, 'random') # Serpent Sting (902149): Inflict Poison (100%) on all enemies, Remove resistances to Sleep from all enemies for one turn
return
if not var_67:
var_67 = True # unknown flag type (67)
useSkill(18, 'random') # Slumbering Spell (902150): Inflict Sleep (100%) on all enemies, Remove resistances to Paralyze from all enemies for one turn
return
if not var_68:
var_68 = True # unknown flag type (68)
useSkill(11, 'random') # Necroblast (902143): Magic dark damage (25x, MAG) to all enemies
return
if white == 3:
if not var_66:
var_66 = True # unknown flag type (66)
useSkill(17, 'random') # Serpent Sting (902149): Inflict Poison (100%) on all enemies, Remove resistances to Sleep from all enemies for one turn
return
if not var_67:
var_67 = True # unknown flag type (67)
useSkill(18, 'random') # Slumbering Spell (902150): Inflict Sleep (100%) on all enemies, Remove resistances to Paralyze from all enemies for one turn
return
if not var_68:
var_68 = True # unknown flag type (68)
useSkill(19, 'random') # Shockwave Stun (902151): Inflict Paralyze (100%) on all enemies, Remove resistances to Confusion from all enemies for one turn
return
if not var_69:
var_69 = True # unknown flag type (69)
useSkill(12, 'random') # Hydra's Breath (902144): Hybrid damage (25x, ATK & MAG) to all enemies
return
if white == 4:
if not var_66:
var_66 = True # unknown flag type (66)
useSkill(17, 'random') # Serpent Sting (902149): Inflict Poison (100%) on all enemies, Remove resistances to Sleep from all enemies for one turn
return
if not var_67:
var_67 = True # unknown flag type (67)
useSkill(18, 'random') # Slumbering Spell (902150): Inflict Sleep (100%) on all enemies, Remove resistances to Paralyze from all enemies for one turn
return
if not var_68:
var_68 = True # unknown flag type (68)
useSkill(19, 'random') # Shockwave Stun (902151): Inflict Paralyze (100%) on all enemies, Remove resistances to Confusion from all enemies for one turn
return
if not var_69:
var_69 = True # unknown flag type (69)
useSkill(20, 'random') # Swirling Spin (902152): Inflict Confusion (100%) on all enemies, Remove resistances to Petrify from all enemies for one turn
return
if not var_70:
var_70 = True # unknown flag type (70)
useSkill(13, 'random') # Undersea Tremor (902145): Physical damage (5x, ATK) to all enemies (+300% accuracy), Physical damage (5x, ATK) to all enemies (+300% accuracy), Physical damage (1x, ATK) to all enemies (+300% accuracy), Physical damage (1x, ATK) to all enemies (+300% accuracy), Physical damage (1x, ATK) to all enemies (+300% accuracy)
return
if white == 5:
if not var_66:
var_66 = True # unknown flag type (66)
useSkill(17, 'random') # Serpent Sting (902149): Inflict Poison (100%) on all enemies, Remove resistances to Sleep from all enemies for one turn
return
if not var_67:
var_67 = True # unknown flag type (67)
useSkill(18, 'random') # Slumbering Spell (902150): Inflict Sleep (100%) on all enemies, Remove resistances to Paralyze from all enemies for one turn
return
if not var_68:
var_68 = True # unknown flag type (68)
useSkill(19, 'random') # Shockwave Stun (902151): Inflict Paralyze (100%) on all enemies, Remove resistances to Confusion from all enemies for one turn
return
if not var_69:
var_69 = True # unknown flag type (69)
useSkill(20, 'random') # Swirling Spin (902152): Inflict Confusion (100%) on all enemies, Remove resistances to Petrify from all enemies for one turn
return
if not var_70:
var_70 = True # unknown flag type (70)
useSkill(21, 'random') # Stone-Binding Stare (902153): Inflict Petrify (100%) on all enemies, Remove resistances to Poison from all enemies for one turn
return
if not var_71:
var_71 = True # unknown flag type (71)
useSkill(13, 'random') # Undersea Tremor (902145): Physical damage (5x, ATK) to all enemies (+300% accuracy), Physical damage (5x, ATK) to all enemies (+300% accuracy), Physical damage (1x, ATK) to all enemies (+300% accuracy), Physical damage (1x, ATK) to all enemies (+300% accuracy), Physical damage (1x, ATK) to all enemies (+300% accuracy)
return
if green == 1:
if not var_61:
var_61 = True # reset next turn
useSkill(14, 'random') # Serpent Cry (902146): Magic damage (5x, MAG) to all enemies
return
if not var_62:
var_62 = True # reset next turn
useSkill(15, 'random') # Serpent Lash (902147): Physical damage (8x, ATK) to all enemies (+300% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(7, 'random') # Deep Blue Ocean (902139): Reduce resistance to Water by 200% for 3 turns to all enemies, Increase Water magic damage by 100% to caster for 3 turns, Reduce SPR by 90% for one turn to all enemies, Increase morale by 1000 for this team
return
if not var_64:
var_64 = True # reset next turn
useSkill(8, 'random') # Pitch Black Depths (902140): Reduce resistance to Dark by 200% for 3 turns to all enemies, Increase Dark magic damage by 100% to caster for 3 turns, Reduce SPR by 90% for one turn to all enemies, Increase morale by 1000 for this team
return
if green == 2:
if not var_61:
var_61 = True # reset next turn
useSkill(10, 'random') # Hydroblast (902142): Magic water damage (25x, MAG) to all enemies
return
if not var_62:
var_62 = True # reset next turn
useSkill(11, 'random') # Necroblast (902143): Magic dark damage (25x, MAG) to all enemies
return
if not var_63:
var_63 = True # reset next turn
useSkill(12, 'random') # Hydra's Breath (902144): Hybrid damage (25x, ATK & MAG) to all enemies
return
if not var_64:
var_64 = True # reset next turn
useSkill(9, 'random') # Asphyxiation (902141): Reduce DEF by 90% for one turn to all enemies, Increase morale by 1000 for this team
return
if green == 3:
if not var_61:
var_61 = True # reset next turn
useSkill(14, 'random') # Serpent Cry (902146): Magic damage (5x, MAG) to all enemies
return
if not var_62:
var_62 = True # reset next turn
useSkill(15, 'random') # Serpent Lash (902147): Physical damage (8x, ATK) to all enemies (+300% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(15, 'random') # Serpent Lash (902147): Physical damage (8x, ATK) to all enemies (+300% accuracy)
return
if not var_64:
var_64 = True # reset next turn
useSkill(16, 'random') # Serpent Fang (902148): Physical damage (15x, ATK) to one enemy (+300% accuracy), Reduce healing received by 80% to one enemy for 3 turns
return
if not var_65:
var_65 = True # reset next turn
green = 0
useSkill(16, 'random') # Serpent Fang (902148): Physical damage (15x, ATK) to one enemy (+300% accuracy), Reduce healing received by 80% to one enemy for 3 turns
return
else:
endTurn()
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment