Created
September 15, 2019 10:15
-
-
Save aEnigmatic/191de662cad2ee8a4d4161d750e550d0 to your computer and use it in GitHub Desktop.
Afterglow SE - Bonus Stage
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 'Bonus Stage' (8550900) | |
## | |
## | |
# Mission 'Bonus Stage 1' (8550901) | |
# | |
# Battles | |
# * Metal Gigantuar Lv. 100 | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster Metal Gigantuar Lv. 100 (211011008, 211011007) | |
# Race Plant | |
# Level 100 | |
# Actions 3-3 | |
# | |
# | |
# Stats | |
# HP 33333 | |
# MP 111111 | |
# ATK 111 | |
# DEF 33333 | |
# MAG 111 | |
# SPR 33333 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 0% | |
# Ice 0% | |
# Lightning 0% | |
# Water 0% | |
# Wind 0% | |
# Earth 0% | |
# Light 0% | |
# Dark 0% | |
# Non-Elemental 0% | |
# | |
# | |
# Status resist (+50% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 100% | |
# DEF 100% | |
# MAG 100% | |
# SPR 100% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Skills | |
### | |
# | |
# 10,000 Needles (181270) [None] | |
# | |
# Fixed damage (10000) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# 10,000 Needles Combo (181280) [None] | |
# | |
# Fixed damage (10000) to one enemy | |
# Fixed damage (10000) to one enemy | |
# Fixed damage (10000) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Workload x3! (181290) [None] | |
# | |
# No effect | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Tease (181300) [None] | |
# | |
# Inflict berserk (+0% ATK) on one enemy for 5 turns | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if gourd == True: | |
endTurn() | |
elif honey == True and apple == False: | |
useSkill(2, 'random') # 10,000 Needles Combo (181280): Fixed damage (10000) to one enemy, Fixed damage (10000) to one enemy, Fixed damage (10000) to one enemy | |
apple = True # reset next turn | |
elif unit('5:enemy:any').usedLastTurn('ability') and honey == False: | |
useSkill(3, 'random') # Workload x3! (181290): No effect | |
honey = True # persistent | |
elif honey == False: | |
useSkill(1, 'random') # 10,000 Needles (181270): Fixed damage (10000) to one enemy | |
gourd = True # reset next turn | |
elif honey == True and isTurnMod(2) and berry == False: | |
useSkill(4, 'random') # Tease (181300): Inflict berserk (+0% ATK) on one enemy for 5 turns | |
berry = True # reset next turn | |
elif honey == True and peach == False: | |
useSkill(2, 'random') # 10,000 Needles Combo (181280): Fixed damage (10000) to one enemy, Fixed damage (10000) to one enemy, Fixed damage (10000) to one enemy | |
peach = True # reset next turn | |
elif honey == True: | |
useSkill(2, 'random') # 10,000 Needles Combo (181280): Fixed damage (10000) to one enemy, Fixed damage (10000) to one enemy, Fixed damage (10000) to one enemy | |
else: | |
attack('random') | |
## | |
# Mission 'Bonus Stage 2' (8550902) | |
# | |
# Battles | |
# * Microchu, Microchu, Microchu, Ochu | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster Microchu (111031029) | |
# Race Plant | |
# Level 100 | |
# Actions 1-1 | |
# | |
# | |
# Stats | |
# HP 12000000 | |
# MP 80000 | |
# ATK 450 | |
# DEF 250 | |
# MAG 150 | |
# SPR 230 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire -50% | |
# Ice 0% | |
# Lightning 0% | |
# Water 50% | |
# Wind 0% | |
# Earth 50% | |
# Light -50% | |
# Dark 0% | |
# Non-Elemental 0% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 100% | |
# DEF 0% | |
# MAG 100% | |
# SPR 0% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 全ステ50% (100015) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 50% | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Guardian Ivy (214540) [None] | |
# | |
# Increase DEF and SPR by 40% for 3 turns to all allies | |
# Unused parameters: [1] | |
# Reduce damage taken by 45% to all allies for 3 turns | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if isTurnMod(6): | |
useSkill(1, 'random') # Guardian Ivy (214540): Increase DEF and SPR by 40% for 3 turns to all allies, Reduce damage taken by 45% to all allies for 3 turns | |
else: | |
attack('random') | |
## | |
# Monster Info | |
## | |
# | |
# Monster Microchu (111031030) | |
# Race Plant | |
# Level 100 | |
# Actions 1-1 | |
# | |
# | |
# Stats | |
# HP 12000000 | |
# MP 80000 | |
# ATK 450 | |
# DEF 250 | |
# MAG 150 | |
# SPR 230 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire -50% | |
# Ice 0% | |
# Lightning 0% | |
# Water 50% | |
# Wind 0% | |
# Earth 50% | |
# Light -50% | |
# Dark 0% | |
# Non-Elemental 0% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 100% | |
# DEF 0% | |
# MAG 100% | |
# SPR 0% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 全ステ50% (100015) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 50% | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Snatching Ivy (214550) [None] | |
# | |
# Reduce ATK, DEF, MAG and SPR by 40% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# Reduce resistance to Earth by 60% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if isTurnMod(4): | |
useSkill(1, 'random') # Snatching Ivy (214550): Reduce ATK, DEF, MAG and SPR by 40% for 3 turns to all enemies, Reduce resistance to Earth by 60% for 3 turns to all enemies | |
else: | |
attack('random') | |
## | |
# Monster Info | |
## | |
# | |
# Monster Microchu (111031031) | |
# Race Plant | |
# Level 100 | |
# Actions 1-1 | |
# | |
# | |
# Stats | |
# HP 12000000 | |
# MP 80000 | |
# ATK 450 | |
# DEF 250 | |
# MAG 150 | |
# SPR 230 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire -50% | |
# Ice 0% | |
# Lightning 0% | |
# Water 50% | |
# Wind 0% | |
# Earth 50% | |
# Light -50% | |
# Dark 0% | |
# Non-Elemental 0% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 100% | |
# DEF 0% | |
# MAG 100% | |
# SPR 0% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 全ステ50% (100015) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 50% | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Fertile Sprout (214560) [None] | |
# | |
# Restore 3000000 HP to all allies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if isTurnMod(3): | |
useSkill(1, 'random') # Fertile Sprout (214560): Restore 3000000 HP to all allies | |
else: | |
attack('random') | |
## | |
# Monster Info | |
## | |
# | |
# Monster Ochu (311001019) | |
# Race Plant | |
# Level 100 | |
# Actions 7-7 | |
# | |
# | |
# Stats | |
# HP 36000000 | |
# MP 100000 | |
# ATK 550 | |
# DEF 320 | |
# MAG 350 | |
# SPR 300 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire -50% | |
# Ice 0% | |
# Lightning 0% | |
# Water 50% | |
# Wind 0% | |
# Earth 50% | |
# Light -50% | |
# Dark 0% | |
# Non-Elemental 0% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 100% | |
# DEF 0% | |
# MAG 100% | |
# SPR 0% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 全ステ50% (100015) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 50% | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# True Ochu Dance (214510) [Physical] | |
# | |
# Physical damage (3.5x, ATK) to all enemies | |
# Inflict Blind, Silence and Confusion (100%) on all enemies | |
# Unknown parameters: [3] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Soil Slap (214520) [Physical] | |
# | |
# Physical earth damage (2.5x, ATK) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Osmose Bind (214530) [None] | |
# | |
# Hybrid* damage (0.1x, ATK & MAG) as MP drain (10%) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if apple == True: | |
endTurn() | |
elif isTurnMod(2) and berry == False: | |
useSkill(1, 'random') # True Ochu Dance (214510): Physical damage (3.5x, ATK) to all enemies, Inflict Blind, Silence and Confusion (100%) on all enemies | |
berry = True # reset next turn | |
elif self.HP < 0.8 and once(): | |
useSkill(3, 'random') # Osmose Bind (214530): Hybrid* damage (0.1x, ATK & MAG) as MP drain (10%) to one enemy | |
peach = True # reset next turn | |
elif self.HP < 0.5 and once(): | |
useSkill(3, 'random') # Osmose Bind (214530): Hybrid* damage (0.1x, ATK & MAG) as MP drain (10%) to one enemy | |
peach = True # reset next turn | |
elif self.HP < 0.3 and once(): | |
useSkill(3, 'random') # Osmose Bind (214530): Hybrid* damage (0.1x, ATK & MAG) as MP drain (10%) to one enemy | |
peach = True # reset next turn | |
elif peach == True: | |
useSkill(1, 'random') # True Ochu Dance (214510): Physical damage (3.5x, ATK) to all enemies, Inflict Blind, Silence and Confusion (100%) on all enemies | |
apple = True # reset next turn | |
elif isTurnMod(2) and olive == False: | |
useSkill(1, 'random') # True Ochu Dance (214510): Physical damage (3.5x, ATK) to all enemies, Inflict Blind, Silence and Confusion (100%) on all enemies | |
olive = True # reset next turn | |
elif mango == False: | |
useSkill(2, 'random') # Soil Slap (214520): Physical earth damage (2.5x, ATK) to one enemy | |
mango = True # reset next turn | |
elif lemon == False: | |
useSkill(1, 'random') # True Ochu Dance (214510): Physical damage (3.5x, ATK) to all enemies, Inflict Blind, Silence and Confusion (100%) on all enemies | |
lemon = True # reset next turn | |
elif random() <= 0.15 and self.HP < 0.5: | |
useSkill(1, 'random') # True Ochu Dance (214510): Physical damage (3.5x, ATK) to all enemies, Inflict Blind, Silence and Confusion (100%) on all enemies | |
else: | |
attack('random') | |
## | |
# Mission 'Bonus Stage 3' (8550903) | |
# | |
# Battles | |
# * White Dragon | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster White Dragon (407001003) | |
# Race Dragon | |
# Level 100 | |
# Actions 12-12 | |
# | |
# | |
# Stats | |
# HP 57000000 | |
# MP 100000 | |
# ATK 450 | |
# DEF 360 | |
# MAG 800 | |
# SPR 360 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 0% | |
# Ice 0% | |
# Lightning -50% | |
# Water 0% | |
# Wind 0% | |
# Earth 0% | |
# Light 100% | |
# Dark 100% | |
# Non-Elemental 0% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 100% | |
# DEF 0% | |
# MAG 100% | |
# SPR 0% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 全ステ50% (100015) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 50% | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Wind Breath (214070) [Magic] | |
# | |
# Magic wind damage (5x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Waterga (214080) [Magic] | |
# | |
# Magic water damage (3x, MAG) to all enemies | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Blizzaga (214090) [Magic] | |
# | |
# Magic ice damage (3x, MAG) to all enemies | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Flood (214100) [Magic] | |
# | |
# Magic water damage (3.5x, MAG) to all enemies | |
# Reduce resistance to Lightning by 30% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Stone Gaze (214110) [None] | |
# | |
# Inflict Petrify (100%) on one enemy | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Gigantic Tornado (214120) [Magic] | |
# | |
# Magic damage (2.6x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Strike (214130) [Physical] | |
# | |
# Physical damage (3x, ATK) to one enemy | |
# Reduce DEF by 50% for 2 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Mow Down (214140) [Physical] | |
# | |
# Physical damage (2.5x, ATK) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# A violent wind blows! (214150) [None] | |
# | |
# Increase MAG by 80% for 2 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Haste (214160) [None] | |
# | |
# No effect | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Protect (214170) [None] | |
# | |
# Increase DEF by 50% for 3 turns to one ally | |
# Unused parameters: [1] | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Sealing Wind (214180) [None] | |
# | |
# Inflict Stop (10%) for 2 turns on all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Surging Spume (214190) [Magic] | |
# | |
# Magic damage (200x, MAG) to one enemy | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Ferocious Current (214200) [None] | |
# | |
# Magic* damage (1x, MAG) to all enemies | |
# Unknown parameters: [1] | |
# Reduce resistance to Water by 100% for 5 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if mango == True and white >= 7: | |
endTurn() | |
white = 0 | |
elif black >= 6 and apple == False: | |
useSkill(9, 'random') # A violent wind blows! (214150): Increase MAG by 80% for 2 turns to caster | |
black = 0 | |
apple = True # reset next turn | |
honey = True # persistent | |
elif honey == True: | |
useSkill(14, 'random') # Ferocious Current (214200): Magic* damage (1x, MAG) to all enemies, Reduce resistance to Water by 100% for 5 turns to all enemies | |
apple = True # reset next turn | |
sushi = True # persistent | |
honey = False # persistent | |
elif sushi == True and apple == False: | |
useSkill(1, 'random') # Wind Breath (214070): Magic wind damage (5x, MAG) to all enemies | |
sushi = False # persistent | |
elif random() <= 0.10 and olive == True and self.HP < 0.6 and berry == False: | |
useSkill(12, 'random') # Sealing Wind (214180): Inflict Stop (10%) for 2 turns on all enemies | |
berry = True # reset next turn | |
ramen = True # persistent | |
elif olive == True and ramen == True and berry == False: | |
useSkill(13, 'random') # Surging Spume (214190): Magic damage (200x, MAG) to one enemy | |
ramen = False # persistent | |
elif random() <= 0.10 and mango == True and self.HP < 0.6 and berry == False: | |
useSkill(12, 'random') # Sealing Wind (214180): Inflict Stop (10%) for 2 turns on all enemies | |
white += 1 | |
berry = True # reset next turn | |
ramen = True # persistent | |
elif mango == True and ramen == True and berry == False: | |
useSkill(13, 'random') # Surging Spume (214190): Magic damage (200x, MAG) to one enemy | |
white += 1 | |
ramen = False # persistent | |
elif green >= 4 and peach == False: | |
useSkill(4, 'random') # Flood (214100): Magic water damage (3.5x, MAG) to all enemies, Reduce resistance to Lightning by 30% for 3 turns to all enemies | |
black += 1 | |
green = 0 | |
peach = True # reset next turn | |
elif random() <= 0.50 and olive == False and mango == False: | |
useSkill(10, 'random') # Haste (214160): No effect | |
olive = True # reset next turn | |
elif olive == False and mango == False: | |
useSkill(11, 'random') # Protect (214170): Increase DEF by 50% for 3 turns to one ally | |
mango = True # reset next turn | |
elif random() <= 0.20 and mango == True and lemon == False: | |
useSkill(5, 'random') # Stone Gaze (214110): Inflict Petrify (100%) on one enemy | |
white += 1 | |
lemon = True # reset next turn | |
elif random() <= 0.20 and mango == True and grape == False: | |
useSkill(6, 'random') # Gigantic Tornado (214120): Magic damage (2.6x, MAG) to all enemies | |
white += 1 | |
grape = True # reset next turn | |
elif random() <= 0.20 and olive == True and lemon == False: | |
useSkill(5, 'random') # Stone Gaze (214110): Inflict Petrify (100%) on one enemy | |
lemon = True # reset next turn | |
elif random() <= 0.20 and olive == True and grape == False: | |
useSkill(6, 'random') # Gigantic Tornado (214120): Magic damage (2.6x, MAG) to all enemies | |
grape = True # reset next turn | |
elif random() <= 0.40 and olive == True: | |
useSkill(7, 'random') # Strike (214130): Physical damage (3x, ATK) to one enemy, Reduce DEF by 50% for 2 turns to one enemy | |
elif random() <= 0.40 and olive == True: | |
useSkill(8, 'random') # Mow Down (214140): Physical damage (2.5x, ATK) to all enemies | |
elif random() <= 0.30 and mango == True: | |
useSkill(2, 'random') # Waterga (214080): Magic water damage (3x, MAG) to all enemies | |
black += 1 | |
white += 1 | |
green += 1 | |
elif random() <= 0.30 and mango == True: | |
useSkill(3, 'random') # Blizzaga (214090): Magic ice damage (3x, MAG) to all enemies | |
white += 1 | |
elif olive == True: | |
attack('random') | |
elif mango == True: | |
attack('random') | |
white += 1 | |
else: | |
attack('random') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment