Created
December 17, 2018 00:21
-
-
Save aEnigmatic/d96eb85fd4ffd5efdfbff6b3faed3904 to your computer and use it in GitHub Desktop.
Scorn of the 2-Headed Dragon
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 'Scorn of the 2-Headed Dragon' (8993301) | |
# Enemy has first strike! | |
# | |
# Battles | |
# * 2-Headed Dragon | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster 2-Headed Dragon (407021001) | |
# Race Dragon | |
# Level 99 | |
# Actions 25-25 | |
# | |
# | |
# Stats | |
# HP 130000000 | |
# MP 100000 | |
# ATK 670 | |
# DEF 105 | |
# MAG 530 | |
# SPR 105 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 300% | |
# Ice 300% | |
# Lightning 300% | |
# Water 300% | |
# Wind 300% | |
# Earth 300% | |
# Light 300% | |
# Dark 300% | |
# 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 100% | |
# MAG 100% | |
# SPR 100% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Skills | |
### | |
# | |
# Bite (190950) [Physical] | |
# | |
# Physical damage (4x, ATK) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# 2-headed Rush (190960) [Physical] | |
# | |
# Physical damage (3.5x, ATK) to one enemy | |
# Inflict 2 random status effects (30%) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dispel Bite (190970) [Physical] | |
# | |
# Physical damage (2.5x, ATK) to one enemy | |
# Remove all buffs and debuffs from one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Twin-headed Charge (190980) [Physical] | |
# | |
# Physical damage (5x, ATK) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Double Break - Lightning/Dark (190990) [Magic] | |
# | |
# Magic lightning and dark damage (3.3x, MAG) to all enemies | |
# Reduce ATK and DEF by 30% for 3 turns to all enemies | |
# Reduce resistance to Lightning and Dark by 60% for 3 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Double Break - Ice/Light (191000) [Magic] | |
# | |
# Magic ice and light damage (3.3x, MAG) to all enemies | |
# Reduce MAG and SPR by 30% for 3 turns to all enemies | |
# Reduce resistance to Ice and Light by 60% for 3 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Save Up (191010) [None] | |
# | |
# Increase ATK and MAG by 30% for 2 turns to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Big Release (191020) [Magic] | |
# | |
# Magic ice, lightning, light and dark damage (4.5x, MAG) to all enemies | |
# Inflict 3 random status effects (50%) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Release All (191030) [Magic] | |
# | |
# Magic ice, lightning, light and dark damage (6x, MAG) to all enemies | |
# Inflict 4 random status effects (100%) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Swallow (191040) [Magic] | |
# | |
# [Death] | |
# Instant KO (100%) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dragon's Voice (191050) [None] | |
# | |
# Reduce ATK, DEF, MAG and SPR by 70% for 999 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dragon's Shout (191060) [None] | |
# | |
# Reduce ATK, DEF, MAG and SPR by 140% for 999 turns to all enemies | |
# Reduce resistance to all elements by 150% for one turn to all enemies | |
# Inflict Stop (100%) for 3 turns on all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Scales have cracked! (191070) [None] | |
# | |
# Reduce resistance to all elements by 330% for one turn to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Scales have cracked further! (191080) [None] | |
# | |
# Reduce resistance to all elements by 360% for one turn to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Scales are falling off! (191090) [None] | |
# | |
# Reduce resistance to all elements by 390% for one turn to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Scales have regrown! (191100) [None] | |
# | |
# No effect | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if apple == True: | |
endTurn() | |
sushi = True # persistent | |
elif unk_64 == True: | |
endTurn() | |
elif once(): | |
useSkill(11, 'random') # Dragon's Voice (191050): Reduce ATK, DEF, MAG and SPR by 70% for 999 turns to all enemies | |
unk_64 = True # unknown | |
elif sushi == True: | |
useSkill(16, 'random') # Scales have regrown! (191100): No effect | |
sushi = False # persistent | |
elif mauve == 1 and honey == True: | |
wait() # No action | |
mauve = 0 | |
honey = False # persistent | |
elif self.hitByLastTurn('esper') and white == 2 and honey == False: | |
useSkill(15, 'random') # Scales are falling off! (191090): Reduce resistance to all elements by 390% for one turn to caster | |
white = 0 | |
apple = True # reset next turn | |
honey = True # persistent | |
elif self.hitByLastTurn('esper') and white == 1 and honey == False: | |
useSkill(14, 'random') # Scales have cracked further! (191080): Reduce resistance to all elements by 360% for one turn to caster | |
white += 1 | |
apple = True # reset next turn | |
honey = True # persistent | |
elif self.hitByLastTurn('esper') and honey == False: | |
useSkill(13, 'random') # Scales have cracked! (191070): Reduce resistance to all elements by 330% for one turn to caster | |
white += 1 | |
apple = True # reset next turn | |
honey = True # persistent | |
elif self.hitByLastTurn('ability') and honey == True and peach == False: | |
wait() # No action | |
peach = True # reset next turn | |
elif self.hitByLastTurn('ability') and peach == False and honey == False: | |
useSkill(12, 'random') # Dragon's Shout (191060): Reduce ATK, DEF, MAG and SPR by 140% for 999 turns to all enemies, Reduce resistance to all elements by 150% for one turn to all enemies, Inflict Stop (100%) for 3 turns on all enemies | |
peach = True # reset next turn | |
elif self.hitByLastTurn('magic') and honey == True and olive == False: | |
wait() # No action | |
olive = True # reset next turn | |
elif self.hitByLastTurn('magic') and black <= 5 and honey == False and olive == False: | |
useSkill(10, 'random') # Swallow (191040): [Death], Instant KO (100%) to one enemy | |
black += 1 | |
elif self.HP < 0.6 and green >= 9 and isTurnMod(2) and lemon == False: | |
useSkill(7, 'random') # Save Up (191010): Increase ATK and MAG by 30% for 2 turns to caster | |
azure += 1 | |
lemon = True # reset next turn | |
elif self.HP > 0.6 and green >= 7 and isTurnMod(3) and lemon == False: | |
useSkill(7, 'random') # Save Up (191010): Increase ATK and MAG by 30% for 2 turns to caster | |
azure += 1 | |
lemon = True # reset next turn | |
elif self.HP < 0.6 and green >= 9 and isTurnMod(3) and unk_63 == False: | |
useSkill(4, 'random') # Twin-headed Charge (190980): Physical damage (5x, ATK) to all enemies | |
unk_63 = True # unknown | |
elif self.HP > 0.6 and green >= 7 and isTurnMod(4) and unk_63 == False: | |
useSkill(4, 'random') # Twin-headed Charge (190980): Physical damage (5x, ATK) to all enemies | |
unk_63 = True # unknown | |
elif self.HP < 0.6 and green >= 9 and isTurnMod(3) and peach == False: | |
useSkill(11, 'random') # Dragon's Voice (191050): Reduce ATK, DEF, MAG and SPR by 70% for 999 turns to all enemies | |
peach = True # reset next turn | |
elif self.HP > 0.6 and green >= 7 and isTurnMod(4) and peach == False: | |
useSkill(11, 'random') # Dragon's Voice (191050): Reduce ATK, DEF, MAG and SPR by 70% for 999 turns to all enemies | |
peach = True # reset next turn | |
elif random() <= 0.50 and self.HP < 0.6 and green >= 9 and isTurnMod(2) and gourd == False: | |
useSkill(3, 'random') # Dispel Bite (190970): Physical damage (2.5x, ATK) to one enemy, Remove all buffs and debuffs from one enemy | |
gourd = True # reset next turn | |
elif self.HP < 0.6 and green >= 9 and isTurnMod(2) and gourd == False: | |
useSkill(3, 'highest DEF') # Dispel Bite (190970): Physical damage (2.5x, ATK) to one enemy, Remove all buffs and debuffs from one enemy | |
gourd = True # reset next turn | |
elif random() <= 0.50 and self.HP > 0.6 and green >= 7 and isTurnMod(3) and gourd == False: | |
useSkill(3, 'random') # Dispel Bite (190970): Physical damage (2.5x, ATK) to one enemy, Remove all buffs and debuffs from one enemy | |
gourd = True # reset next turn | |
elif self.HP > 0.6 and green >= 7 and isTurnMod(3) and gourd == False: | |
useSkill(3, 'highest DEF') # Dispel Bite (190970): Physical damage (2.5x, ATK) to one enemy, Remove all buffs and debuffs from one enemy | |
gourd = True # reset next turn | |
elif self.HP < 0.6 and green >= 9 and honey == True and bacon == False: | |
endTurn() | |
mauve += 1 | |
black = 0 | |
green = 0 | |
elif self.HP > 0.6 and green >= 7 and honey == True and bacon == False: | |
endTurn() | |
mauve += 1 | |
black = 0 | |
green = 0 | |
elif self.HP < 0.6 and green >= 9 and honey == False: | |
endTurn() | |
black = 0 | |
green = 0 | |
elif self.HP > 0.6 and green >= 7 and honey == False: | |
endTurn() | |
black = 0 | |
green = 0 | |
elif self.HP < 0.6 and azure == 3 and unk_61 == False: | |
useSkill(9, 'random') # Release All (191030): Magic ice, lightning, light and dark damage (6x, MAG) to all enemies, Inflict 4 random status effects (100%) to all enemies | |
unk_61 = True # unknown | |
azure = 0 | |
elif self.HP > 0.6 and azure == 3 and unk_61 == False: | |
useSkill(8, 'random') # Big Release (191020): Magic ice, lightning, light and dark damage (4.5x, MAG) to all enemies, Inflict 3 random status effects (50%) to all enemies | |
unk_61 = True # unknown | |
azure = 0 | |
elif random() <= 0.50 and grape == False: | |
useSkill(2, 'random') # 2-headed Rush (190960): Physical damage (3.5x, ATK) to one enemy, Inflict 2 random status effects (30%) to one enemy | |
green += 1 | |
grape = True # reset next turn | |
elif grape == False: | |
useSkill(1, 'random') # Bite (190950): Physical damage (4x, ATK) to one enemy | |
green += 1 | |
grape = True # reset next turn | |
elif random() <= 0.50 and melon == False: | |
useSkill(2, 'random') # 2-headed Rush (190960): Physical damage (3.5x, ATK) to one enemy, Inflict 2 random status effects (30%) to one enemy | |
green += 1 | |
melon = True # reset next turn | |
elif melon == False: | |
useSkill(1, 'random') # Bite (190950): Physical damage (4x, ATK) to one enemy | |
green += 1 | |
melon = True # reset next turn | |
elif random() <= 0.50 and guava == False: | |
useSkill(1, 'random') # Bite (190950): Physical damage (4x, ATK) to one enemy | |
green += 1 | |
guava = True # reset next turn | |
elif guava == False: | |
useSkill(2, 'random') # 2-headed Rush (190960): Physical damage (3.5x, ATK) to one enemy, Inflict 2 random status effects (30%) to one enemy | |
green += 1 | |
guava = True # reset next turn | |
elif unk_62 == False and ramen == False: | |
useSkill(5, 'random') # Double Break - Lightning/Dark (190990): Magic lightning and dark damage (3.3x, MAG) to all enemies, Reduce ATK and DEF by 30% for 3 turns to all enemies, Reduce resistance to Lightning and Dark by 60% for 3 turns to all enemies | |
unk_62 = True # unknown | |
green += 1 | |
ramen = True # persistent | |
elif self.HP < 0.4 and unk_65 == False and ramen == False: | |
useSkill(5, 'random') # Double Break - Lightning/Dark (190990): Magic lightning and dark damage (3.3x, MAG) to all enemies, Reduce ATK and DEF by 30% for 3 turns to all enemies, Reduce resistance to Lightning and Dark by 60% for 3 turns to all enemies | |
unk_65 = True # unknown | |
elif unk_62 == False and ramen == True: | |
useSkill(6, 'random') # Double Break - Ice/Light (191000): Magic ice and light damage (3.3x, MAG) to all enemies, Reduce MAG and SPR by 30% for 3 turns to all enemies, Reduce resistance to Ice and Light by 60% for 3 turns to all enemies | |
unk_62 = True # unknown | |
green += 1 | |
ramen = False # persistent | |
elif self.HP < 0.4 and unk_65 == False and ramen == True: | |
useSkill(6, 'random') # Double Break - Ice/Light (191000): Magic ice and light damage (3.3x, MAG) to all enemies, Reduce MAG and SPR by 30% for 3 turns to all enemies, Reduce resistance to Ice and Light by 60% for 3 turns to all enemies | |
unk_65 = True # unknown | |
else: | |
attack('random') | |
green += 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment