Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active November 23, 2023 11:36
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/37bb3c5600e474bcc9735dc71f1a3f4a to your computer and use it in GitHub Desktop.
Save aEnigmatic/37bb3c5600e474bcc9735dc71f1a3f4a to your computer and use it in GitHub Desktop.
Warmachine of Unknown Origin
##
# Mission 'Warmachine of Unknown Origin' (95230101)
#
# Monsters
# * Lynx XO-5 (900011359)
#
##
##
# 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 fire or ice damage for ally (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 (Fire/Ice) (918043) [Player]
#
# Increase resistance to Fire and Ice 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 Lynx XO-5 (900011359)
# Race Machina, Human, Demon
# 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 -40%
# Ice -40%
# Lightning 85%
# Water 0%
# Wind 85%
# Earth 85%
# Light 0%
# Dark 85%
# 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
###
#
# Scorched Earth Protocol (902007) [Physical]
#
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Slayer Protocol (902006) [Physical]
#
# Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
# Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Subjugation Protocol (902004) [Physical]
#
# Physical damage (3x, ATK) per turn to all enemies for 3 turns
# Inflict Silence and Paralyze (100%) on one enemy
# Inflict Silence and Paralyze (100%) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if not var_61:
var_61 = True # reset next turn
useSkill(1, 'random') # Scorched Earth Protocol (902007): Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
return
if not var_62:
var_62 = True # reset next turn
useSkill(2, 'random') # Slayer Protocol (902006): Physical damage (3.5x, ATK) to all enemies (+100% accuracy), Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(2, 'random') # Slayer Protocol (902006): Physical damage (3.5x, ATK) to all enemies (+100% accuracy), Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
return
if not var_64:
var_64 = True # reset next turn
useSkill(3, 'random') # Subjugation Protocol (902004): Physical damage (3x, ATK) per turn to all enemies for 3 turns, Inflict Silence and Paralyze (100%) on one enemy, Inflict Silence and Paralyze (100%) on one enemy
return
else:
endTurn()
return
##
# Mission 'Warmachine of Unknown Origin' (95230102)
#
# Monsters
# * Lynx XO-5 (900011360)
#
##
##
# 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 fire or ice damage for ally (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 (Fire/Ice) (918043) [Player]
#
# Increase resistance to Fire and Ice 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 Lynx XO-5 (900011360, 900011359)
# Race Machina, Human, Demon
# 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 -40%
# Ice -40%
# Lightning 85%
# Water 0%
# Wind 85%
# Earth 85%
# Light 0%
# Dark 85%
# 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
###
#
# Scorched Earth Protocol (902007) [Physical]
#
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Slayer Protocol (902006) [Physical]
#
# Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
# Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Subjugation Protocol (902004) [Physical]
#
# Physical damage (3x, ATK) per turn to all enemies for 3 turns
# Inflict Silence and Paralyze (100%) on one enemy
# Inflict Silence and Paralyze (100%) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if not var_61:
var_61 = True # reset next turn
useSkill(1, 'random') # Scorched Earth Protocol (902007): Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
return
if not var_62:
var_62 = True # reset next turn
useSkill(2, 'random') # Slayer Protocol (902006): Physical damage (3.5x, ATK) to all enemies (+100% accuracy), Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(2, 'random') # Slayer Protocol (902006): Physical damage (3.5x, ATK) to all enemies (+100% accuracy), Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
return
if not var_64:
var_64 = True # reset next turn
useSkill(3, 'random') # Subjugation Protocol (902004): Physical damage (3x, ATK) per turn to all enemies for 3 turns, Inflict Silence and Paralyze (100%) on one enemy, Inflict Silence and Paralyze (100%) on one enemy
return
else:
endTurn()
return
##
# Mission 'Warmachine of Unknown Origin' (95230103)
#
# Monsters
# * Lynx XO-5 (900011361)
#
##
##
# 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 fire or ice damage for ally (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 (Fire/Ice) (918043) [Player]
#
# Increase resistance to Fire and Ice 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 Lynx XO-5 (900011361)
# Race Machina, Human, Demon
# 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 -40%
# Ice -40%
# Lightning 85%
# Water 0%
# Wind 85%
# Earth 85%
# Light 0%
# Dark 85%
# 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
###
#
# Remote Shutdown (902000) [None]
#
# Inflict Blind and Silence (100%) on all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hades Overdrive (902002) [None]
#
# Increase ATK and MAG by 75% for 2 turns to caster (can not be removed)
# Reduce resistance to Fire by 200% for 3 turns to all enemies
# Add Fire element (100%) to physical attacks for 2 turns to caster
# Increase Fire physical damage by 100% to caster for 2 turns
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hunter Protocol (902005) [Physical]
#
# Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
# Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
# Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Scorched Earth Protocol (902007) [Physical]
#
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Slayer Protocol (902006) [Physical]
#
# Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
# Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Subjugation Protocol (902004) [Physical]
#
# Physical damage (3x, ATK) per turn to all enemies for 3 turns
# Inflict Silence and Paralyze (100%) on one enemy
# Inflict Silence and Paralyze (100%) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Annihilation Protocol (902008) [None]
#
# Fixed damage (5000) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Remote Access (902001) [None]
#
# Inflict Paralyze and Confusion (100%) on all enemies
# Increase morale by 1000 for this team
#
# 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') # Remote Shutdown (902000): Inflict Blind and Silence (100%) on all enemies, Increase morale by 1000 for this team
return
if not var_62:
var_62 = True # reset next turn
useSkill(2, 'random') # Hades Overdrive (902002): Increase ATK and MAG by 75% for 2 turns to caster (can not be removed), Reduce resistance to Fire by 200% for 3 turns to all enemies, Add Fire element (100%) to physical attacks for 2 turns to caster, Increase Fire physical damage by 100% to caster for 2 turns, Increase morale by 1000 for this team
return
if not var_63:
var_63 = True # reset next turn
useSkill(3, 'random') # Hunter Protocol (902005): Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
return
if green == 2:
if not var_61:
var_61 = True # reset next turn
useSkill(4, 'random') # Scorched Earth Protocol (902007): Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
return
if not var_62:
var_62 = True # reset next turn
useSkill(5, 'random') # Slayer Protocol (902006): Physical damage (3.5x, ATK) to all enemies (+100% accuracy), Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(5, 'random') # Slayer Protocol (902006): Physical damage (3.5x, ATK) to all enemies (+100% accuracy), Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
return
if not var_64:
var_64 = True # reset next turn
useSkill(6, 'random') # Subjugation Protocol (902004): Physical damage (3x, ATK) per turn to all enemies for 3 turns, Inflict Silence and Paralyze (100%) on one enemy, Inflict Silence and Paralyze (100%) on one enemy
return
if green == 3:
if not var_61:
var_61 = True # reset next turn
useSkill(7, 'random') # Annihilation Protocol (902008): Fixed damage (5000) to all enemies
return
if not var_62:
var_62 = True # reset next turn
useSkill(7, 'random') # Annihilation Protocol (902008): Fixed damage (5000) to all enemies
return
if not var_63:
var_63 = True # reset next turn
green = 0
useSkill(8, 'random') # Remote Access (902001): Inflict Paralyze and Confusion (100%) on all enemies, Increase morale by 1000 for this team
return
else:
endTurn()
return
##
# Mission 'Warmachine of Unknown Origin' (95230104)
#
# Monsters
# * Lynx XO-5 (900011362)
#
##
##
# 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 fire or ice damage for ally (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 (Fire/Ice) (918043) [Player]
#
# Increase resistance to Fire and Ice 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 Lynx XO-5 (900011362, 900011361)
# Race Machina, Human, Demon
# 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 -40%
# Ice -40%
# Lightning 85%
# Water 0%
# Wind 85%
# Earth 85%
# Light 0%
# Dark 85%
# 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
###
#
# Remote Shutdown (902000) [None]
#
# Inflict Blind and Silence (100%) on all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hades Overdrive (902002) [None]
#
# Increase ATK and MAG by 75% for 2 turns to caster (can not be removed)
# Reduce resistance to Fire by 200% for 3 turns to all enemies
# Add Fire element (100%) to physical attacks for 2 turns to caster
# Increase Fire physical damage by 100% to caster for 2 turns
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hunter Protocol (902005) [Physical]
#
# Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
# Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
# Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Scorched Earth Protocol (902007) [Physical]
#
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Slayer Protocol (902006) [Physical]
#
# Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
# Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Subjugation Protocol (902004) [Physical]
#
# Physical damage (3x, ATK) per turn to all enemies for 3 turns
# Inflict Silence and Paralyze (100%) on one enemy
# Inflict Silence and Paralyze (100%) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Annihilation Protocol (902008) [None]
#
# Fixed damage (5000) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Remote Access (902001) [None]
#
# Inflict Paralyze and Confusion (100%) on all enemies
# Increase morale by 1000 for this team
#
# 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') # Remote Shutdown (902000): Inflict Blind and Silence (100%) on all enemies, Increase morale by 1000 for this team
return
if not var_62:
var_62 = True # reset next turn
useSkill(2, 'random') # Hades Overdrive (902002): Increase ATK and MAG by 75% for 2 turns to caster (can not be removed), Reduce resistance to Fire by 200% for 3 turns to all enemies, Add Fire element (100%) to physical attacks for 2 turns to caster, Increase Fire physical damage by 100% to caster for 2 turns, Increase morale by 1000 for this team
return
if not var_63:
var_63 = True # reset next turn
useSkill(3, 'random') # Hunter Protocol (902005): Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
return
if green == 2:
if not var_61:
var_61 = True # reset next turn
useSkill(4, 'random') # Scorched Earth Protocol (902007): Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
return
if not var_62:
var_62 = True # reset next turn
useSkill(5, 'random') # Slayer Protocol (902006): Physical damage (3.5x, ATK) to all enemies (+100% accuracy), Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(5, 'random') # Slayer Protocol (902006): Physical damage (3.5x, ATK) to all enemies (+100% accuracy), Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
return
if not var_64:
var_64 = True # reset next turn
useSkill(6, 'random') # Subjugation Protocol (902004): Physical damage (3x, ATK) per turn to all enemies for 3 turns, Inflict Silence and Paralyze (100%) on one enemy, Inflict Silence and Paralyze (100%) on one enemy
return
if green == 3:
if not var_61:
var_61 = True # reset next turn
useSkill(7, 'random') # Annihilation Protocol (902008): Fixed damage (5000) to all enemies
return
if not var_62:
var_62 = True # reset next turn
useSkill(7, 'random') # Annihilation Protocol (902008): Fixed damage (5000) to all enemies
return
if not var_63:
var_63 = True # reset next turn
green = 0
useSkill(8, 'random') # Remote Access (902001): Inflict Paralyze and Confusion (100%) on all enemies, Increase morale by 1000 for this team
return
else:
endTurn()
return
##
# Mission 'Warmachine of Unknown Origin' (95230105)
# Enemy has first strike!
#
# Monsters
# * Lynx XO-5 (900011363)
#
##
##
# 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 fire or ice damage for ally (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 (Fire/Ice) (918043) [Player]
#
# Increase resistance to Fire and Ice 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 Lynx XO-5 (900011363)
# Race Machina, Human, Demon
# 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 -40%
# Ice -40%
# Lightning 85%
# Water 0%
# Wind 85%
# Earth 85%
# Light 0%
# Dark 85%
# 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
###
#
# Combat Deployment III (901993) [None]
#
# Increase ATK and MAG by 50% for 3 turns to caster (can not be removed)
# Increase SPR by 75% for 3 turns to caster (can not be removed)
# Reduce damage taken from physical attacks taken by 75% to caster for 3 turns
# Reduce damage taken by magic attacks by 75% to caster for 3 turns
# Increase morale by 5000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Combat Deployment II (901994) [None]
#
# Increase ATK and MAG by 100% for 3 turns to caster (can not be removed)
# Increase SPR by 50% for 3 turns to caster (can not be removed)
# Reduce damage taken from physical attacks taken by 50% to caster for 3 turns
# Reduce damage taken by magic attacks by 50% to caster for 3 turns
# Increase morale by 3000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Combat Deployment I (901995) [None]
#
# Increase ATK and MAG by 150% for 3 turns to caster (can not be removed)
# Increase SPR by 25% for 3 turns to caster (can not be removed)
# Reduce damage taken from physical attacks taken by 25% to caster for 3 turns
# Reduce damage taken by magic attacks by 25% to caster for 3 turns
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Emergency Repair Protocol (901996) [None]
#
# Restore 25% HP to caster
# Increase DEF and SPR by 90% for 2 turns to caster (can not be removed)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Repair Protocol (901997) [None]
#
# Restore 2% HP to caster
# Increase DEF and SPR by 25% for 2 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Defragmentation Protocol (901998) [None]
#
# Remove all buffs from all enemies
# Remove all debuffs from caster
# Increase morale by 2000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Backdoor Protocol (901999) [None]
#
# Reduce ATK and MAG by 90% for 3 turns to all enemies
# Reduce DEF and SPR by 25% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Remote Shutdown (902000) [None]
#
# Inflict Blind and Silence (100%) on all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Remote Access (902001) [None]
#
# Inflict Paralyze and Confusion (100%) on all enemies
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hades Overdrive (902002) [None]
#
# Increase ATK and MAG by 75% for 2 turns to caster (can not be removed)
# Reduce resistance to Fire by 200% for 3 turns to all enemies
# Add Fire element (100%) to physical attacks for 2 turns to caster
# Increase Fire physical damage by 100% to caster for 2 turns
# Increase morale by 1000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Demonic Trojan (902003) [None]
#
# 90% HP damage to all enemies
# Reduce healing received by 50% to all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Subjugation Protocol (902004) [Physical]
#
# Physical damage (3x, ATK) per turn to all enemies for 3 turns
# Inflict Silence and Paralyze (100%) on one enemy
# Inflict Silence and Paralyze (100%) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hunter Protocol (902005) [Physical]
#
# Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
# Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
# Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Slayer Protocol (902006) [Physical]
#
# Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
# Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Scorched Earth Protocol (902007) [Physical]
#
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
# Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Annihilation Protocol (902008) [None]
#
# Fixed damage (5000) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Threat Disposal I (902009) [None]
#
# Increase ATK and MAG by 50% for one turn to caster
# Increase morale by 6000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Threat Disposal II (902010) [None]
#
# Increase ATK and MAG by 75% for one turn to caster
# Increase morale by 9000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Threat Disposal III (902011) [None]
#
# Increase ATK and MAG by 100% for one turn to caster
# Increase morale by 12000 for this team
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if isFirstTurn():
useSkill(11, 'random') # Demonic Trojan (902003): 90% HP damage to all enemies, Reduce healing received by 50% to all enemies for 3 turns
useSkill(7, 'random') # Backdoor Protocol (901999): Reduce ATK and MAG by 90% for 3 turns to all enemies, Reduce DEF and SPR by 25% for 3 turns to all enemies
useSkill(1, 'random') # Combat Deployment III (901993): Increase ATK and MAG by 50% for 3 turns to caster (can not be removed), Increase SPR by 75% for 3 turns to caster (can not be removed), Reduce damage taken from physical attacks taken by 75% to caster for 3 turns, Reduce damage taken by magic attacks by 75% to caster for 3 turns, Increase morale by 5000 for this team
endTurn()
return
if self.HP < 0.5 and once():
useSkill(4, 'random') # Emergency Repair Protocol (901996): Restore 25% HP to caster, Increase DEF and SPR by 90% for 2 turns to caster (can not be removed)
return
if self.HP < 0.75 and self.HP > 0.25:
if once():
useSkill(11, 'random') # Demonic Trojan (902003): 90% HP damage to all enemies, Reduce healing received by 50% to all enemies for 3 turns
return
if once():
useSkill(2, 'random') # Combat Deployment II (901994): Increase ATK and MAG by 100% for 3 turns to caster (can not be removed), Increase SPR by 50% for 3 turns to caster (can not be removed), Reduce damage taken from physical attacks taken by 50% to caster for 3 turns, Reduce damage taken by magic attacks by 50% to caster for 3 turns, Increase morale by 3000 for this team
return
if self.HP < 0.25:
if once():
useSkill(11, 'random') # Demonic Trojan (902003): 90% HP damage to all enemies, Reduce healing received by 50% to all enemies for 3 turns
return
if once():
useSkill(3, 'random') # Combat Deployment I (901995): Increase ATK and MAG by 150% for 3 turns to caster (can not be removed), Increase SPR by 25% for 3 turns to caster (can not be removed), Reduce damage taken from physical attacks taken by 25% to caster for 3 turns, Reduce damage taken by magic attacks by 25% to caster for 3 turns, Increase morale by 1000 for this team
return
if once():
useSkill(10, 'random') # Hades Overdrive (902002): Increase ATK and MAG by 75% for 2 turns to caster (can not be removed), Reduce resistance to Fire by 200% for 3 turns to all enemies, Add Fire element (100%) to physical attacks for 2 turns to caster, Increase Fire physical damage by 100% to caster for 2 turns, Increase morale by 1000 for this team
return
if not apple:
if not self.sufferedDamageLastTurn('physical', 'fire') \
or not self.sufferedDamageLastTurn('magical', 'fire') \
or not self.sufferedDamageLastTurn('magical|physical', 'ice'):
apple = True # reset next turn
wait()
return
if not berry:
if not self.sufferedDamageLastTurn('magical', 'fire') \
or not self.sufferedDamageLastTurn('magical', 'ice') \
or not self.sufferedDamageLastTurn('magical', 'aero|quake|thunder|water|dark|light'):
berry = True # reset next turn
wait()
return
if not apple and not var_65:
var_65 = True # reset next turn
useSkill(6, 'random') # Defragmentation Protocol (901998): Remove all buffs from all enemies, Remove all debuffs from caster, Increase morale by 2000 for this team
return
if berry:
if not var_66:
var_66 = True # unknown flag type (66)
useSkill(3, 'random') # Combat Deployment I (901995): Increase ATK and MAG by 150% for 3 turns to caster (can not be removed), Increase SPR by 25% for 3 turns to caster (can not be removed), Reduce damage taken from physical attacks taken by 25% to caster for 3 turns, Reduce damage taken by magic attacks by 25% to caster for 3 turns, Increase morale by 1000 for this team
return
if not var_67:
var_67 = True # unknown flag type (67)
useSkill(13, 'highest MAG') # Hunter Protocol (902005): Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
return
if not var_68:
var_68 = True # unknown flag type (68)
useSkill(9, 'random') # Remote Access (902001): Inflict Paralyze and Confusion (100%) on all enemies, Increase morale by 1000 for this team
return
if self.HP < 0.75 and not peach:
white += 1
peach = True # reset next turn
wait()
return
if self.HP < 0.25 and not olive:
black += 1
olive = True # reset next turn
wait()
return
if not peach:
white = 0
peach = True # reset next turn
wait()
return
if not olive:
black = 0
olive = True # reset next turn
wait()
return
if self.HP < 0.75 and white == 2:
if not var_69:
var_69 = True # unknown flag type (69)
useSkill(7, 'random') # Backdoor Protocol (901999): Reduce ATK and MAG by 90% for 3 turns to all enemies, Reduce DEF and SPR by 25% for 3 turns to all enemies
return
if not var_70:
var_70 = True # unknown flag type (70)
white = 0
useSkill(5, 'random') # Repair Protocol (901997): Restore 2% HP to caster, Increase DEF and SPR by 25% for 2 turns to caster
return
if self.HP < 0.25 and black == 3 and not var_71:
var_71 = True # unknown flag type (71)
black = 0
useSkill(10, 'random') # Hades Overdrive (902002): Increase ATK and MAG by 75% for 2 turns to caster (can not be removed), Reduce resistance to Fire by 200% for 3 turns to all enemies, Add Fire element (100%) to physical attacks for 2 turns to caster, Increase Fire physical damage by 100% to caster for 2 turns, Increase morale by 1000 for this team
return
if not gourd:
mauve += 1
green += 1
gourd = True # reset next turn
wait()
return
if self.HP > 0.75:
if green == 1:
if not var_61:
var_61 = True # reset next turn
useSkill(12, 'random') # Subjugation Protocol (902004): Physical damage (3x, ATK) per turn to all enemies for 3 turns, Inflict Silence and Paralyze (100%) on one enemy, Inflict Silence and Paralyze (100%) on one enemy
return
if not var_62:
var_62 = True # reset next turn
useSkill(13, 'highest MAG') # Hunter Protocol (902005): Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(14, 'random') # Slayer Protocol (902006): Physical damage (3.5x, ATK) to all enemies (+100% accuracy), Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
return
if green == 2:
if not var_61:
var_61 = True # reset next turn
useSkill(8, 'random') # Remote Shutdown (902000): Inflict Blind and Silence (100%) on all enemies, Increase morale by 1000 for this team
return
if not var_62:
var_62 = True # reset next turn
useSkill(14, 'random') # Slayer Protocol (902006): Physical damage (3.5x, ATK) to all enemies (+100% accuracy), Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(16, 'random') # Annihilation Protocol (902008): Fixed damage (5000) to all enemies
return
if green == 3:
if not var_61:
var_61 = True # reset next turn
useSkill(9, 'random') # Remote Access (902001): Inflict Paralyze and Confusion (100%) on all enemies, Increase morale by 1000 for this team
return
if not var_62:
var_62 = True # reset next turn
useSkill(13, 'highest MAG') # Hunter Protocol (902005): Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
return
if not var_63:
var_63 = True # reset next turn
green = 0
useSkill(13, 'highest MAG') # Hunter Protocol (902005): Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
return
if self.HP < 0.75 and self.HP > 0.25:
if green == 1:
if not var_61:
var_61 = True # reset next turn
useSkill(8, 'random') # Remote Shutdown (902000): Inflict Blind and Silence (100%) on all enemies, Increase morale by 1000 for this team
return
if not var_62:
var_62 = True # reset next turn
useSkill(10, 'random') # Hades Overdrive (902002): Increase ATK and MAG by 75% for 2 turns to caster (can not be removed), Reduce resistance to Fire by 200% for 3 turns to all enemies, Add Fire element (100%) to physical attacks for 2 turns to caster, Increase Fire physical damage by 100% to caster for 2 turns, Increase morale by 1000 for this team
return
if not var_63:
var_63 = True # reset next turn
useSkill(13, 'highest MAG') # Hunter Protocol (902005): Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
return
if not var_64:
var_64 = True # reset next turn
useSkill(6, 'random') # Defragmentation Protocol (901998): Remove all buffs from all enemies, Remove all debuffs from caster, Increase morale by 2000 for this team
return
if green == 2:
if not var_61:
var_61 = True # reset next turn
useSkill(15, 'random') # Scorched Earth Protocol (902007): Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
return
if not var_62:
var_62 = True # reset next turn
useSkill(14, 'random') # Slayer Protocol (902006): Physical damage (3.5x, ATK) to all enemies (+100% accuracy), Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(14, 'random') # Slayer Protocol (902006): Physical damage (3.5x, ATK) to all enemies (+100% accuracy), Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
return
if not var_64:
var_64 = True # reset next turn
useSkill(12, 'random') # Subjugation Protocol (902004): Physical damage (3x, ATK) per turn to all enemies for 3 turns, Inflict Silence and Paralyze (100%) on one enemy, Inflict Silence and Paralyze (100%) on one enemy
return
if green == 3:
if not var_61:
var_61 = True # reset next turn
useSkill(16, 'random') # Annihilation Protocol (902008): Fixed damage (5000) to all enemies
return
if not var_62:
var_62 = True # reset next turn
useSkill(16, 'random') # Annihilation Protocol (902008): Fixed damage (5000) to all enemies
return
if not var_63:
var_63 = True # reset next turn
green = 0
useSkill(9, 'random') # Remote Access (902001): Inflict Paralyze and Confusion (100%) on all enemies, Increase morale by 1000 for this team
return
if self.HP < 0.25:
if green == 1:
if not var_61:
var_61 = True # reset next turn
useSkill(14, 'random') # Slayer Protocol (902006): Physical damage (3.5x, ATK) to all enemies (+100% accuracy), Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
return
if not var_62:
var_62 = True # reset next turn
useSkill(14, 'random') # Slayer Protocol (902006): Physical damage (3.5x, ATK) to all enemies (+100% accuracy), Physical damage (3.5x, ATK) to all enemies (+100% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(13, 'random') # Hunter Protocol (902005): Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
return
if not var_64:
var_64 = True # reset next turn
useSkill(5, 'random') # Repair Protocol (901997): Restore 2% HP to caster, Increase DEF and SPR by 25% for 2 turns to caster
return
if green == 2:
if not var_61:
var_61 = True # reset next turn
useSkill(15, 'random') # Scorched Earth Protocol (902007): Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy), Physical damage (0.3x, ATK) to all enemies (+200% accuracy)
return
if not var_62:
var_62 = True # reset next turn
useSkill(13, 'highest MAG') # Hunter Protocol (902005): Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
return
if not var_63:
var_63 = True # reset next turn
useSkill(13, 'highest MAG') # Hunter Protocol (902005): Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
return
if not var_64:
var_64 = True # reset next turn
useSkill(13, 'highest MAG') # Hunter Protocol (902005): Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy), Physical damage (0.9x, ATK) to one enemy (+200% accuracy)
return
if green == 3:
if not var_61:
var_61 = True # reset next turn
useSkill(16, 'random') # Annihilation Protocol (902008): Fixed damage (5000) to all enemies
return
if not var_62:
var_62 = True # reset next turn
useSkill(16, 'random') # Annihilation Protocol (902008): Fixed damage (5000) to all enemies
return
if not var_63:
var_63 = True # reset next turn
useSkill(16, 'random') # Annihilation Protocol (902008): Fixed damage (5000) to all enemies
return
if not var_64:
var_64 = True # reset next turn
green = 0
useSkill(12, 'random') # Subjugation Protocol (902004): Physical damage (3x, ATK) per turn to all enemies for 3 turns, Inflict Silence and Paralyze (100%) on one enemy, Inflict Silence and Paralyze (100%) on one enemy
return
if mauve >= 16 and not var_74:
var_74 = True # unknown flag type (74)
useSkill(17, 'random') # Threat Disposal I (902009): Increase ATK and MAG by 50% for one turn to caster, Increase morale by 6000 for this team
return
if mauve >= 21 and not var_75:
var_75 = True # unknown flag type (75)
useSkill(18, 'random') # Threat Disposal II (902010): Increase ATK and MAG by 75% for one turn to caster, Increase morale by 9000 for this team
return
if mauve >= 26 and not var_76:
var_76 = True # unknown flag type (76)
useSkill(19, 'random') # Threat Disposal III (902011): Increase ATK and MAG by 100% for one turn to caster, Increase morale by 12000 for this team
return
else:
endTurn()
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment