Created
April 6, 2019 14:19
-
-
Save aEnigmatic/fdc58c15821ac31a5536a4ebec16169e to your computer and use it in GitHub Desktop.
Beasts of the Dark II - ELT
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 'Beasts of the Dark II - ELT' (8995703) | |
# Enemy has first strike! | |
# | |
# Battles | |
# * Dark Shiva, Dark Golem | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster Dark Shiva (205028002) | |
# Race Human | |
# Level 99 | |
# Actions 12-12 | |
# | |
# | |
# Stats | |
# HP 100000000 | |
# MP 100000 | |
# ATK 1200 | |
# DEF 200 | |
# MAG 900 | |
# SPR 2000 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire -700% | |
# Ice 0% | |
# Lightning 0% | |
# Water 0% | |
# Wind 0% | |
# Earth 0% | |
# Light 0% | |
# Dark 0% | |
# Non-Elemental 0% | |
# | |
# | |
# Status resist (+100% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 100% | |
# DEF 100% | |
# MAG 0% | |
# SPR 0% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 氷属性吸収 (100004) [Passive] | |
# | |
# Absorb Ice elemental attacks | |
# | |
## | |
# | |
# 全ステ30% (100030) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 30% | |
# | |
## | |
# | |
# 闇属性吸収 (100013) [Passive] | |
# | |
# Absorb Dark elemental attacks | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Osmose (197882) [Magic] | |
# | |
# Magic damage (0.75x, MAG) as MP drain (75%) to one enemy | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Silencega (197883) [Magic] | |
# | |
# Inflict Silence (100%) on all enemies | |
# Unknown parameters: [1] | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Shooting Hail (197886) [Physical] | |
# | |
# Physical damage (10x, ATK) to all enemies | |
# Reduce DEF and SPR by 50% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Curaga (197887) [Magic] | |
# | |
# Restore 10% HP to one ally | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dark Blizzard (197890) [Magic] | |
# | |
# Magic ice and dark damage (10x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dark Blizzaja (197893) [Magic] | |
# | |
# Magic ice and dark damage (18x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Black Diamond Dust (197896) [Magic] | |
# | |
# Magic ice and dark damage (25x, MAG) to all enemies | |
# Reduce resistance to Ice and Dark by 50% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# Reduce ATK and MAG by 100% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Suspicious Eyes (197897) [None] | |
# | |
# Inflict Charm (100%) on one enemy for 2 turns | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Crystal Shell (197898) [None] | |
# | |
# Reduce physical damage taken by 100% to all allies for one turn (can not be removed) | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Ice Barrier (197899) [None] | |
# | |
# Reduce magic damage taken by 100% to all allies for one turn (can not be removed) | |
# Unused parameters: [1] | |
# Increase resistance to Fire and Wind by 1000% for 3 turns to all allies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if apple == True: | |
endTurn() | |
green = 0 | |
elif once(): | |
useSkill(8, 'highest SPR') # Suspicious Eyes (197897): Inflict Charm (100%) on one enemy for 2 turns | |
apple = True # reset next turn | |
elif unit('3:ally:2:Dark Golem').is('alive') and ramen == True: | |
endTurn() | |
elif honey == False and green == 4: | |
endTurn() | |
green = 0 | |
elif unit('3:ally:2:Dark Golem').is('dead') and once(): | |
useSkill(9, 'random') # Crystal Shell (197898): Reduce physical damage taken by 100% to all allies for one turn (can not be removed) | |
honey = True # persistent | |
elif honey == True and berry == False: | |
useSkill(7, 'random') # Black Diamond Dust (197896): Magic ice and dark damage (25x, MAG) to all enemies, Reduce resistance to Ice and Dark by 50% for 3 turns to all enemies, Reduce ATK and MAG by 100% for 3 turns to all enemies | |
berry = True # reset next turn | |
elif self.HP < 0.8 and once() and peach == False: | |
useSkill(9, 'random') # Crystal Shell (197898): Reduce physical damage taken by 100% to all allies for one turn (can not be removed) | |
green += 1 | |
peach = True # reset next turn | |
elif self.HP < 0.8 and once() and olive == False: | |
useSkill(10, 'random') # Ice Barrier (197899): Reduce magic damage taken by 100% to all allies for one turn (can not be removed), Increase resistance to Fire and Wind by 1000% for 3 turns to all allies | |
green += 1 | |
olive = True # reset next turn | |
elif self.HP < 0.8 and once(): | |
useSkill(7, 'random') # Black Diamond Dust (197896): Magic ice and dark damage (25x, MAG) to all enemies, Reduce resistance to Ice and Dark by 50% for 3 turns to all enemies, Reduce ATK and MAG by 100% for 3 turns to all enemies | |
green += 1 | |
elif self.HP < 0.8 and once(): | |
useSkill(8, 'random') # Suspicious Eyes (197897): Inflict Charm (100%) on one enemy for 2 turns | |
green += 1 | |
elif self.HP < 0.5 and once() and peach == False: | |
useSkill(9, 'random') # Crystal Shell (197898): Reduce physical damage taken by 100% to all allies for one turn (can not be removed) | |
green += 1 | |
peach = True # reset next turn | |
elif self.HP < 0.5 and once() and olive == False: | |
useSkill(10, 'random') # Ice Barrier (197899): Reduce magic damage taken by 100% to all allies for one turn (can not be removed), Increase resistance to Fire and Wind by 1000% for 3 turns to all allies | |
green += 1 | |
olive = True # reset next turn | |
elif self.HP < 0.5 and once(): | |
useSkill(7, 'random') # Black Diamond Dust (197896): Magic ice and dark damage (25x, MAG) to all enemies, Reduce resistance to Ice and Dark by 50% for 3 turns to all enemies, Reduce ATK and MAG by 100% for 3 turns to all enemies | |
green += 1 | |
elif self.HP < 0.5 and once(): | |
useSkill(8, 'random') # Suspicious Eyes (197897): Inflict Charm (100%) on one enemy for 2 turns | |
green += 1 | |
elif self.HP < 0.3 and once() and peach == False: | |
useSkill(9, 'random') # Crystal Shell (197898): Reduce physical damage taken by 100% to all allies for one turn (can not be removed) | |
green += 1 | |
peach = True # reset next turn | |
elif self.HP < 0.3 and once() and olive == False: | |
useSkill(10, 'random') # Ice Barrier (197899): Reduce magic damage taken by 100% to all allies for one turn (can not be removed), Increase resistance to Fire and Wind by 1000% for 3 turns to all allies | |
green += 1 | |
olive = True # reset next turn | |
elif self.HP < 0.3 and once(): | |
useSkill(7, 'random') # Black Diamond Dust (197896): Magic ice and dark damage (25x, MAG) to all enemies, Reduce resistance to Ice and Dark by 50% for 3 turns to all enemies, Reduce ATK and MAG by 100% for 3 turns to all enemies | |
green += 1 | |
elif self.HP < 0.3 and once(): | |
useSkill(8, 'random') # Suspicious Eyes (197897): Inflict Charm (100%) on one enemy for 2 turns | |
green += 1 | |
elif random() <= 0.50 and honey == False and isTurnMod(8) and peach == False: | |
useSkill(9, 'random') # Crystal Shell (197898): Reduce physical damage taken by 100% to all allies for one turn (can not be removed) | |
green += 1 | |
peach = True # reset next turn | |
elif honey == False and isTurnMod(8) and olive == False: | |
useSkill(10, 'random') # Ice Barrier (197899): Reduce magic damage taken by 100% to all allies for one turn (can not be removed), Increase resistance to Fire and Wind by 1000% for 3 turns to all allies | |
green += 1 | |
olive = True # reset next turn | |
elif isTurnMod(6) and lemon == False: | |
useSkill(8, 'random') # Suspicious Eyes (197897): Inflict Charm (100%) on one enemy for 2 turns | |
green += 1 | |
lemon = True # reset next turn | |
elif isTurnMod(9) and grape == False: | |
useSkill(4, 'hp_min') # Curaga (197887): Restore 10% HP to one ally | |
green += 1 | |
grape = True # reset next turn | |
elif random() <= 0.50 and isTurnMod(8) and grape == False: | |
useSkill(1, 'random') # Osmose (197882): Magic damage (0.75x, MAG) as MP drain (75%) to one enemy | |
green += 1 | |
grape = True # reset next turn | |
elif isTurnMod(3) and grape == False: | |
useSkill(2, 'random') # Silencega (197883): Inflict Silence (100%) on all enemies | |
green += 1 | |
grape = True # reset next turn | |
elif self.HP < 0.5 and melon == False: | |
useSkill(3, 'random') # Shooting Hail (197886): Physical damage (10x, ATK) to all enemies, Reduce DEF and SPR by 50% for 3 turns to all enemies | |
green += 1 | |
melon = True # reset next turn | |
elif guava == False: | |
useSkill(6, 'random') # Dark Blizzaja (197893): Magic ice and dark damage (18x, MAG) to all enemies | |
green += 1 | |
guava = True # reset next turn | |
elif random() <= 0.30: | |
useSkill(5, 'random') # Dark Blizzard (197890): Magic ice and dark damage (10x, MAG) to one enemy | |
green += 1 | |
else: | |
attack('random') | |
green += 1 | |
## | |
# Monster Info | |
## | |
# | |
# Monster Dark Golem (210018002) | |
# Race Stone | |
# Level 99 | |
# Actions 12-12 | |
# | |
# | |
# Stats | |
# HP 100000000 | |
# MP 100000 | |
# ATK 1200 | |
# DEF 600 | |
# MAG 900 | |
# SPR 100 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 0% | |
# Ice 0% | |
# Lightning 0% | |
# Water 0% | |
# Wind -700% | |
# Earth 0% | |
# Light 0% | |
# Dark 0% | |
# Non-Elemental 0% | |
# | |
# | |
# Status resist (+100% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 0% | |
# MAG 100% | |
# SPR 100% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 土属性吸収 (100007) [Passive] | |
# | |
# Absorb Earth elemental attacks | |
# | |
## | |
# | |
# 全ステ30% (100030) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 30% | |
# | |
## | |
# | |
# 闇属性吸収 (100013) [Passive] | |
# | |
# Absorb Dark elemental attacks | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Trample (197902) [Physical] | |
# | |
# Physical damage (7x, ATK) to one enemy | |
# Reduce DEF and SPR by 50% for 3 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Kick Away (197905) [Physical] | |
# | |
# Physical damage (7x, ATK) to one enemy | |
# Reduce ATK and MAG by 50% for 3 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Magnitude 8 (197908) [Physical] | |
# | |
# Physical earth damage (20x, ATK) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Earthen Wall (197909) [None] | |
# | |
# Reduce physical damage taken by 100% to all allies for one turn (can not be removed) | |
# Unused parameters: [1] | |
# Reduce magic damage taken by 100% to all allies for one turn (can not be removed) | |
# Unused parameters: [1] | |
# Increase DEF and SPR by 999% for one turn to all allies (can not be removed) | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Fragmental Rock (197912) [Magic] | |
# | |
# Magic earth damage (12x, MAG) to all enemies | |
# Unknown parameters: [0] | |
# Reduce ATK, DEF, MAG and SPR by 40% for 5 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 - | |
# | |
## | |
# | |
# Dark Golem Support System (197913) [None] | |
# | |
# Intercept unknown damage to allies for one turn, reducing damage by 50% | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Dark Stone Prison (197914) [None] | |
# | |
# 90% HP damage to one enemy | |
# Unknown parameters: [90,100] | |
# Reduce resistance to Earth and Dark by 150% for 3 turns to one enemy | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Rampage (197917) [Physical] | |
# | |
# Physical damage (13x, ATK) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Power Stone (197920) [None] | |
# | |
# Increase ATK and MAG by 30% for one turn to one ally | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Your enemies seethe with malice. (197923) [None] | |
# | |
# Increase ATK, DEF, MAG and SPR by 100% for one turn to all allies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Frigid Cavern (197926) [None] | |
# | |
# Magic* damage (35x, MAG) to all enemies | |
# Inflict Sleep and Confusion (100%) on all enemies | |
# Unknown parameters: [1] | |
# Inflict Stop (100%) for 2 turns on all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if apple == True: | |
endTurn() | |
white += 1 | |
green = 0 | |
elif once(): | |
useSkill(6, 'random') # Dark Golem Support System (197913): Intercept unknown damage to allies for one turn, reducing damage by 50% | |
apple = True # reset next turn | |
elif unit('3:ally:1:Dark Shiva').is('alive') and ramen == True: | |
useSkill(11, 'random') # Frigid Cavern (197926): Magic* damage (35x, MAG) to all enemies, Inflict Sleep and Confusion (100%) on all enemies, Inflict Stop (100%) for 2 turns on all enemies | |
apple = True # reset next turn | |
ramen = False # persistent | |
elif unit('3:ally:1:Dark Shiva').is('dead') and peach == False: | |
useSkill(9, 'random') # Power Stone (197920): Increase ATK and MAG by 30% for one turn to one ally | |
green += 1 | |
peach = True # reset next turn | |
honey = True # persistent | |
elif honey == True and peach == False: | |
useSkill(9, 'random') # Power Stone (197920): Increase ATK and MAG by 30% for one turn to one ally | |
peach = True # reset next turn | |
elif honey == False and white >= 12 and once(): | |
useSkill(4, 'random') # Earthen Wall (197909): Reduce physical damage taken by 100% to all allies for one turn (can not be removed), Reduce magic damage taken by 100% to all allies for one turn (can not be removed), Increase DEF and SPR by 999% for one turn to all allies (can not be removed) | |
apple = True # reset next turn | |
elif unit('3:ally:1:Dark Shiva').is('alive') and isTurnMod(9) and green >= 8: | |
useSkill(10, 'random') # Your enemies seethe with malice. (197923): Increase ATK, DEF, MAG and SPR by 100% for one turn to all allies | |
apple = True # reset next turn | |
ramen = True # persistent | |
elif honey == False and green >= 8: | |
useSkill(6, 'random') # Dark Golem Support System (197913): Intercept unknown damage to allies for one turn, reducing damage by 50% | |
apple = True # reset next turn | |
elif honey == False and green == 7 and isTurnMod(5) and olive == False: | |
useSkill(9, 'random') # Power Stone (197920): Increase ATK and MAG by 30% for one turn to one ally | |
green += 1 | |
olive = True # reset next turn | |
elif self.HP < 0.8 and once(): | |
useSkill(5, 'random') # Fragmental Rock (197912): Magic earth damage (12x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 40% for 5 turns to all enemies, Reduce resistance to Earth by 60% for 3 turns to all enemies | |
guava = True # reset next turn | |
elif guava == True and once(): | |
useSkill(4, 'random') # Earthen Wall (197909): Reduce physical damage taken by 100% to all allies for one turn (can not be removed), Reduce magic damage taken by 100% to all allies for one turn (can not be removed), Increase DEF and SPR by 999% for one turn to all allies (can not be removed) | |
apple = True # reset next turn | |
elif self.HP < 0.6 and once(): | |
useSkill(5, 'random') # Fragmental Rock (197912): Magic earth damage (12x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 40% for 5 turns to all enemies, Reduce resistance to Earth by 60% for 3 turns to all enemies | |
guava = True # reset next turn | |
elif guava == True and once(): | |
useSkill(4, 'random') # Earthen Wall (197909): Reduce physical damage taken by 100% to all allies for one turn (can not be removed), Reduce magic damage taken by 100% to all allies for one turn (can not be removed), Increase DEF and SPR by 999% for one turn to all allies (can not be removed) | |
apple = True # reset next turn | |
elif self.HP < 0.4 and once(): | |
useSkill(5, 'random') # Fragmental Rock (197912): Magic earth damage (12x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 40% for 5 turns to all enemies, Reduce resistance to Earth by 60% for 3 turns to all enemies | |
guava = True # reset next turn | |
elif guava == True and once(): | |
useSkill(4, 'random') # Earthen Wall (197909): Reduce physical damage taken by 100% to all allies for one turn (can not be removed), Reduce magic damage taken by 100% to all allies for one turn (can not be removed), Increase DEF and SPR by 999% for one turn to all allies (can not be removed) | |
apple = True # reset next turn | |
elif honey == True and olive == False: | |
useSkill(8, 'random') # Rampage (197917): Physical damage (13x, ATK) to all enemies | |
olive = True # reset next turn | |
elif isTurnMod(6) and olive == False: | |
useSkill(8, 'random') # Rampage (197917): Physical damage (13x, ATK) to all enemies | |
green += 1 | |
olive = True # reset next turn | |
elif honey == True and mango == False: | |
useSkill(3, 'random') # Magnitude 8 (197908): Physical earth damage (20x, ATK) to all enemies | |
mango = True # reset next turn | |
elif isTurnMod(2) and mango == False: | |
useSkill(3, 'random') # Magnitude 8 (197908): Physical earth damage (20x, ATK) to all enemies | |
green += 1 | |
mango = True # reset next turn | |
elif honey == True and lemon == False: | |
useSkill(7, 'random') # Dark Stone Prison (197914): 90% HP damage to one enemy, Reduce resistance to Earth and Dark by 150% for 3 turns to one enemy | |
lemon = True # reset next turn | |
elif grape == False: | |
useSkill(1, 'random') # Trample (197902): Physical damage (7x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy | |
green += 1 | |
grape = True # reset next turn | |
elif melon == False: | |
useSkill(2, 'random') # Kick Away (197905): Physical damage (7x, ATK) to one enemy, Reduce ATK and MAG by 50% for 3 turns to one enemy | |
green += 1 | |
melon = True # reset next turn | |
elif random() <= 0.20 and honey == True: | |
useSkill(1, 'random') # Trample (197902): Physical damage (7x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy | |
elif random() <= 0.30 and honey == True: | |
useSkill(2, 'random') # Kick Away (197905): Physical damage (7x, ATK) to one enemy, Reduce ATK and MAG by 50% for 3 turns to one enemy | |
else: | |
attack('random') | |
green += 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment