Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created February 17, 2024 01:32
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/f277ee43ed1b52e8cb8a3860c53a25bf to your computer and use it in GitHub Desktop.
Save aEnigmatic/f277ee43ed1b52e8cb8a3860c53a25bf to your computer and use it in GitHub Desktop.
Sun Dragon of Unknown Origin
##
# Mission 'Sun Dragon of Unknown Origin' (95260101)
#
# Monsters
# * Helion (900011380)
#
##
##
# 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] Reduce ice, water, wind, or light resistance for enemy (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% - Barricading Will (Fire/Wind/Water/Light) (918315) [Player]
#
# Increase resistance to Fire, Water, Wind and Light by 75% for one turn to all allies
# Grant a 5000 HP shield to all allies for one turn
#
##
# 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
#
##
# 110% - Remedial Will (915541) [Player]
#
# Remove Zombie from all allies
# Remove all debuffs from all allies
#
##
# 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 Helion (900011380)
# Race Avian, Dragon, Fairy
# Level 99
# Actions 5-5
#
#
# Stats
# HP 200000000
# MP 100000
# ATK 300
# DEF 4000
# MAG 300
# SPR 4000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 85%
# Ice 0%
# Lightning 85%
# Water -40%
# Wind -40%
# 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
###
#
# Vulcan Claw (902110) [Physical]
#
# Physical fire damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Torrent Claw (902111) [Physical]
#
# Physical water damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flare Claw (902112) [Physical]
#
# Physical light damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tempest Claw (902113) [Physical]
#
# Physical wind damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Greedy Bite (902114) [Physical]
#
# Physical damage (80x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Piercing Feathers (902115) [Physical]
#
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
# Physical damage (5x, ATK) to all enemies (+100% accuracy)
# Physical damage (5x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.15:
useSkill(1, 'random') # Vulcan Claw (902110): Physical fire damage (20x, ATK) to all enemies (+100% accuracy)
return
if random() <= 0.15:
useSkill(2, 'random') # Torrent Claw (902111): Physical water damage (20x, ATK) to all enemies (+100% accuracy)
return
if random() <= 0.15:
useSkill(3, 'random') # Flare Claw (902112): Physical light damage (20x, ATK) to all enemies (+100% accuracy)
return
if random() <= 0.15:
useSkill(4, 'random') # Tempest Claw (902113): Physical wind damage (20x, ATK) to all enemies (+100% accuracy)
return
if random() <= 0.20:
useSkill(6, 'random') # Piercing Feathers (902115): Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (5x, ATK) to all enemies (+100% accuracy), Physical damage (5x, ATK) to all enemies (+100% accuracy)
return
else:
useSkill(5, 'random') # Greedy Bite (902114): Physical damage (80x, ATK) to one enemy (+100% accuracy)
return
##
# Mission 'Sun Dragon of Unknown Origin' (95260102)
#
# Monsters
# * Helion (900011381)
#
##
##
# 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] Reduce ice, water, wind, or light resistance for enemy (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% - Barricading Will (Fire/Wind/Water/Light) (918315) [Player]
#
# Increase resistance to Fire, Water, Wind and Light by 75% for one turn to all allies
# Grant a 5000 HP shield to all allies for one turn
#
##
# 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
#
##
# 110% - Remedial Will (915541) [Player]
#
# Remove Zombie from all allies
# Remove all debuffs from all allies
#
##
# 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 Helion (900011381, 900011380)
# Race Avian, Dragon, Fairy
# Level 99
# Actions 5-5
#
#
# Stats
# HP 300000000
# MP 100000
# ATK 700
# DEF 10000
# MAG 700
# SPR 10000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 85%
# Ice 0%
# Lightning 85%
# Water -40%
# Wind -40%
# 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
###
#
# Vulcan Claw (902110) [Physical]
#
# Physical fire damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Torrent Claw (902111) [Physical]
#
# Physical water damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flare Claw (902112) [Physical]
#
# Physical light damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tempest Claw (902113) [Physical]
#
# Physical wind damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Greedy Bite (902114) [Physical]
#
# Physical damage (80x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Piercing Feathers (902115) [Physical]
#
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
# Physical damage (5x, ATK) to all enemies (+100% accuracy)
# Physical damage (5x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.15:
useSkill(1, 'random') # Vulcan Claw (902110): Physical fire damage (20x, ATK) to all enemies (+100% accuracy)
return
if random() <= 0.15:
useSkill(2, 'random') # Torrent Claw (902111): Physical water damage (20x, ATK) to all enemies (+100% accuracy)
return
if random() <= 0.15:
useSkill(3, 'random') # Flare Claw (902112): Physical light damage (20x, ATK) to all enemies (+100% accuracy)
return
if random() <= 0.15:
useSkill(4, 'random') # Tempest Claw (902113): Physical wind damage (20x, ATK) to all enemies (+100% accuracy)
return
if random() <= 0.20:
useSkill(6, 'random') # Piercing Feathers (902115): Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (5x, ATK) to all enemies (+100% accuracy), Physical damage (5x, ATK) to all enemies (+100% accuracy)
return
else:
useSkill(5, 'random') # Greedy Bite (902114): Physical damage (80x, ATK) to one enemy (+100% accuracy)
return
##
# Mission 'Sun Dragon of Unknown Origin' (95260103)
#
# Monsters
# * Helion (900011382)
#
##
##
# 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] Reduce ice, water, wind, or light resistance for enemy (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% - Barricading Will (Fire/Wind/Water/Light) (918315) [Player]
#
# Increase resistance to Fire, Water, Wind and Light by 75% for one turn to all allies
# Grant a 5000 HP shield to all allies for one turn
#
##
# 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
#
##
# 110% - Remedial Will (915541) [Player]
#
# Remove Zombie from all allies
# Remove all debuffs from all allies
#
##
# 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 Helion (900011382)
# Race Avian, Dragon, Fairy
# Level 99
# Actions 10-10
#
#
# Stats
# HP 400000000
# MP 100000
# ATK 1000
# DEF 15000
# MAG 1000
# SPR 15000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 85%
# Ice 0%
# Lightning 85%
# Water -40%
# Wind -40%
# 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
###
#
# Vulcan Claw (902110) [Physical]
#
# Physical fire damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Torrent Claw (902111) [Physical]
#
# Physical water damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flare Claw (902112) [Physical]
#
# Physical light damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tempest Claw (902113) [Physical]
#
# Physical wind damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Greedy Bite (902114) [Physical]
#
# Physical damage (80x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Piercing Feathers (902115) [Physical]
#
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
# Physical damage (5x, ATK) to all enemies (+100% accuracy)
# Physical damage (5x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sunspot (902105) [None]
#
# 90% HP damage to all enemies
# Reduce healing received by 90% to all enemies for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Nature's Peril (902106) [None]
#
# Reduce resistance to Fire, Water, Wind and Light by 100% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blinding Flare (902104) [None]
#
# Inflict Blind (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if not apple:
green += 1
apple = True # reset next turn
wait()
return
if green == 1:
if not berry:
berry = True # reset next turn
useSkill(1, 'random') # Vulcan Claw (902110): Physical fire damage (20x, ATK) to all enemies (+100% accuracy)
return
if not peach:
peach = True # reset next turn
useSkill(2, 'random') # Torrent Claw (902111): Physical water damage (20x, ATK) to all enemies (+100% accuracy)
return
if not olive:
olive = True # reset next turn
useSkill(6, 'random') # Piercing Feathers (902115): Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (5x, ATK) to all enemies (+100% accuracy), Physical damage (5x, ATK) to all enemies (+100% accuracy)
return
if not mango:
mango = True # reset next turn
useSkill(13, 'random') # Blinding Flare (902104): Inflict Blind (100%) on all enemies
return
if green == 2:
if not berry:
berry = True # reset next turn
useSkill(3, 'random') # Flare Claw (902112): Physical light damage (20x, ATK) to all enemies (+100% accuracy)
return
if not peach:
peach = True # reset next turn
useSkill(4, 'random') # Tempest Claw (902113): Physical wind damage (20x, ATK) to all enemies (+100% accuracy)
return
if not olive:
olive = True # reset next turn
useSkill(5, 'random') # Greedy Bite (902114): Physical damage (80x, ATK) to one enemy (+100% accuracy)
return
if green == 3:
if not berry:
berry = True # reset next turn
useSkill(7, 'random') # Sunspot (902105): 90% HP damage to all enemies, Reduce healing received by 90% to all enemies for 2 turns
return
if not peach:
green = 0
peach = True # reset next turn
useSkill(8, 'random') # Nature's Peril (902106): Reduce resistance to Fire, Water, Wind and Light by 100% for 3 turns to all enemies
return
else:
endTurn()
return
##
# Mission 'Sun Dragon of Unknown Origin' (95260104)
#
# Monsters
# * Helion (900011383)
#
##
##
# 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] Reduce ice, water, wind, or light resistance for enemy (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% - Barricading Will (Fire/Wind/Water/Light) (918315) [Player]
#
# Increase resistance to Fire, Water, Wind and Light by 75% for one turn to all allies
# Grant a 5000 HP shield to all allies for one turn
#
##
# 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
#
##
# 110% - Remedial Will (915541) [Player]
#
# Remove Zombie from all allies
# Remove all debuffs from all allies
#
##
# 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 Helion (900011383, 900011382)
# Race Avian, Dragon, Fairy
# Level 99
# Actions 10-10
#
#
# Stats
# HP 600000000
# MP 100000
# ATK 1300
# DEF 22000
# MAG 1300
# SPR 22000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 85%
# Ice 0%
# Lightning 85%
# Water -40%
# Wind -40%
# 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
###
#
# Vulcan Claw (902110) [Physical]
#
# Physical fire damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Torrent Claw (902111) [Physical]
#
# Physical water damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flare Claw (902112) [Physical]
#
# Physical light damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tempest Claw (902113) [Physical]
#
# Physical wind damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Greedy Bite (902114) [Physical]
#
# Physical damage (80x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Piercing Feathers (902115) [Physical]
#
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
# Physical damage (5x, ATK) to all enemies (+100% accuracy)
# Physical damage (5x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sunspot (902105) [None]
#
# 90% HP damage to all enemies
# Reduce healing received by 90% to all enemies for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Nature's Peril (902106) [None]
#
# Reduce resistance to Fire, Water, Wind and Light by 100% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blinding Flare (902104) [None]
#
# Inflict Blind (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if not apple:
green += 1
apple = True # reset next turn
wait()
return
if green == 1:
if not berry:
berry = True # reset next turn
useSkill(1, 'random') # Vulcan Claw (902110): Physical fire damage (20x, ATK) to all enemies (+100% accuracy)
return
if not peach:
peach = True # reset next turn
useSkill(2, 'random') # Torrent Claw (902111): Physical water damage (20x, ATK) to all enemies (+100% accuracy)
return
if not olive:
olive = True # reset next turn
useSkill(6, 'random') # Piercing Feathers (902115): Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (5x, ATK) to all enemies (+100% accuracy), Physical damage (5x, ATK) to all enemies (+100% accuracy)
return
if not mango:
mango = True # reset next turn
useSkill(13, 'random') # Blinding Flare (902104): Inflict Blind (100%) on all enemies
return
if green == 2:
if not berry:
berry = True # reset next turn
useSkill(3, 'random') # Flare Claw (902112): Physical light damage (20x, ATK) to all enemies (+100% accuracy)
return
if not peach:
peach = True # reset next turn
useSkill(4, 'random') # Tempest Claw (902113): Physical wind damage (20x, ATK) to all enemies (+100% accuracy)
return
if not olive:
olive = True # reset next turn
useSkill(5, 'random') # Greedy Bite (902114): Physical damage (80x, ATK) to one enemy (+100% accuracy)
return
if green == 3:
if not berry:
berry = True # reset next turn
useSkill(7, 'random') # Sunspot (902105): 90% HP damage to all enemies, Reduce healing received by 90% to all enemies for 2 turns
return
if not peach:
green = 0
peach = True # reset next turn
useSkill(8, 'random') # Nature's Peril (902106): Reduce resistance to Fire, Water, Wind and Light by 100% for 3 turns to all enemies
return
else:
endTurn()
return
##
# Mission 'Sun Dragon of Unknown Origin' (95260105)
# Enemy has first strike!
#
# Monsters
# * Helion (900011384)
#
##
##
# 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] Reduce ice, water, wind, or light resistance for enemy (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% - Barricading Will (Fire/Wind/Water/Light) (918315) [Player]
#
# Increase resistance to Fire, Water, Wind and Light by 75% for one turn to all allies
# Grant a 5000 HP shield to all allies for one turn
#
##
# 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
#
##
# 110% - Remedial Will (915541) [Player]
#
# Remove Zombie from all allies
# Remove all debuffs from all allies
#
##
# 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 Helion (900011384)
# Race Avian, Dragon, Fairy
# 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 85%
# Ice 0%
# Lightning 85%
# Water -40%
# Wind -40%
# 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
###
#
# Vulcan Claw (902110) [Physical]
#
# Physical fire damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Torrent Claw (902111) [Physical]
#
# Physical water damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flare Claw (902112) [Physical]
#
# Physical light damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tempest Claw (902113) [Physical]
#
# Physical wind damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Greedy Bite (902114) [Physical]
#
# Physical damage (80x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Piercing Feathers (902115) [Physical]
#
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
# Physical damage (5x, ATK) to all enemies (+100% accuracy)
# Physical damage (5x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sunspot (902105) [None]
#
# 90% HP damage to all enemies
# Reduce healing received by 90% to all enemies for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Nature's Peril (902106) [None]
#
# Reduce resistance to Fire, Water, Wind and Light by 100% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Solar Shroud (902100) [None]
#
# Reduce damage taken from physical attacks taken by 99% to caster for 2 turns
# Reduce damage taken by magic attacks by 99% to caster for 2 turns
# Increase ATK and MAG by 50% for 2 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sun Dragon's Aura (902101) [None]
#
# 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 ATK and MAG by 50% for 3 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Debilitating Heat (902102) [None]
#
# Reduce DEF and SPR by 50% for 3 turns to all enemies
# Remove resistances to Blind from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Cleansing Flames (902103) [None]
#
# Remove all debuffs from caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blinding Flare (902104) [None]
#
# Inflict Blind (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shining Atmosphere (902107) [Physical]
#
# Reduce resistance to Fire, Water, Wind and Light by 300% for one turn to all enemies
# Hybrid* fire, water, wind and light damage (100x, ATK & MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Monsoon Breath (902108) [Physical]
#
# Reduce resistance to Water and Wind by 100% for one turn to all enemies
# Hybrid* water and wind damage (50x, ATK & MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Nova Breath (902109) [Physical]
#
# Reduce resistance to Fire and Light by 100% for one turn to all enemies
# Hybrid* fire and light damage (50x, ATK & MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Steam Blast (902116) [Hybrid]
#
# Hybrid fire and water damage (20x, ATK & MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Glowing Wing (902117) [Physical]
#
# Physical wind and light damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heat Blast (902118) [Hybrid]
#
# Hybrid fire and wind damage (20x, ATK & MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sparkling Wing (902119) [Physical]
#
# Physical water and light damage (20x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Supernova Slam (902120) [Physical]
#
# Physical damage (100x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Solar Piercer (902121) [Physical]
#
# Physical damage (15x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Solar Eruption (902122) [Physical]
#
# Physical damage (10x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Solar Slice (902123) [Physical]
#
# Physical damage (10x, ATK) to one enemy (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Helion's wings are conjuring a hurricane...! (902124) [None]
#
# Physical* damage 0 to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Helion's eyes emit a chilling glow...! (902125) [None]
#
# Physical* damage 0 to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Enhanced Focus Abilities enabled! (902126) [None]
#
# Unknown active effect type '1027': [[2,2,2,2,2],[918287,918288,918289,918290,918292],1,0,0,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],0,1,902126]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focus Abilities enabled! (902127) [None]
#
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30010001,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902127]
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30010002,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902127]
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30010003,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902127]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Vertex Abilities enabled! (902128) [None]
#
# Unknown active effect type '1027': [2,918378,1,0,0,90000001,0,0,0,1,902128]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focus Abilities enabled! (902129) [None]
#
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30010006,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902129]
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30010007,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902129]
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30010008,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902129]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focus Abilities enabled! (902130) [None]
#
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30010011,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902130]
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30010012,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902130]
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30010013,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902130]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focus Abilities enabled! (902131) [None]
#
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30011002,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902131]
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30011003,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902131]
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30020001,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902131]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focus Abilities enabled! (902132) [None]
#
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,40000001,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902132]
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,40000002,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902132]
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,40000003,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902132]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focus Abilities enabled! (902133) [None]
#
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30010004,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902133]
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30010005,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902133]
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30010009,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902133]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focus Abilities enabled! (902134) [None]
#
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30010010,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902134]
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30010014,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902134]
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,30010015,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902134]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focus Abilities enabled! (902135) [None]
#
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,40000012,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902135]
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,40000015,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902135]
# Unknown active effect type '1027': [[2,2,2,2,2],[918284,918285,918286,918290,918292],1,1,0,40000004,0,0,[304000707,304000717,304000607,304000617,304000807,304000817,100044107,100044117,100044207,100044217,206003507,206003517,215003107,215003117,215002705,215002727,215003407,215003417,215003307,215003317,215003207,215003217],1,902135]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if isFirstTurn():
useSkill(9, 'random') # Solar Shroud (902100): Reduce damage taken from physical attacks taken by 99% to caster for 2 turns, Reduce damage taken by magic attacks by 99% to caster for 2 turns, Increase ATK and MAG by 50% for 2 turns to caster
useSkill(8, 'random') # Nature's Peril (902106): Reduce resistance to Fire, Water, Wind and Light by 100% for 3 turns to all enemies
endTurn()
return
if self.HP < 0.5:
if once():
useSkill(10, 'random') # Sun Dragon's Aura (902101): 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 ATK and MAG by 50% for 3 turns to caster
return
if once():
useSkill(8, 'random') # Nature's Peril (902106): Reduce resistance to Fire, Water, Wind and Light by 100% for 3 turns to all enemies
return
if once():
useSkill(11, 'random') # Debilitating Heat (902102): Reduce DEF and SPR by 50% for 3 turns to all enemies, Remove resistances to Blind from all enemies for 3 turns
return
if once():
endTurn()
return
if not var_70:
if not self.sufferedDamageLastTurn('physical', 'water') \
or not self.sufferedDamageLastTurn('magical', 'water') \
or not self.sufferedDamageLastTurn('magical|physical', 'aero|ice|light'):
var_70 = True # unknown flag type (70)
wait()
return
if not var_69:
var_70 = True # unknown flag type (70)
var_69 = True # unknown flag type (69)
useSkill(14, 'random') # Shining Atmosphere (902107): Reduce resistance to Fire, Water, Wind and Light by 300% for one turn to all enemies, Hybrid* fire, water, wind and light damage (100x, ATK & MAG) to all enemies
return
if not var_68:
if not self.sufferedDamageLastTurn('physical', 'fire') \
or not self.sufferedDamageLastTurn('magical', 'fire') \
or not self.sufferedDamageLastTurn('magical|physical', 'dark|quake|thunder'):
var_68 = True # unknown flag type (68)
wait()
return
if not var_67 and var_68:
var_68 = True # unknown flag type (68)
var_67 = True # unknown flag type (67)
useSkill(14, 'random') # Shining Atmosphere (902107): Reduce resistance to Fire, Water, Wind and Light by 300% for one turn to all enemies, Hybrid* fire, water, wind and light damage (100x, ATK & MAG) to all enemies
return
if honey and not var_66 and not grape:
if not self.sufferedDamageLastTurn('physical', 'aero') \
or not self.sufferedDamageLastTurn('magical', 'aero') \
or not self.sufferedDamageLastTurn('magical|physical', 'water'):
var_66 = True # unknown flag type (66)
wait()
return
if not var_65:
var_66 = True # unknown flag type (66)
var_65 = True # reset next turn
useSkill(15, 'random') # Monsoon Breath (902108): Reduce resistance to Water and Wind by 100% for one turn to all enemies, Hybrid* water and wind damage (50x, ATK & MAG) to all enemies
return
if ramen and not var_64 and not melon:
if not self.sufferedDamageLastTurn('physical', 'ice') \
or not self.sufferedDamageLastTurn('magical', 'ice') \
or not self.sufferedDamageLastTurn('magical|physical', 'light'):
var_64 = True # reset next turn
wait()
return
if not var_63:
var_64 = True # reset next turn
var_63 = True # reset next turn
useSkill(16, 'random') # Nova Breath (902109): Reduce resistance to Fire and Light by 100% for one turn to all enemies, Hybrid* fire and light damage (50x, ATK & MAG) to all enemies
return
if not apple:
black = 0
white = 0
green += 1
apple = True # reset next turn
ramen = False # persistent
honey = False # persistent
wait()
return
if self.HP > 0.5:
if green == 1:
if not berry:
berry = True # reset next turn
useSkill(6, 'random') # Piercing Feathers (902115): Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (5x, ATK) to all enemies (+100% accuracy), Physical damage (5x, ATK) to all enemies (+100% accuracy)
return
if not peach:
peach = True # reset next turn
useSkill(1, 'random') # Vulcan Claw (902110): Physical fire damage (20x, ATK) to all enemies (+100% accuracy)
return
if not olive:
olive = True # reset next turn
useSkill(2, 'random') # Torrent Claw (902111): Physical water damage (20x, ATK) to all enemies (+100% accuracy)
return
if not mango:
mango = True # reset next turn
useSkill(13, 'random') # Blinding Flare (902104): Inflict Blind (100%) on all enemies
return
if green == 2:
if not berry:
berry = True # reset next turn
useSkill(3, 'random') # Flare Claw (902112): Physical light damage (20x, ATK) to all enemies (+100% accuracy)
return
if not peach:
peach = True # reset next turn
useSkill(4, 'random') # Tempest Claw (902113): Physical wind damage (20x, ATK) to all enemies (+100% accuracy)
return
if not olive:
olive = True # reset next turn
useSkill(5, 'random') # Greedy Bite (902114): Physical damage (80x, ATK) to one enemy (+100% accuracy)
return
if self.HP < 0.5:
if green == 1:
if not berry:
berry = True # reset next turn
useSkill(17, 'random') # Steam Blast (902116): Hybrid fire and water damage (20x, ATK & MAG) to all enemies
return
if not peach:
peach = True # reset next turn
useSkill(18, 'random') # Glowing Wing (902117): Physical wind and light damage (20x, ATK) to all enemies (+100% accuracy)
return
if not olive:
olive = True # reset next turn
useSkill(21, 'random') # Supernova Slam (902120): Physical damage (100x, ATK) to one enemy (+100% accuracy)
return
if not mango:
mango = True # reset next turn
useSkill(13, 'random') # Blinding Flare (902104): Inflict Blind (100%) on all enemies
return
if green == 2:
if not berry:
berry = True # reset next turn
useSkill(6, 'random') # Piercing Feathers (902115): Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (10x, ATK) to all enemies (+100% accuracy), Physical damage (5x, ATK) to all enemies (+100% accuracy), Physical damage (5x, ATK) to all enemies (+100% accuracy)
return
if not peach:
peach = True # reset next turn
useSkill(19, 'random') # Heat Blast (902118): Hybrid fire and wind damage (20x, ATK & MAG) to all enemies
return
if not olive:
olive = True # reset next turn
useSkill(20, 'random') # Sparkling Wing (902119): Physical water and light damage (20x, ATK) to all enemies (+100% accuracy)
return
if green == 3:
if not berry:
berry = True # reset next turn
useSkill(7, 'random') # Sunspot (902105): 90% HP damage to all enemies, Reduce healing received by 90% to all enemies for 2 turns
return
if not peach:
peach = True # reset next turn
useSkill(8, 'random') # Nature's Peril (902106): Reduce resistance to Fire, Water, Wind and Light by 100% for 3 turns to all enemies
return
if not olive:
olive = True # reset next turn
useSkill(10, 'random') # Sun Dragon's Aura (902101): 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 ATK and MAG by 50% for 3 turns to caster
return
if not mango:
mango = True # reset next turn
useSkill(11, 'random') # Debilitating Heat (902102): Reduce DEF and SPR by 50% for 3 turns to all enemies, Remove resistances to Blind from all enemies for 3 turns
return
if not lemon:
green = 0
lemon = True # reset next turn
wait()
return
if random() <= 0.50 and not grape:
grape = True # reset next turn
honey = True # persistent
useSkill(25, 'random') # Helion's wings are conjuring a hurricane...! (902124): Physical* damage 0 to caster
return
if random() <= 0.50 and not melon:
melon = True # reset next turn
ramen = True # persistent
useSkill(26, 'random') # Helion's eyes emit a chilling glow...! (902125): Physical* damage 0 to caster
return
if not guava:
guava = True # reset next turn
melon = True # reset next turn
grape = True # reset next turn
wait()
return
if green <= 3:
if random() <= 0.10 and black <= 2:
black += 1
useSkill(24, 'random') # Solar Slice (902123): Physical damage (10x, ATK) to one enemy (+100% accuracy)
return
if random() <= 0.30 and white <= 2:
white += 1
useSkill(23, 'random') # Solar Eruption (902122): Physical damage (10x, ATK) to all enemies (+100% accuracy)
return
else:
useSkill(22, 'random') # Solar Piercer (902121): Physical damage (15x, ATK) to one enemy (+100% accuracy)
return
else:
attack('random')
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment