Last active
May 30, 2020 18:30
-
-
Save aEnigmatic/92ea543f90a693694a5168107dfe6d1e to your computer and use it in GitHub Desktop.
Dark Visions - 4
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 'Quest 1-1' (9220101) | |
# BattleScript: 922010101 | |
# | |
# Battles | |
# * Dark Soldier | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster Dark Soldier (205300000) | |
# Race Human | |
# Level 75 | |
# Actions 25-25 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 12000000 | |
# MP 10000 | |
# ATK 120 | |
# DEF 100 | |
# MAG 150 | |
# SPR 1000 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 80% | |
# Ice 80% | |
# Lightning -50% | |
# Water 80% | |
# Wind 80% | |
# Earth 80% | |
# Light 80% | |
# Dark 80% | |
# Non-Elemental 80% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 0% | |
# MAG 0% | |
# SPR 0% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 全ステ50% (100015) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 50% | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Flood Magic (217676) [Magic] | |
# | |
# Magic water damage (1.9x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Great Flood Magic (217677) [Magic] | |
# | |
# Magic water damage (1.5x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Flood Stance (217678) [None] | |
# | |
# Reduce resistance to Water by 30% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Torrential Blade (217679) [Physical] | |
# | |
# Physical water damage (1.5x, ATK) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if green >= 5: | |
endTurn() | |
green = 0 | |
elif self.HP < 0.5 and once() and peach == False: | |
useSkill(2, 'random') # Great Flood Magic (217677): Magic water damage (1.5x, MAG) to all enemies | |
green += 1 | |
peach = True # reset next turn | |
elif green < 3: | |
useSkill(1, 'random') # Flood Magic (217676): Magic water damage (1.9x, MAG) to one enemy | |
green += 1 | |
elif isTurnMod(2) and apple == False: | |
useSkill(3, 'random') # Flood Stance (217678): Reduce resistance to Water by 30% for 3 turns to all enemies | |
green += 1 | |
apple = True # reset next turn | |
elif isTurnMod(3) and berry == False: | |
useSkill(2, 'random') # Great Flood Magic (217677): Magic water damage (1.5x, MAG) to all enemies | |
berry = True # reset next turn | |
else: | |
attack('random') | |
green += 1 | |
## | |
# Mission 'Quest 1-2' (9220102) | |
# BattleScript: 922010201 | |
# | |
# Battles | |
# * Harrowing Hellish Horse, Dark Valefor | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster Harrowing Hellish Horse (201260000) | |
# Race Beast | |
# Level 80 | |
# Actions 25-25 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 13000000 | |
# MP 20000 | |
# ATK 200 | |
# DEF 1500 | |
# MAG 150 | |
# SPR 130 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 80% | |
# Ice 80% | |
# Lightning 80% | |
# Water 80% | |
# Wind 80% | |
# Earth -50% | |
# Light 80% | |
# Dark 80% | |
# Non-Elemental 80% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 0% | |
# MAG 0% | |
# SPR 0% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 全ステ50% (100015) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 50% | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Storm Bite (217680) [Physical] | |
# | |
# Physical wind damage (1.9x, ATK) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Storm Gallop (217681) [Physical] | |
# | |
# Physical wind damage (1.5x, ATK) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Poison Claw (217682) [Physical] | |
# | |
# Physical damage (1.2x, ATK) to one enemy | |
# Inflict Poison (100%) on one enemy | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Downdraft Glare (217683) [None] | |
# | |
# Reduce resistance to Wind by 30% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if self.HP < 0.8 and once(): | |
useSkill(2, 'random') # Storm Gallop (217681): Physical wind damage (1.5x, ATK) to all enemies | |
apple = True # reset next turn | |
elif self.HP < 0.4 and once() and apple == False: | |
useSkill(2, 'random') # Storm Gallop (217681): Physical wind damage (1.5x, ATK) to all enemies | |
apple = True # reset next turn | |
elif green >= 4: | |
endTurn() | |
green = 0 | |
elif green < 2: | |
useSkill(1, 'random') # Storm Bite (217680): Physical wind damage (1.9x, ATK) to one enemy | |
green += 1 | |
elif berry == False and isTurnMod(2): | |
useSkill(2, 'random') # Storm Gallop (217681): Physical wind damage (1.5x, ATK) to all enemies | |
green += 1 | |
berry = True # reset next turn | |
else: | |
attack('random') | |
green += 1 | |
## | |
# Monster Info | |
## | |
# | |
# Monster Dark Valefor (201250000) | |
# Race Beast | |
# Level 80 | |
# Actions 25-25 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 15000000 | |
# MP 20000 | |
# ATK 180 | |
# DEF 1200 | |
# MAG 180 | |
# SPR 120 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 80% | |
# Ice 80% | |
# Lightning 80% | |
# Water 80% | |
# Wind 80% | |
# Earth -50% | |
# Light 80% | |
# Dark 80% | |
# Non-Elemental 80% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 0% | |
# MAG 0% | |
# SPR 0% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 全ステ50% (100015) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 50% | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Storm Bite (217680) [Physical] | |
# | |
# Physical wind damage (1.9x, ATK) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Storm Gallop (217681) [Physical] | |
# | |
# Physical wind damage (1.5x, ATK) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Poison Claw (217682) [Physical] | |
# | |
# Physical damage (1.2x, ATK) to one enemy | |
# Inflict Poison (100%) on one enemy | |
# Unknown parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Downdraft Glare (217683) [None] | |
# | |
# Reduce resistance to Wind by 30% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if green >= 2 and self.HP < 0.9 and once(): | |
useSkill(4, 'random') # Downdraft Glare (217683): Reduce resistance to Wind by 30% for 3 turns to all enemies | |
apple = True # reset next turn | |
elif green >= 2 and self.HP < 0.5 and once() and apple == False: | |
useSkill(4, 'random') # Downdraft Glare (217683): Reduce resistance to Wind by 30% for 3 turns to all enemies | |
apple = True # reset next turn | |
elif green >= 2: | |
endTurn() | |
green = 0 | |
elif isTurnMod(2) and berry == False: | |
useSkill(3, 'random') # Poison Claw (217682): Physical damage (1.2x, ATK) to one enemy, Inflict Poison (100%) on one enemy | |
green += 1 | |
berry = True # reset next turn | |
elif isTurnMod(3) and peach == False: | |
useSkill(3, 'random') # Poison Claw (217682): Physical damage (1.2x, ATK) to one enemy, Inflict Poison (100%) on one enemy | |
green += 1 | |
peach = True # reset next turn | |
else: | |
attack('random') | |
green += 1 | |
## | |
# Mission 'Quest 1-3' (9220103) | |
# BattleScript: 922010301 | |
# | |
# Battles | |
# * Dark Magitek Armor | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster Dark Magitek Armor (206090000) | |
# Race Machina | |
# Level 85 | |
# Actions 25-25 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 34000000 | |
# MP 30000 | |
# ATK 250 | |
# DEF 1600 | |
# MAG 150 | |
# SPR 125 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 80% | |
# Ice 80% | |
# Lightning 80% | |
# Water -50% | |
# Wind 80% | |
# Earth 80% | |
# Light 80% | |
# Dark 80% | |
# Non-Elemental 80% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 0% | |
# MAG 0% | |
# SPR 0% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 全ステ50% (100015) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 50% | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Electro Cannon (217684) [Physical] | |
# | |
# Physical lightning damage (1.9x, ATK) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Scattershot Electro Cannon (217685) [Physical] | |
# | |
# Physical lightning damage (1.5x, ATK) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Charged Particle Dispersion (217686) [None] | |
# | |
# Reduce resistance to Lightning by 30% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Output has increased! (217687) [None] | |
# | |
# No effect | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# High-Frequency Electromagnetic Wave (217688) [Physical] | |
# | |
# Physical lightning damage (1.8x, ATK) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if green >= 6 and self.HP < 0.7 and once(): | |
useSkill(2, 'random') # Scattershot Electro Cannon (217685): Physical lightning damage (1.5x, ATK) to all enemies | |
lemon = True # reset next turn | |
elif green >= 6 and self.HP < 0.3 and once() and lemon == False: | |
useSkill(2, 'random') # Scattershot Electro Cannon (217685): Physical lightning damage (1.5x, ATK) to all enemies | |
elif green >= 6 and isTurnMod(3) and grape == False: | |
useSkill(5, 'random') # High-Frequency Electromagnetic Wave (217688): Physical lightning damage (1.8x, ATK) to all enemies | |
grape = True # reset next turn | |
elif green >= 6 and isTurnMod(2) and apple == False: | |
useSkill(4, 'random') # Output has increased! (217687): No effect | |
apple = True # reset next turn | |
honey = True # persistent | |
elif green >= 6: | |
endTurn() | |
green = 0 | |
elif honey == True: | |
useSkill(2, 'random') # Scattershot Electro Cannon (217685): Physical lightning damage (1.5x, ATK) to all enemies | |
honey = False # persistent | |
elif green < 4: | |
useSkill(1, 'random') # Electro Cannon (217684): Physical lightning damage (1.9x, ATK) to one enemy | |
green += 1 | |
elif isTurnMod(2) and berry == False: | |
useSkill(2, 'random') # Scattershot Electro Cannon (217685): Physical lightning damage (1.5x, ATK) to all enemies | |
berry = True # reset next turn | |
elif isTurnMod(3) and peach == False: | |
useSkill(3, 'random') # Charged Particle Dispersion (217686): Reduce resistance to Lightning by 30% for 3 turns to all enemies | |
peach = True # reset next turn | |
elif isTurnMod(4) and olive == False and self.HP < 0.4: | |
useSkill(2, 'random') # Scattershot Electro Cannon (217685): Physical lightning damage (1.5x, ATK) to all enemies | |
olive = True # reset next turn | |
else: | |
attack('random') | |
green += 1 | |
## | |
# Mission 'Quest 1-4' (9220104) | |
# BattleScript: 922010401 | |
# | |
# Battles | |
# * Dark Mini Dragon, Dark Summoner | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster Dark Mini Dragon (107000000) | |
# Race Dragon | |
# Level 85 | |
# Actions 25-25 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 25000000 | |
# MP 50000 | |
# ATK 280 | |
# DEF 150 | |
# MAG 250 | |
# SPR 1800 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 80% | |
# Ice 80% | |
# Lightning 80% | |
# Water 80% | |
# Wind 80% | |
# Earth -50% | |
# Light 80% | |
# Dark 80% | |
# Non-Elemental 80% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 0% | |
# MAG 0% | |
# SPR 0% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 全ステ50% (100015) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 50% | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Demonic Whirlwhind (217689) [Magic] | |
# | |
# Magic wind damage (1.9x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Ferocious Demonic Whirlwhind (217690) [Magic] | |
# | |
# Magic wind damage (1.5x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Confuse (217691) [Magic] | |
# | |
# Inflict Confusion (50%) on one enemy | |
# Unknown parameters: [1] | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Curaga (217692) [Magic] | |
# | |
# Restore 3-8% HP to all allies | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Piercing Hell Wind (217693) [Magic] | |
# | |
# Magic wind damage (2.3x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if self.HP < 0.6 and once(): | |
useSkill(2, 'random') # Ferocious Demonic Whirlwhind (217690): Magic wind damage (1.5x, MAG) to all enemies | |
peach = True # reset next turn | |
elif self.HP < 0.3 and once() and peach == False: | |
useSkill(2, 'random') # Ferocious Demonic Whirlwhind (217690): Magic wind damage (1.5x, MAG) to all enemies | |
elif unit('3:ally:2:Dark Summoner').is('dead') and green >= 6: | |
endTurn() | |
green = 0 | |
elif unit('3:ally:2:Dark Summoner').is('alive') and green >= 4: | |
endTurn() | |
green = 0 | |
elif unit('3:ally:2:Dark Summoner').is('alive') and green < 2: | |
useSkill(1, 'random') # Demonic Whirlwhind (217689): Magic wind damage (1.9x, MAG) to one enemy | |
green += 1 | |
elif unit('3:ally:2:Dark Summoner').is('alive') and apple == False: | |
useSkill(2, 'random') # Ferocious Demonic Whirlwhind (217690): Magic wind damage (1.5x, MAG) to all enemies | |
green += 1 | |
apple = True # reset next turn | |
elif unit('3:ally:2:Dark Summoner').is('dead') and green < 4: | |
useSkill(1, 'random') # Demonic Whirlwhind (217689): Magic wind damage (1.9x, MAG) to one enemy | |
green += 1 | |
elif unit('3:ally:2:Dark Summoner').is('dead') and berry == False: | |
useSkill(2, 'random') # Ferocious Demonic Whirlwhind (217690): Magic wind damage (1.5x, MAG) to all enemies | |
green += 1 | |
berry = True # reset next turn | |
elif isTurnMod(2) and berry == False: | |
useSkill(2, 'random') # Ferocious Demonic Whirlwhind (217690): Magic wind damage (1.5x, MAG) to all enemies | |
green += 1 | |
berry = True # reset next turn | |
else: | |
attack('random') | |
green += 1 | |
## | |
# Monster Info | |
## | |
# | |
# Monster Dark Summoner (205670000) | |
# Race Human | |
# Level 85 | |
# Actions 25-25 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 20000000 | |
# MP 50000 | |
# ATK 200 | |
# DEF 140 | |
# MAG 280 | |
# SPR 1700 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 80% | |
# Ice 80% | |
# Lightning 80% | |
# Water 80% | |
# Wind 80% | |
# Earth -50% | |
# Light 80% | |
# Dark 80% | |
# Non-Elemental 80% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 0% | |
# MAG 0% | |
# SPR 0% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 全ステ50% (100015) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 50% | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Demonic Whirlwhind (217689) [Magic] | |
# | |
# Magic wind damage (1.9x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Ferocious Demonic Whirlwhind (217690) [Magic] | |
# | |
# Magic wind damage (1.5x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Confuse (217691) [Magic] | |
# | |
# Inflict Confusion (50%) on one enemy | |
# Unknown parameters: [1] | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Curaga (217692) [Magic] | |
# | |
# Restore 3-8% HP to all allies | |
# | |
# Sealable + Unknown1 + | |
# Reflect + Unknown2 - | |
# | |
## | |
# | |
# Piercing Hell Wind (217693) [Magic] | |
# | |
# Magic wind damage (2.3x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if unit('3:ally:1:Dark Mini Dragon').is('alive') and green >= 3 and isTurnMod(4) and peach == False: | |
useSkill(5, 'random') # Piercing Hell Wind (217693): Magic wind damage (2.3x, MAG) to one enemy | |
peach = True # reset next turn | |
elif unit('3:ally:1:Dark Mini Dragon').is('alive') and green >= 3: | |
endTurn() | |
green = 0 | |
elif unit('3:ally:1:Dark Mini Dragon').is('dead') and green >= 5 and isTurnMod(3) and peach == False: | |
useSkill(5, 'random') # Piercing Hell Wind (217693): Magic wind damage (2.3x, MAG) to one enemy | |
peach = True # reset next turn | |
elif unit('3:ally:1:Dark Mini Dragon').is('dead') and green >= 5: | |
endTurn() | |
green = 0 | |
elif unit('3:ally:1:Dark Mini Dragon').is('alive') and green < 2: | |
attack('random') | |
green += 1 | |
elif unit('3:ally:1:Dark Mini Dragon').is('alive') and isTurnMod(4) and apple == False: | |
useSkill(4, 'random') # Curaga (217692): Restore 3-8% HP to all allies | |
green += 1 | |
apple = True # reset next turn | |
elif unit('3:ally:1:Dark Mini Dragon').is('alive') and isTurnMod(2) and berry == False: | |
useSkill(3, 'random') # Confuse (217691): Inflict Confusion (50%) on one enemy | |
green += 1 | |
berry = True # reset next turn | |
elif unit('3:ally:1:Dark Mini Dragon').is('dead') and green < 3: | |
attack('random') | |
green += 1 | |
elif unit('3:ally:1:Dark Mini Dragon').is('dead') and isTurnMod(4) and apple == False: | |
useSkill(4, 'random') # Curaga (217692): Restore 3-8% HP to all allies | |
green += 1 | |
apple = True # reset next turn | |
elif unit('3:ally:1:Dark Mini Dragon').is('dead') and isTurnMod(2) and berry == False: | |
useSkill(3, 'random') # Confuse (217691): Inflict Confusion (50%) on one enemy | |
green += 1 | |
berry = True # reset next turn | |
else: | |
attack('random') | |
green += 1 | |
## | |
# Mission 'Quest 1-5' (9220105) | |
# BattleScript: 922010501 | |
# | |
# Battles | |
# * Dark Leviathan | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster Dark Leviathan (503000000) | |
# Race Aquatic | |
# Level 90 | |
# Actions 25-25 | |
# | |
# NEW DAMAGE FORMULA! (5, 25, 185) | |
# | |
# | |
# Stats | |
# HP 65000000 | |
# MP 100000 | |
# ATK 480 | |
# DEF 250 | |
# MAG 550 | |
# SPR 2500 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 80% | |
# Ice 80% | |
# Lightning -50% | |
# Water 80% | |
# Wind 80% | |
# Earth 80% | |
# Light 80% | |
# Dark 80% | |
# Non-Elemental 80% | |
# | |
# | |
# Status resist (+80% / application) | |
# Poison 100% | |
# Blind 100% | |
# Sleep 100% | |
# Silence 100% | |
# Paralyze 100% | |
# Confusion 100% | |
# Disease 100% | |
# Petrify 100% | |
# | |
# | |
# Debuff resist | |
# ATK 0% | |
# DEF 0% | |
# MAG 0% | |
# SPR 0% | |
# Stop 100% | |
# Charm 100% | |
# Berserk 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Passives | |
### | |
# | |
# 全ステ50% (100015) [Passive] | |
# | |
# Increase ATK, DEF, MAG and SPR by 50% | |
# | |
## | |
### | |
# Skills | |
### | |
# | |
# Dark Water (217694) [Magic] | |
# | |
# Magic water damage (3.5x, MAG) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Shadow Magic Attack - Water (217695) [Magic] | |
# | |
# Magic water damage (3x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Sweep (217696) [Physical] | |
# | |
# Physical damage (2.5x, ATK) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Domain Under Water (217697) [None] | |
# | |
# Reduce resistance to Water by 40% for 3 turns to all enemies | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# The enemy's DEF and SPR rose through the power of darkness! (217698) [None] | |
# | |
# Increase DEF and SPR by 10% for 3 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Surge, raging waters! (217699) [None] | |
# | |
# Increase ATK and MAG by 10% for 2 turns to caster | |
# Unused parameters: [1] | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# Tsunami (217700) [Magic] | |
# | |
# Magic water damage (4x, MAG) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if green >= 9 and self.HP < 0.7 and once(): | |
useSkill(2, 'random') # Shadow Magic Attack - Water (217695): Magic water damage (3x, MAG) to all enemies | |
apple = True # reset next turn | |
elif green >= 9 and self.HP < 0.5 and once() and apple == False: | |
useSkill(2, 'random') # Shadow Magic Attack - Water (217695): Magic water damage (3x, MAG) to all enemies | |
apple = True # reset next turn | |
elif green >= 9 and self.HP < 0.3 and once() and apple == False: | |
useSkill(2, 'random') # Shadow Magic Attack - Water (217695): Magic water damage (3x, MAG) to all enemies | |
elif green >= 9 and isTurnMod(3) and berry == False: | |
useSkill(4, 'random') # Domain Under Water (217697): Reduce resistance to Water by 40% for 3 turns to all enemies | |
berry = True # reset next turn | |
elif green >= 9 and isTurnMod(2) and peach == False: | |
useSkill(6, 'random') # Surge, raging waters! (217699): Increase ATK and MAG by 10% for 2 turns to caster | |
peach = True # reset next turn | |
honey = True # persistent | |
elif green >= 9: | |
endTurn() | |
green = 0 | |
elif honey == True: | |
useSkill(7, 'random') # Tsunami (217700): Magic water damage (4x, MAG) to all enemies | |
honey = False # persistent | |
elif isTurnMod(4) and olive == False: | |
useSkill(5, 'random') # The enemy's DEF and SPR rose through the power of darkness! (217698): Increase DEF and SPR by 10% for 3 turns to caster | |
olive = True # reset next turn | |
elif green < 4: | |
useSkill(1, 'random') # Dark Water (217694): Magic water damage (3.5x, MAG) to one enemy | |
green += 1 | |
elif mango == False: | |
useSkill(2, 'random') # Shadow Magic Attack - Water (217695): Magic water damage (3x, MAG) to all enemies | |
green += 1 | |
mango = True # reset next turn | |
elif isTurnMod(2) and lemon == False: | |
useSkill(2, 'random') # Shadow Magic Attack - Water (217695): Magic water damage (3x, MAG) to all enemies | |
lemon = True # reset next turn | |
elif grape == False: | |
useSkill(3, 'random') # Sweep (217696): Physical damage (2.5x, ATK) to all enemies | |
green += 1 | |
grape = True # reset next turn | |
else: | |
attack('random') | |
green += 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment