Created
June 30, 2022 16:12
-
-
Save aEnigmatic/bf8fd857a0720151a32b7d548464f183 to your computer and use it in GitHub Desktop.
Assimilator of Unknown Origin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Mission 'Assimilator of Unknown Origin' (95060101) | |
# | |
# Battles | |
# * Thranothor | |
## | |
## | |
# 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) | |
# | |
## | |
# 40% - Rainbow Will (916515) [Player] | |
# | |
# Increase resistance to all elements by 60% 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 | |
# | |
## | |
# 80% - Salving Will (916516) [Player] | |
# | |
# Remove Zombie from all allies | |
# | |
## | |
# 90% - Motionless Despair (915927) [Enemy] | |
# | |
# Inflict Stop (100%) for 2 turns on one enemy | |
# | |
## | |
# 100% - Fortified Will (916517) [Player] | |
# | |
# Grant a 15000 HP shield to all allies for 3 turns | |
# | |
## | |
# 115% - Menacing Despair (916049) [Enemy] | |
# | |
# Reduce ATK, DEF, MAG and SPR by 90% for one turn to all enemies | |
# | |
## | |
# 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 Thranothor (900011199) | |
# Race Demon, Dragon | |
# Level 99 | |
# Actions 20-20 | |
# | |
# | |
# Stats | |
# HP 200000000 | |
# MP 100000 | |
# ATK 300 | |
# DEF 4000 | |
# MAG 300 | |
# SPR 4000 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 85% | |
# Ice 85% | |
# Lightning -25% | |
# Water 85% | |
# Wind -25% | |
# Earth -30% | |
# Light 85% | |
# Dark 85% | |
# Non-Elemental 50% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 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 | |
### | |
# | |
# Dragonbolt (901469) [Magic] | |
# | |
# Magic lightning damage (6x, MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dragonstorm (901470) [Magic] | |
# | |
# Magic lightning damage (2x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Soul Absorption (901471) [None] | |
# | |
# Hybrid* damage (0.05x, ATK & MAG) as MP drain (100%) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Abyssal Comet (901472) [Hybrid] | |
# | |
# Hybrid dark damage (5x, ATK & MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Abyssal Breath (901473) [Hybrid] | |
# | |
# Hybrid dark damage (3x, ATK & MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Crippling Weakness (901474) [None] | |
# | |
# Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Inescapable Fear (901475) [None] | |
# | |
# Increase physical evasion by 100% to all enemies for 3 turns | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Keen Claw (901476) [Physical] | |
# | |
# Physical damage (10x, ATK) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Flaming Laceration (901477) [Physical] | |
# | |
# Physical fire damage (15x, ATK) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Cross Claw (901478) [Physical] | |
# | |
# Physical damage (8.5x, ATK) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lacuna Breath (901479) [Magic] | |
# | |
# Magic damage (4x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lacuna Comet (901480) [Hybrid] | |
# | |
# Hybrid damage (6x, ATK & MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lacuna Ray (901481) [Magic] | |
# | |
# Magic damage (8.5x, MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if once(): | |
wait() # No action | |
honey = True # persistent | |
elif honey == True: | |
if apple == False: | |
useRandomSkill('random') # [?] | |
black = 0 | |
white = 0 | |
green = 0 | |
apple = True # reset next turn | |
elif green <= 5 and berry == False: | |
useSkill(1, 'random') # Dragonbolt (901469): Magic lightning damage (6x, MAG) to caster | |
green += 1 | |
elif white <= 5 and peach == False: | |
useSkill(2, 'random') # Dragonstorm (901470): Magic lightning damage (2x, MAG) to all enemies | |
white += 1 | |
elif mango == False: | |
useSkill(3, 'random') # Soul Absorption (901471): Hybrid* damage (0.05x, ATK & MAG) as MP drain (100%) to caster | |
mango = True # reset next turn | |
olive = True # reset next turn | |
peach = True # reset next turn | |
berry = True # reset next turn | |
ramen = True # persistent | |
honey = False # persistent | |
else: | |
# jump to next outer condition | |
elif ramen == True: | |
if apple == False: | |
wait() # No action | |
black = 0 | |
white = 0 | |
green = 0 | |
apple = True # reset next turn | |
elif berry == False: | |
useSkill(4, 'highest DEF') # Abyssal Comet (901472): Hybrid dark damage (5x, ATK & MAG) to caster | |
berry = True # reset next turn | |
elif green <= 3 and peach == False: | |
useSkill(5, 'random') # Abyssal Breath (901473): Hybrid dark damage (3x, ATK & MAG) to all enemies | |
green += 1 | |
elif mango == False: | |
useSkill(6, 'random') # Crippling Weakness (901474): Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies | |
mango = True # reset next turn | |
olive = True # reset next turn | |
peach = True # reset next turn | |
sushi = True # persistent | |
ramen = False # persistent | |
else: | |
# jump to next outer condition | |
elif sushi == True: | |
if apple == False: | |
wait() # No action | |
black = 0 | |
white = 0 | |
green = 0 | |
apple = True # reset next turn | |
elif berry == False: | |
useSkill(7, 'random') # Inescapable Fear (901475): Increase physical evasion by 100% to all enemies for 3 turns | |
berry = True # reset next turn | |
elif green <= 8 and olive == False: | |
if random() <= 0.50: | |
useSkill(8, 'random') # Keen Claw (901476): Physical damage (10x, ATK) to caster | |
green += 1 | |
else: | |
useSkill(9, 'random') # Flaming Laceration (901477): Physical fire damage (15x, ATK) to caster | |
green += 1 | |
elif mango == False: | |
wait() # No action | |
mango = True # reset next turn | |
olive = True # reset next turn | |
sushi = False # persistent | |
honey = True # persistent | |
else: | |
# jump to next outer condition | |
elif random() <= 0.25: | |
useSkill(10, 'random') # Cross Claw (901478): Physical damage (8.5x, ATK) to caster | |
elif random() <= 0.20 and black <= 4: | |
useSkill(11, 'random') # Lacuna Breath (901479): Magic damage (4x, MAG) to all enemies | |
black += 1 | |
elif random() <= 0.42: | |
useSkill(12, 'random') # Lacuna Comet (901480): Hybrid damage (6x, ATK & MAG) to caster | |
elif random() <= 0.72: | |
useSkill(13, 'random') # Lacuna Ray (901481): Magic damage (8.5x, MAG) to caster | |
else: | |
attack('random') | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Mission 'Assimilator of Unknown Origin' (95060102) | |
# | |
# Battles | |
# * Thranothor | |
## | |
## | |
# 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) | |
# | |
## | |
# 40% - Rainbow Will (916515) [Player] | |
# | |
# Increase resistance to all elements by 60% 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 | |
# | |
## | |
# 80% - Salving Will (916516) [Player] | |
# | |
# Remove Zombie from all allies | |
# | |
## | |
# 90% - Motionless Despair (915927) [Enemy] | |
# | |
# Inflict Stop (100%) for 2 turns on one enemy | |
# | |
## | |
# 100% - Fortified Will (916517) [Player] | |
# | |
# Grant a 15000 HP shield to all allies for 3 turns | |
# | |
## | |
# 115% - Menacing Despair (916049) [Enemy] | |
# | |
# Reduce ATK, DEF, MAG and SPR by 90% for one turn to all enemies | |
# | |
## | |
# 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 Thranothor (900011200, 900011199) | |
# Race Demon, Dragon | |
# Level 99 | |
# Actions 20-20 | |
# | |
# | |
# Stats | |
# HP 300000000 | |
# MP 100000 | |
# ATK 700 | |
# DEF 10000 | |
# MAG 700 | |
# SPR 10000 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 85% | |
# Ice 85% | |
# Lightning -25% | |
# Water 85% | |
# Wind -25% | |
# Earth -30% | |
# Light 85% | |
# Dark 85% | |
# Non-Elemental 50% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 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 | |
### | |
# | |
# Dragonbolt (901469) [Magic] | |
# | |
# Magic lightning damage (6x, MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dragonstorm (901470) [Magic] | |
# | |
# Magic lightning damage (2x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Soul Absorption (901471) [None] | |
# | |
# Hybrid* damage (0.05x, ATK & MAG) as MP drain (100%) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Abyssal Comet (901472) [Hybrid] | |
# | |
# Hybrid dark damage (5x, ATK & MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Abyssal Breath (901473) [Hybrid] | |
# | |
# Hybrid dark damage (3x, ATK & MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Crippling Weakness (901474) [None] | |
# | |
# Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Inescapable Fear (901475) [None] | |
# | |
# Increase physical evasion by 100% to all enemies for 3 turns | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Keen Claw (901476) [Physical] | |
# | |
# Physical damage (10x, ATK) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Flaming Laceration (901477) [Physical] | |
# | |
# Physical fire damage (15x, ATK) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Cross Claw (901478) [Physical] | |
# | |
# Physical damage (8.5x, ATK) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lacuna Breath (901479) [Magic] | |
# | |
# Magic damage (4x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lacuna Comet (901480) [Hybrid] | |
# | |
# Hybrid damage (6x, ATK & MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lacuna Ray (901481) [Magic] | |
# | |
# Magic damage (8.5x, MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if once(): | |
wait() # No action | |
honey = True # persistent | |
elif honey == True: | |
if apple == False: | |
useRandomSkill('random') # [?] | |
black = 0 | |
white = 0 | |
green = 0 | |
apple = True # reset next turn | |
elif green <= 5 and berry == False: | |
useSkill(1, 'random') # Dragonbolt (901469): Magic lightning damage (6x, MAG) to caster | |
green += 1 | |
elif white <= 5 and peach == False: | |
useSkill(2, 'random') # Dragonstorm (901470): Magic lightning damage (2x, MAG) to all enemies | |
white += 1 | |
elif mango == False: | |
useSkill(3, 'random') # Soul Absorption (901471): Hybrid* damage (0.05x, ATK & MAG) as MP drain (100%) to caster | |
mango = True # reset next turn | |
olive = True # reset next turn | |
peach = True # reset next turn | |
berry = True # reset next turn | |
ramen = True # persistent | |
honey = False # persistent | |
else: | |
# jump to next outer condition | |
elif ramen == True: | |
if apple == False: | |
wait() # No action | |
black = 0 | |
white = 0 | |
green = 0 | |
apple = True # reset next turn | |
elif berry == False: | |
useSkill(4, 'highest DEF') # Abyssal Comet (901472): Hybrid dark damage (5x, ATK & MAG) to caster | |
berry = True # reset next turn | |
elif green <= 3 and peach == False: | |
useSkill(5, 'random') # Abyssal Breath (901473): Hybrid dark damage (3x, ATK & MAG) to all enemies | |
green += 1 | |
elif mango == False: | |
useSkill(6, 'random') # Crippling Weakness (901474): Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies | |
mango = True # reset next turn | |
olive = True # reset next turn | |
peach = True # reset next turn | |
sushi = True # persistent | |
ramen = False # persistent | |
else: | |
# jump to next outer condition | |
elif sushi == True: | |
if apple == False: | |
wait() # No action | |
black = 0 | |
white = 0 | |
green = 0 | |
apple = True # reset next turn | |
elif berry == False: | |
useSkill(7, 'random') # Inescapable Fear (901475): Increase physical evasion by 100% to all enemies for 3 turns | |
berry = True # reset next turn | |
elif green <= 8 and olive == False: | |
if random() <= 0.50: | |
useSkill(8, 'random') # Keen Claw (901476): Physical damage (10x, ATK) to caster | |
green += 1 | |
else: | |
useSkill(9, 'random') # Flaming Laceration (901477): Physical fire damage (15x, ATK) to caster | |
green += 1 | |
elif mango == False: | |
wait() # No action | |
mango = True # reset next turn | |
olive = True # reset next turn | |
sushi = False # persistent | |
honey = True # persistent | |
else: | |
# jump to next outer condition | |
elif random() <= 0.25: | |
useSkill(10, 'random') # Cross Claw (901478): Physical damage (8.5x, ATK) to caster | |
elif random() <= 0.20 and black <= 4: | |
useSkill(11, 'random') # Lacuna Breath (901479): Magic damage (4x, MAG) to all enemies | |
black += 1 | |
elif random() <= 0.42: | |
useSkill(12, 'random') # Lacuna Comet (901480): Hybrid damage (6x, ATK & MAG) to caster | |
elif random() <= 0.72: | |
useSkill(13, 'random') # Lacuna Ray (901481): Magic damage (8.5x, MAG) to caster | |
else: | |
attack('random') | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Mission 'Assimilator of Unknown Origin' (95060103) | |
# Enemy has first strike! | |
# | |
# Battles | |
# * Thranothor | |
## | |
## | |
# 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) | |
# | |
## | |
# 40% - Rainbow Will (916515) [Player] | |
# | |
# Increase resistance to all elements by 60% 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 | |
# | |
## | |
# 80% - Salving Will (916516) [Player] | |
# | |
# Remove Zombie from all allies | |
# | |
## | |
# 90% - Motionless Despair (915927) [Enemy] | |
# | |
# Inflict Stop (100%) for 2 turns on one enemy | |
# | |
## | |
# 100% - Fortified Will (916517) [Player] | |
# | |
# Grant a 15000 HP shield to all allies for 3 turns | |
# | |
## | |
# 115% - Menacing Despair (916049) [Enemy] | |
# | |
# Reduce ATK, DEF, MAG and SPR by 90% for one turn to all enemies | |
# | |
## | |
# 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 Thranothor (900011201) | |
# Race Demon, Dragon | |
# Level 99 | |
# Actions 20-20 | |
# | |
# | |
# Stats | |
# HP 400000000 | |
# MP 100000 | |
# ATK 1000 | |
# DEF 15000 | |
# MAG 1000 | |
# SPR 15000 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 85% | |
# Ice 85% | |
# Lightning -25% | |
# Water 85% | |
# Wind -25% | |
# Earth -30% | |
# Light 85% | |
# Dark 85% | |
# Non-Elemental 80% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 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 | |
### | |
# | |
# Dragonbolt (901469) [Magic] | |
# | |
# Magic lightning damage (6x, MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dragonstorm (901470) [Magic] | |
# | |
# Magic lightning damage (2x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Soul Absorption (901471) [None] | |
# | |
# Hybrid* damage (0.05x, ATK & MAG) as MP drain (100%) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Abyssal Comet (901472) [Hybrid] | |
# | |
# Hybrid dark damage (5x, ATK & MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Abyssal Breath (901473) [Hybrid] | |
# | |
# Hybrid dark damage (3x, ATK & MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Crippling Weakness (901474) [None] | |
# | |
# Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Inescapable Fear (901475) [None] | |
# | |
# Increase physical evasion by 100% to all enemies for 3 turns | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Keen Claw (901476) [Physical] | |
# | |
# Physical damage (10x, ATK) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Flaming Laceration (901477) [Physical] | |
# | |
# Physical fire damage (15x, ATK) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Cross Claw (901478) [Physical] | |
# | |
# Physical damage (8.5x, ATK) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lacuna Breath (901479) [Magic] | |
# | |
# Magic damage (4x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lacuna Comet (901480) [Hybrid] | |
# | |
# Hybrid damage (6x, ATK & MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lacuna Ray (901481) [Magic] | |
# | |
# Magic damage (8.5x, MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Otherworldly Scales I (901463) [None] | |
# | |
# Increase DEF and SPR by 80% for 5 turns to caster (can not be removed) | |
# Increase morale by 200% for this team | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lightning begins to gather (901459) [None] | |
# | |
# Reduce resistance to Lightning by 100% for 3 turns to all enemies | |
# Increase morale by 300% for this team | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Darkness begins to gather (901460) [None] | |
# | |
# Reduce resistance to Dark by 100% for 3 turns to all enemies | |
# Increase morale by 300% for this team | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Flames begin to gather (901461) [None] | |
# | |
# Reduce resistance to Fire by 100% for 3 turns to all enemies | |
# Increase morale by 300% for this team | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Power Assimilation (901466) [None] | |
# | |
# 50% HP damage to all enemies | |
# Hybrid* damage (0.01x, ATK & MAG) as MP drain (100%) to all enemies | |
# Increase ATK and MAG by 25% for one turn to caster | |
# Increase DEF and SPR by 80% for 5 turns to caster (can not be removed) | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# The scales are chipped... (901468) [None] | |
# | |
# Unknown active effect type '1021': [1,1,1,[2,4],0,0,0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if once(): | |
useSkill(14, 'random') # Otherworldly Scales I (901463): Increase DEF and SPR by 80% for 5 turns to caster (can not be removed), Increase morale by 200% for this team | |
elif once(): | |
useSkill(15, 'random') # Lightning begins to gather (901459): Reduce resistance to Lightning by 100% for 3 turns to all enemies, Increase morale by 300% for this team | |
elif once(): | |
endTurn() | |
manta = Timer.create() # timer | |
honey = True # persistent | |
elif honey == True: | |
if apple == False: | |
if self.sufferedDamageLastTurn('physical', 'quake') and var_64 == False: | |
wait('non') # No action | |
var_64 = True # reset next turn | |
apple = True # reset next turn | |
elif self.sufferedDamageLastTurn('magical', 'quake') and var_65 == False: | |
wait('non') # No action | |
var_65 = True # reset next turn | |
apple = True # reset next turn | |
elif var_66 == False: | |
useSkill(18, 'random') # Power Assimilation (901466): 50% HP damage to all enemies, Hybrid* damage (0.01x, ATK & MAG) as MP drain (100%) to all enemies, Increase ATK and MAG by 25% for one turn to caster, Increase DEF and SPR by 80% for 5 turns to caster (can not be removed) | |
var_66 = True # unknown flag type (66) | |
black = 0 | |
white = 0 | |
green = 0 | |
else: | |
# jump to next outer condition | |
elif apple == True and var_66 == False: | |
useSkill(19, 'random') # The scales are chipped... (901468): Unknown active effect type '1021': [1,1,1,[2,4],0,0,0,0] | |
var_66 = True # unknown flag type (66) | |
black = 0 | |
white = 0 | |
green = 0 | |
elif green <= 5 and berry == False: | |
useSkill(1, 'random') # Dragonbolt (901469): Magic lightning damage (6x, MAG) to caster | |
green += 1 | |
elif white <= 5 and peach == False: | |
useSkill(2, 'random') # Dragonstorm (901470): Magic lightning damage (2x, MAG) to all enemies | |
white += 1 | |
elif olive == False: | |
useSkill(16, 'random') # Darkness begins to gather (901460): Reduce resistance to Dark by 100% for 3 turns to all enemies, Increase morale by 300% for this team | |
olive = True # reset next turn | |
peach = True # reset next turn | |
berry = True # reset next turn | |
elif mango == False: | |
useSkill(3, 'random') # Soul Absorption (901471): Hybrid* damage (0.05x, ATK & MAG) as MP drain (100%) to caster | |
mango = True # reset next turn | |
ramen = True # persistent | |
honey = False # persistent | |
else: | |
# jump to next outer condition | |
elif ramen == True: | |
if apple == False: | |
if self.sufferedDamageLastTurn('physical', 'thunder') and var_64 == False: | |
wait() # No action | |
var_64 = True # reset next turn | |
apple = True # reset next turn | |
elif self.sufferedDamageLastTurn('magical', 'thunder') and var_65 == False: | |
wait() # No action | |
var_65 = True # reset next turn | |
apple = True # reset next turn | |
elif var_66 == False: | |
useSkill(18, 'random') # Power Assimilation (901466): 50% HP damage to all enemies, Hybrid* damage (0.01x, ATK & MAG) as MP drain (100%) to all enemies, Increase ATK and MAG by 25% for one turn to caster, Increase DEF and SPR by 80% for 5 turns to caster (can not be removed) | |
var_66 = True # unknown flag type (66) | |
black = 0 | |
white = 0 | |
green = 0 | |
else: | |
# jump to next outer condition | |
elif apple == True and var_66 == False: | |
useSkill(19, 'random') # The scales are chipped... (901468): Unknown active effect type '1021': [1,1,1,[2,4],0,0,0,0] | |
var_66 = True # unknown flag type (66) | |
black = 0 | |
white = 0 | |
green = 0 | |
elif berry == False: | |
useSkill(4, 'highest DEF') # Abyssal Comet (901472): Hybrid dark damage (5x, ATK & MAG) to caster | |
berry = True # reset next turn | |
elif green <= 3 and peach == False: | |
useSkill(5, 'random') # Abyssal Breath (901473): Hybrid dark damage (3x, ATK & MAG) to all enemies | |
green += 1 | |
elif olive == False: | |
useSkill(17, 'random') # Flames begin to gather (901461): Reduce resistance to Fire by 100% for 3 turns to all enemies, Increase morale by 300% for this team | |
olive = True # reset next turn | |
peach = True # reset next turn | |
elif mango == False: | |
useSkill(6, 'random') # Crippling Weakness (901474): Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies | |
mango = True # reset next turn | |
sushi = True # persistent | |
ramen = False # persistent | |
else: | |
# jump to next outer condition | |
elif sushi == True: | |
if apple == False: | |
if self.sufferedDamageLastTurn('physical', 'aero') and var_64 == False: | |
wait() # No action | |
var_64 = True # reset next turn | |
apple = True # reset next turn | |
elif self.sufferedDamageLastTurn('magical', 'aero') and var_65 == False: | |
wait() # No action | |
var_65 = True # reset next turn | |
apple = True # reset next turn | |
elif var_66 == False: | |
useSkill(18, 'random') # Power Assimilation (901466): 50% HP damage to all enemies, Hybrid* damage (0.01x, ATK & MAG) as MP drain (100%) to all enemies, Increase ATK and MAG by 25% for one turn to caster, Increase DEF and SPR by 80% for 5 turns to caster (can not be removed) | |
var_66 = True # unknown flag type (66) | |
black = 0 | |
white = 0 | |
green = 0 | |
else: | |
# jump to next outer condition | |
elif apple == True and var_66 == False: | |
useSkill(19, 'random') # The scales are chipped... (901468): Unknown active effect type '1021': [1,1,1,[2,4],0,0,0,0] | |
var_66 = True # unknown flag type (66) | |
black = 0 | |
white = 0 | |
green = 0 | |
elif berry == False: | |
useSkill(7, 'random') # Inescapable Fear (901475): Increase physical evasion by 100% to all enemies for 3 turns | |
berry = True # reset next turn | |
elif green <= 8 and olive == False: | |
if random() <= 0.50: | |
useSkill(8, 'random') # Keen Claw (901476): Physical damage (10x, ATK) to caster | |
green += 1 | |
else: | |
useSkill(9, 'random') # Flaming Laceration (901477): Physical fire damage (15x, ATK) to caster | |
green += 1 | |
elif mango == False: | |
useSkill(15, 'random') # Lightning begins to gather (901459): Reduce resistance to Lightning by 100% for 3 turns to all enemies, Increase morale by 300% for this team | |
mango = True # reset next turn | |
olive = True # reset next turn | |
sushi = False # persistent | |
honey = True # persistent | |
else: | |
# jump to next outer condition | |
elif random() <= 0.25: | |
useSkill(10, 'random') # Cross Claw (901478): Physical damage (8.5x, ATK) to caster | |
elif random() <= 0.20 and black <= 4: | |
useSkill(11, 'random') # Lacuna Breath (901479): Magic damage (4x, MAG) to all enemies | |
black += 1 | |
elif random() <= 0.42: | |
useSkill(12, 'random') # Lacuna Comet (901480): Hybrid damage (6x, ATK & MAG) to caster | |
elif random() <= 0.72: | |
useSkill(13, 'random') # Lacuna Ray (901481): Magic damage (8.5x, MAG) to caster | |
else: | |
attack('random') | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Mission 'Assimilator of Unknown Origin' (95060104) | |
# Enemy has first strike! | |
# | |
# Battles | |
# * Thranothor | |
## | |
## | |
# 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) | |
# | |
## | |
# 40% - Rainbow Will (916515) [Player] | |
# | |
# Increase resistance to all elements by 60% 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 | |
# | |
## | |
# 80% - Salving Will (916516) [Player] | |
# | |
# Remove Zombie from all allies | |
# | |
## | |
# 90% - Motionless Despair (915927) [Enemy] | |
# | |
# Inflict Stop (100%) for 2 turns on one enemy | |
# | |
## | |
# 100% - Fortified Will (916517) [Player] | |
# | |
# Grant a 15000 HP shield to all allies for 3 turns | |
# | |
## | |
# 115% - Menacing Despair (916049) [Enemy] | |
# | |
# Reduce ATK, DEF, MAG and SPR by 90% for one turn to all enemies | |
# | |
## | |
# 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 Thranothor (900011202, 900011201) | |
# Race Demon, Dragon | |
# Level 99 | |
# Actions 25-25 | |
# | |
# | |
# Stats | |
# HP 600000000 | |
# MP 100000 | |
# ATK 1300 | |
# DEF 22000 | |
# MAG 1300 | |
# SPR 22000 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 85% | |
# Ice 85% | |
# Lightning -25% | |
# Water 85% | |
# Wind -25% | |
# Earth -30% | |
# Light 85% | |
# Dark 85% | |
# Non-Elemental 80% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 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 | |
### | |
# | |
# Dragonbolt (901469) [Magic] | |
# | |
# Magic lightning damage (6x, MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dragonstorm (901470) [Magic] | |
# | |
# Magic lightning damage (2x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Soul Absorption (901471) [None] | |
# | |
# Hybrid* damage (0.05x, ATK & MAG) as MP drain (100%) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Abyssal Comet (901472) [Hybrid] | |
# | |
# Hybrid dark damage (5x, ATK & MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Abyssal Breath (901473) [Hybrid] | |
# | |
# Hybrid dark damage (3x, ATK & MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Crippling Weakness (901474) [None] | |
# | |
# Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Inescapable Fear (901475) [None] | |
# | |
# Increase physical evasion by 100% to all enemies for 3 turns | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Keen Claw (901476) [Physical] | |
# | |
# Physical damage (10x, ATK) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Flaming Laceration (901477) [Physical] | |
# | |
# Physical fire damage (15x, ATK) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Cross Claw (901478) [Physical] | |
# | |
# Physical damage (8.5x, ATK) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lacuna Breath (901479) [Magic] | |
# | |
# Magic damage (4x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lacuna Comet (901480) [Hybrid] | |
# | |
# Hybrid damage (6x, ATK & MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lacuna Ray (901481) [Magic] | |
# | |
# Magic damage (8.5x, MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Otherworldly Scales I (901463) [None] | |
# | |
# Increase DEF and SPR by 80% for 5 turns to caster (can not be removed) | |
# Increase morale by 200% for this team | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lightning begins to gather (901459) [None] | |
# | |
# Reduce resistance to Lightning by 100% for 3 turns to all enemies | |
# Increase morale by 300% for this team | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Darkness begins to gather (901460) [None] | |
# | |
# Reduce resistance to Dark by 100% for 3 turns to all enemies | |
# Increase morale by 300% for this team | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Flames begin to gather (901461) [None] | |
# | |
# Reduce resistance to Fire by 100% for 3 turns to all enemies | |
# Increase morale by 300% for this team | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Power Assimilation (901466) [None] | |
# | |
# 50% HP damage to all enemies | |
# Hybrid* damage (0.01x, ATK & MAG) as MP drain (100%) to all enemies | |
# Increase ATK and MAG by 25% for one turn to caster | |
# Increase DEF and SPR by 80% for 5 turns to caster (can not be removed) | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# The scales are chipped... (901468) [None] | |
# | |
# Unknown active effect type '1021': [1,1,1,[2,4],0,0,0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if once(): | |
useSkill(14, 'random') # Otherworldly Scales I (901463): Increase DEF and SPR by 80% for 5 turns to caster (can not be removed), Increase morale by 200% for this team | |
elif once(): | |
useSkill(15, 'random') # Lightning begins to gather (901459): Reduce resistance to Lightning by 100% for 3 turns to all enemies, Increase morale by 300% for this team | |
elif once(): | |
endTurn() | |
manta = Timer.create() # timer | |
honey = True # persistent | |
elif honey == True: | |
if apple == False: | |
if self.sufferedDamageLastTurn('physical', 'quake') and var_64 == False: | |
wait('non') # No action | |
var_64 = True # reset next turn | |
apple = True # reset next turn | |
elif self.sufferedDamageLastTurn('magical', 'quake') and var_65 == False: | |
wait('non') # No action | |
var_65 = True # reset next turn | |
apple = True # reset next turn | |
elif var_66 == False: | |
useSkill(18, 'random') # Power Assimilation (901466): 50% HP damage to all enemies, Hybrid* damage (0.01x, ATK & MAG) as MP drain (100%) to all enemies, Increase ATK and MAG by 25% for one turn to caster, Increase DEF and SPR by 80% for 5 turns to caster (can not be removed) | |
var_66 = True # unknown flag type (66) | |
black = 0 | |
white = 0 | |
green = 0 | |
else: | |
# jump to next outer condition | |
elif apple == True and var_66 == False: | |
useSkill(19, 'random') # The scales are chipped... (901468): Unknown active effect type '1021': [1,1,1,[2,4],0,0,0,0] | |
var_66 = True # unknown flag type (66) | |
black = 0 | |
white = 0 | |
green = 0 | |
elif green <= 5 and berry == False: | |
useSkill(1, 'random') # Dragonbolt (901469): Magic lightning damage (6x, MAG) to caster | |
green += 1 | |
elif white <= 5 and peach == False: | |
useSkill(2, 'random') # Dragonstorm (901470): Magic lightning damage (2x, MAG) to all enemies | |
white += 1 | |
elif olive == False: | |
useSkill(16, 'random') # Darkness begins to gather (901460): Reduce resistance to Dark by 100% for 3 turns to all enemies, Increase morale by 300% for this team | |
olive = True # reset next turn | |
peach = True # reset next turn | |
berry = True # reset next turn | |
elif mango == False: | |
useSkill(3, 'random') # Soul Absorption (901471): Hybrid* damage (0.05x, ATK & MAG) as MP drain (100%) to caster | |
mango = True # reset next turn | |
ramen = True # persistent | |
honey = False # persistent | |
else: | |
# jump to next outer condition | |
elif ramen == True: | |
if apple == False: | |
if self.sufferedDamageLastTurn('physical', 'thunder') and var_64 == False: | |
wait() # No action | |
var_64 = True # reset next turn | |
apple = True # reset next turn | |
elif self.sufferedDamageLastTurn('magical', 'thunder') and var_65 == False: | |
wait() # No action | |
var_65 = True # reset next turn | |
apple = True # reset next turn | |
elif var_66 == False: | |
useSkill(18, 'random') # Power Assimilation (901466): 50% HP damage to all enemies, Hybrid* damage (0.01x, ATK & MAG) as MP drain (100%) to all enemies, Increase ATK and MAG by 25% for one turn to caster, Increase DEF and SPR by 80% for 5 turns to caster (can not be removed) | |
var_66 = True # unknown flag type (66) | |
black = 0 | |
white = 0 | |
green = 0 | |
else: | |
# jump to next outer condition | |
elif apple == True and var_66 == False: | |
useSkill(19, 'random') # The scales are chipped... (901468): Unknown active effect type '1021': [1,1,1,[2,4],0,0,0,0] | |
var_66 = True # unknown flag type (66) | |
black = 0 | |
white = 0 | |
green = 0 | |
elif berry == False: | |
useSkill(4, 'highest DEF') # Abyssal Comet (901472): Hybrid dark damage (5x, ATK & MAG) to caster | |
berry = True # reset next turn | |
elif green <= 3 and peach == False: | |
useSkill(5, 'random') # Abyssal Breath (901473): Hybrid dark damage (3x, ATK & MAG) to all enemies | |
green += 1 | |
elif olive == False: | |
useSkill(17, 'random') # Flames begin to gather (901461): Reduce resistance to Fire by 100% for 3 turns to all enemies, Increase morale by 300% for this team | |
olive = True # reset next turn | |
peach = True # reset next turn | |
elif mango == False: | |
useSkill(6, 'random') # Crippling Weakness (901474): Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies | |
mango = True # reset next turn | |
sushi = True # persistent | |
ramen = False # persistent | |
else: | |
# jump to next outer condition | |
elif sushi == True: | |
if apple == False: | |
if self.sufferedDamageLastTurn('physical', 'aero') and var_64 == False: | |
wait() # No action | |
var_64 = True # reset next turn | |
apple = True # reset next turn | |
elif self.sufferedDamageLastTurn('magical', 'aero') and var_65 == False: | |
wait() # No action | |
var_65 = True # reset next turn | |
apple = True # reset next turn | |
elif var_66 == False: | |
useSkill(18, 'random') # Power Assimilation (901466): 50% HP damage to all enemies, Hybrid* damage (0.01x, ATK & MAG) as MP drain (100%) to all enemies, Increase ATK and MAG by 25% for one turn to caster, Increase DEF and SPR by 80% for 5 turns to caster (can not be removed) | |
var_66 = True # unknown flag type (66) | |
black = 0 | |
white = 0 | |
green = 0 | |
else: | |
# jump to next outer condition | |
elif apple == True and var_66 == False: | |
useSkill(19, 'random') # The scales are chipped... (901468): Unknown active effect type '1021': [1,1,1,[2,4],0,0,0,0] | |
var_66 = True # unknown flag type (66) | |
black = 0 | |
white = 0 | |
green = 0 | |
elif berry == False: | |
useSkill(7, 'random') # Inescapable Fear (901475): Increase physical evasion by 100% to all enemies for 3 turns | |
berry = True # reset next turn | |
elif green <= 8 and olive == False: | |
if random() <= 0.50: | |
useSkill(8, 'random') # Keen Claw (901476): Physical damage (10x, ATK) to caster | |
green += 1 | |
else: | |
useSkill(9, 'random') # Flaming Laceration (901477): Physical fire damage (15x, ATK) to caster | |
green += 1 | |
elif mango == False: | |
useSkill(15, 'random') # Lightning begins to gather (901459): Reduce resistance to Lightning by 100% for 3 turns to all enemies, Increase morale by 300% for this team | |
mango = True # reset next turn | |
olive = True # reset next turn | |
sushi = False # persistent | |
honey = True # persistent | |
else: | |
# jump to next outer condition | |
elif random() <= 0.25: | |
useSkill(10, 'random') # Cross Claw (901478): Physical damage (8.5x, ATK) to caster | |
elif random() <= 0.20 and black <= 4: | |
useSkill(11, 'random') # Lacuna Breath (901479): Magic damage (4x, MAG) to all enemies | |
black += 1 | |
elif random() <= 0.42: | |
useSkill(12, 'random') # Lacuna Comet (901480): Hybrid damage (6x, ATK & MAG) to caster | |
elif random() <= 0.72: | |
useSkill(13, 'random') # Lacuna Ray (901481): Magic damage (8.5x, MAG) to caster | |
else: | |
attack('random') | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Mission 'Assimilator of Unknown Origin' (95060105) | |
# Enemy has first strike! | |
# | |
# Battles | |
# * Thranothor | |
## | |
## | |
# 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) | |
# | |
## | |
# 40% - Rainbow Will (916515) [Player] | |
# | |
# Increase resistance to all elements by 60% 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 | |
# | |
## | |
# 80% - Salving Will (916516) [Player] | |
# | |
# Remove Zombie from all allies | |
# | |
## | |
# 90% - Motionless Despair (915927) [Enemy] | |
# | |
# Inflict Stop (100%) for 2 turns on one enemy | |
# | |
## | |
# 100% - Fortified Will (916517) [Player] | |
# | |
# Grant a 15000 HP shield to all allies for 3 turns | |
# | |
## | |
# 115% - Menacing Despair (916049) [Enemy] | |
# | |
# Reduce ATK, DEF, MAG and SPR by 90% for one turn to all enemies | |
# | |
## | |
# 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 Thranothor (900011203, 900011202) | |
# Race Demon, Dragon | |
# Level 99 | |
# Actions 25-25 | |
# | |
# | |
# Stats | |
# HP 1000000000 | |
# MP 100000 | |
# ATK 2000 | |
# DEF 40000 | |
# MAG 2000 | |
# SPR 40000 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 85% | |
# Ice 85% | |
# Lightning -25% | |
# Water 85% | |
# Wind -25% | |
# Earth -30% | |
# Light 85% | |
# Dark 85% | |
# Non-Elemental 80% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 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 | |
### | |
# | |
# Dragonbolt (901469) [Magic] | |
# | |
# Magic lightning damage (6x, MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dragonstorm (901470) [Magic] | |
# | |
# Magic lightning damage (2x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Soul Absorption (901471) [None] | |
# | |
# Hybrid* damage (0.05x, ATK & MAG) as MP drain (100%) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Abyssal Comet (901472) [Hybrid] | |
# | |
# Hybrid dark damage (5x, ATK & MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Abyssal Breath (901473) [Hybrid] | |
# | |
# Hybrid dark damage (3x, ATK & MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Crippling Weakness (901474) [None] | |
# | |
# Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Inescapable Fear (901475) [None] | |
# | |
# Increase physical evasion by 100% to all enemies for 3 turns | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Keen Claw (901476) [Physical] | |
# | |
# Physical damage (10x, ATK) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Flaming Laceration (901477) [Physical] | |
# | |
# Physical fire damage (15x, ATK) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Cross Claw (901478) [Physical] | |
# | |
# Physical damage (8.5x, ATK) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lacuna Breath (901479) [Magic] | |
# | |
# Magic damage (4x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lacuna Comet (901480) [Hybrid] | |
# | |
# Hybrid damage (6x, ATK & MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lacuna Ray (901481) [Magic] | |
# | |
# Magic damage (8.5x, MAG) to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Otherworldly Scales I (901463) [None] | |
# | |
# Increase DEF and SPR by 80% for 5 turns to caster (can not be removed) | |
# Increase morale by 200% for this team | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Lightning begins to gather (901459) [None] | |
# | |
# Reduce resistance to Lightning by 100% for 3 turns to all enemies | |
# Increase morale by 300% for this team | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Darkness begins to gather (901460) [None] | |
# | |
# Reduce resistance to Dark by 100% for 3 turns to all enemies | |
# Increase morale by 300% for this team | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Flames begin to gather (901461) [None] | |
# | |
# Reduce resistance to Fire by 100% for 3 turns to all enemies | |
# Increase morale by 300% for this team | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Power Assimilation (901466) [None] | |
# | |
# 50% HP damage to all enemies | |
# Hybrid* damage (0.01x, ATK & MAG) as MP drain (100%) to all enemies | |
# Increase ATK and MAG by 25% for one turn to caster | |
# Increase DEF and SPR by 80% for 5 turns to caster (can not be removed) | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# The scales are chipped... (901468) [None] | |
# | |
# Unknown active effect type '1021': [1,1,1,[2,4],0,0,0,0] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Corrupted Justice (901502) [None] | |
# | |
# Increase morale by 2000% for this team | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Final Origin (901465) [None] | |
# | |
# 90% HP damage to all enemies | |
# Reduce healing received by 90 for 3 to all enemies | |
# Increase DEF and SPR by 100% for 10 turns to caster (can not be removed) | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Otherworldly Scales II (901464) [None] | |
# | |
# Increase DEF and SPR by 80% for 8 turns to caster (can not be removed) | |
# Increase morale by 500% for this team | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dragon Leader (901467) [None] | |
# | |
# Increase ATK and MAG by 100% for 3 turns to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Elements begin to gather... (901462) [None] | |
# | |
# Reduce resistance to Fire, Lightning and Dark by 100% for 3 turns to all enemies | |
# Increase morale by 500% for this team | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Corrupted Justice (901502) [None] | |
# | |
# Increase morale by 2000% for this team | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if once(): | |
useSkill(14, 'random') # Otherworldly Scales I (901463): Increase DEF and SPR by 80% for 5 turns to caster (can not be removed), Increase morale by 200% for this team | |
elif once(): | |
useSkill(15, 'random') # Lightning begins to gather (901459): Reduce resistance to Lightning by 100% for 3 turns to all enemies, Increase morale by 300% for this team | |
elif once(): | |
endTurn() | |
manta = Timer.create() # timer | |
honey = True # persistent | |
elif manta == 11 and once(): | |
wait() # No action | |
bacon = True # persistent | |
elif manta == 16 and once(): | |
wait() # No action | |
steak = True # persistent | |
elif manta == 21 and once(): | |
wait() # No action | |
salad = True # persistent | |
elif bacon == True and var_61 == False: | |
useSkill(25, 'random') # Corrupted Justice (901502): Increase morale by 2000% for this team | |
var_61 = True # reset next turn | |
elif steak == True and var_62 == False: | |
useSkill(25, 'random') # Corrupted Justice (901502): Increase morale by 2000% for this team | |
var_62 = True # reset next turn | |
elif salad == True and var_63 == False: | |
useSkill(25, 'random') # Corrupted Justice (901502): Increase morale by 2000% for this team | |
var_63 = True # reset next turn | |
elif self.HP < 0.5: | |
if azure == 0 and once(): | |
useSkill(14, 'random') # Otherworldly Scales I (901463): Increase DEF and SPR by 80% for 5 turns to caster (can not be removed), Increase morale by 200% for this team | |
elif azure == 1 and once(): | |
useSkill(22, 'random') # Otherworldly Scales II (901464): Increase DEF and SPR by 80% for 8 turns to caster (can not be removed), Increase morale by 500% for this team | |
elif azure >= 2 and once(): | |
useSkill(21, 'random') # Final Origin (901465): 90% HP damage to all enemies, Reduce healing received by 90 for 3 to all enemies, Increase DEF and SPR by 100% for 10 turns to caster (can not be removed) | |
elif olive == False and once(): | |
useSkill(23, 'random') # Dragon Leader (901467): Increase ATK and MAG by 100% for 3 turns to caster | |
olive = True # reset next turn | |
elif mango == False and once(): | |
useSkill(24, 'random') # Elements begin to gather... (901462): Reduce resistance to Fire, Lightning and Dark by 100% for 3 turns to all enemies, Increase morale by 500% for this team | |
mango = True # reset next turn | |
elif once(): | |
endTurn() | |
pasta = True # persistent | |
else: | |
# jump to next outer condition | |
elif pasta == True: | |
if olive == False: | |
if (self.sufferedDamageLastTurn('physical', 'quake') and once()) or (self.sufferedDamageLastTurn('magical', 'quake') and once()): | |
wait() # No action | |
olive = True # reset next turn | |
else: | |
# jump to next outer condition | |
elif mango == False: | |
if (self.sufferedDamageLastTurn('physical', 'aero') and once()) or (self.sufferedDamageLastTurn('magical', 'aero') and once()): | |
wait() # No action | |
mango = True # reset next turn | |
else: | |
# jump to next outer condition | |
elif lemon == False: | |
if (self.sufferedDamageLastTurn('physical', 'thunder') and once()) or (self.sufferedDamageLastTurn('magical', 'thunder') and once()): | |
wait() # No action | |
lemon = True # reset next turn | |
else: | |
# jump to next outer condition | |
elif olive == True and mango == True and lemon == True and once(): | |
wait() # No action | |
grape = True # reset next turn | |
elif grape == True: | |
if once(): | |
useSkill(19, 'random') # The scales are chipped... (901468): Unknown active effect type '1021': [1,1,1,[2,4],0,0,0,0] | |
elif once(): | |
useSkill(15, 'random') # Lightning begins to gather (901459): Reduce resistance to Lightning by 100% for 3 turns to all enemies, Increase morale by 300% for this team | |
elif once(): | |
endTurn() | |
pasta = False # persistent | |
else: | |
# jump to next outer condition | |
elif grape == False: | |
if once() or once() or once(): | |
useSkill(18, 'random') # Power Assimilation (901466): 50% HP damage to all enemies, Hybrid* damage (0.01x, ATK & MAG) as MP drain (100%) to all enemies, Increase ATK and MAG by 25% for one turn to caster, Increase DEF and SPR by 80% for 5 turns to caster (can not be removed) | |
elif once(): | |
useSkill(15, 'random') # Lightning begins to gather (901459): Reduce resistance to Lightning by 100% for 3 turns to all enemies, Increase morale by 300% for this team | |
var_70 = True # unknown flag type (70) | |
elif once(): | |
endTurn() | |
pasta = False # persistent | |
honey = True # persistent | |
else: | |
# jump to next outer condition | |
else: | |
# jump to next outer condition | |
elif honey == True: | |
if apple == False: | |
if self.sufferedDamageLastTurn('physical', 'quake') and var_64 == False: | |
wait() # No action | |
var_64 = True # reset next turn | |
apple = True # reset next turn | |
elif self.sufferedDamageLastTurn('magical', 'quake') and var_65 == False: | |
wait() # No action | |
var_65 = True # reset next turn | |
apple = True # reset next turn | |
elif var_66 == False: | |
useSkill(18, 'random') # Power Assimilation (901466): 50% HP damage to all enemies, Hybrid* damage (0.01x, ATK & MAG) as MP drain (100%) to all enemies, Increase ATK and MAG by 25% for one turn to caster, Increase DEF and SPR by 80% for 5 turns to caster (can not be removed) | |
var_66 = True # unknown flag type (66) | |
azure += 1 | |
black = 0 | |
white = 0 | |
green = 0 | |
else: | |
# jump to next outer condition | |
elif apple == True and var_66 == False: | |
useSkill(19, 'random') # The scales are chipped... (901468): Unknown active effect type '1021': [1,1,1,[2,4],0,0,0,0] | |
var_66 = True # unknown flag type (66) | |
black = 0 | |
white = 0 | |
green = 0 | |
elif green <= 5 and berry == False: | |
useSkill(1, 'random') # Dragonbolt (901469): Magic lightning damage (6x, MAG) to caster | |
green += 1 | |
elif white <= 5 and peach == False: | |
useSkill(2, 'random') # Dragonstorm (901470): Magic lightning damage (2x, MAG) to all enemies | |
white += 1 | |
elif olive == False: | |
useSkill(16, 'random') # Darkness begins to gather (901460): Reduce resistance to Dark by 100% for 3 turns to all enemies, Increase morale by 300% for this team | |
olive = True # reset next turn | |
peach = True # reset next turn | |
berry = True # reset next turn | |
elif mango == False: | |
useSkill(3, 'random') # Soul Absorption (901471): Hybrid* damage (0.05x, ATK & MAG) as MP drain (100%) to caster | |
mango = True # reset next turn | |
ramen = True # persistent | |
honey = False # persistent | |
else: | |
# jump to next outer condition | |
elif ramen == True: | |
if apple == False: | |
if self.sufferedDamageLastTurn('physical', 'thunder') and var_64 == False: | |
wait() # No action | |
var_64 = True # reset next turn | |
apple = True # reset next turn | |
elif self.sufferedDamageLastTurn('magical', 'thunder') and var_65 == False: | |
wait() # No action | |
var_65 = True # reset next turn | |
apple = True # reset next turn | |
elif var_66 == False: | |
useSkill(18, 'random') # Power Assimilation (901466): 50% HP damage to all enemies, Hybrid* damage (0.01x, ATK & MAG) as MP drain (100%) to all enemies, Increase ATK and MAG by 25% for one turn to caster, Increase DEF and SPR by 80% for 5 turns to caster (can not be removed) | |
var_66 = True # unknown flag type (66) | |
azure += 1 | |
black = 0 | |
white = 0 | |
green = 0 | |
else: | |
# jump to next outer condition | |
elif apple == True and var_66 == False: | |
useSkill(19, 'random') # The scales are chipped... (901468): Unknown active effect type '1021': [1,1,1,[2,4],0,0,0,0] | |
var_66 = True # unknown flag type (66) | |
black = 0 | |
white = 0 | |
green = 0 | |
elif berry == False: | |
useSkill(4, 'highest DEF') # Abyssal Comet (901472): Hybrid dark damage (5x, ATK & MAG) to caster | |
berry = True # reset next turn | |
elif green <= 3 and peach == False: | |
useSkill(5, 'random') # Abyssal Breath (901473): Hybrid dark damage (3x, ATK & MAG) to all enemies | |
green += 1 | |
elif olive == False: | |
useSkill(17, 'random') # Flames begin to gather (901461): Reduce resistance to Fire by 100% for 3 turns to all enemies, Increase morale by 300% for this team | |
olive = True # reset next turn | |
peach = True # reset next turn | |
elif mango == False: | |
useSkill(6, 'random') # Crippling Weakness (901474): Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies | |
mango = True # reset next turn | |
sushi = True # persistent | |
ramen = False # persistent | |
else: | |
# jump to next outer condition | |
elif sushi == True: | |
if apple == False: | |
if self.sufferedDamageLastTurn('physical', 'aero') and var_64 == False: | |
wait() # No action | |
var_64 = True # reset next turn | |
apple = True # reset next turn | |
elif self.sufferedDamageLastTurn('magical', 'aero') and var_65 == False: | |
wait() # No action | |
var_65 = True # reset next turn | |
apple = True # reset next turn | |
elif var_66 == False: | |
useSkill(18, 'random') # Power Assimilation (901466): 50% HP damage to all enemies, Hybrid* damage (0.01x, ATK & MAG) as MP drain (100%) to all enemies, Increase ATK and MAG by 25% for one turn to caster, Increase DEF and SPR by 80% for 5 turns to caster (can not be removed) | |
var_66 = True # unknown flag type (66) | |
azure += 1 | |
black = 0 | |
white = 0 | |
green = 0 | |
else: | |
# jump to next outer condition | |
elif apple == True and var_66 == False: | |
useSkill(19, 'random') # The scales are chipped... (901468): Unknown active effect type '1021': [1,1,1,[2,4],0,0,0,0] | |
var_66 = True # unknown flag type (66) | |
black = 0 | |
white = 0 | |
green = 0 | |
elif berry == False: | |
useSkill(7, 'random') # Inescapable Fear (901475): Increase physical evasion by 100% to all enemies for 3 turns | |
berry = True # reset next turn | |
elif green <= 8 and olive == False: | |
if random() <= 0.50: | |
useSkill(8, 'random') # Keen Claw (901476): Physical damage (10x, ATK) to caster | |
green += 1 | |
else: | |
useSkill(9, 'random') # Flaming Laceration (901477): Physical fire damage (15x, ATK) to caster | |
green += 1 | |
elif mango == False: | |
useSkill(15, 'random') # Lightning begins to gather (901459): Reduce resistance to Lightning by 100% for 3 turns to all enemies, Increase morale by 300% for this team | |
mango = True # reset next turn | |
olive = True # reset next turn | |
sushi = False # persistent | |
honey = True # persistent | |
else: | |
# jump to next outer condition | |
elif random() <= 0.25: | |
useSkill(10, 'random') # Cross Claw (901478): Physical damage (8.5x, ATK) to caster | |
elif random() <= 0.20 and black <= 4: | |
useSkill(11, 'random') # Lacuna Breath (901479): Magic damage (4x, MAG) to all enemies | |
black += 1 | |
elif random() <= 0.42: | |
useSkill(12, 'random') # Lacuna Comet (901480): Hybrid damage (6x, ATK & MAG) to caster | |
elif random() <= 0.72: | |
useSkill(13, 'random') # Lacuna Ray (901481): Magic damage (8.5x, MAG) to caster | |
else: | |
attack('non') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment