Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic

aEnigmatic/93605.gl.py

Last active Mar 4, 2021
Embed
What would you like to do?
Dark Visions #11
##
# Mission 'Physical Domain of Fire and Light' (9360501)
# BattleScript: 936050101
#
# Battles
# * Dark Sprinter
##
##
# Monster Info
##
#
# Monster Dark Sprinter (202020002, 401110004)
# Race Avian
# Level 99
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 380000000
# MP 150000
# ATK 1250
# DEF 5500
# MAG 1350
# SPR 55000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -50%
# Ice 80%
# Lightning 80%
# Water 80%
# Wind 80%
# Earth 80%
# Light -50%
# 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
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# Ice Claws (220621) [Physical]
#
# Physical ice damage (3.8x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark (220622) [Magic]
#
# Magic dark damage (3.8x, MAG) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# All-Ice Claws (220623) [Physical]
#
# Physical ice damage (3.2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Breath (220624) [Magic]
#
# Magic dark damage (3.2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ice & Dark Ruin (220625) [None]
#
# Reduce resistance to Ice and Dark by 60% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Open Wings (220626) [None]
#
# Increase ATK and MAG by 20% for 3 turns to caster
# Unused parameters: [1]
# Increase resistance to Fire by 100% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Ice) (220627) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Dark) (220628) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blizzard Hurricane (220629) [Physical]
#
# Physical ice damage (4.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shadow Super Magic Attack - Dark (220630) [Magic]
#
# Magic dark damage (4.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 7 and once() and self.HP < 0.8:
useSkill(6, 'random') # Open Wings (220626): Increase ATK and MAG by 20% for 3 turns to caster, Increase resistance to Fire by 100% for 3 turns to caster
apple = True # reset next turn
elif green >= 7 and once() and self.HP < 0.6 and apple == False:
useSkill(6, 'random') # Open Wings (220626): Increase ATK and MAG by 20% for 3 turns to caster, Increase resistance to Fire by 100% for 3 turns to caster
apple = True # reset next turn
elif green >= 7 and once() and self.HP < 0.4 and apple == False:
useSkill(6, 'random') # Open Wings (220626): Increase ATK and MAG by 20% for 3 turns to caster, Increase resistance to Fire by 100% for 3 turns to caster
elif random() <= 0.47 and green >= 7 and berry == False and isTurnMod(2):
useSkill(7, 'random') # Focusing the power of shadow! (Ice) (220627): No effect
berry = True # reset next turn
honey = True # persistent
elif green >= 7 and berry == False and isTurnMod(2):
useSkill(8, 'random') # Focusing the power of shadow! (Dark) (220628): No effect
berry = True # reset next turn
ramen = True # persistent
elif green >= 7 and peach == False and isTurnMod(3):
useSkill(5, 'random') # Ice & Dark Ruin (220625): Reduce resistance to Ice and Dark by 60% for 3 turns to all enemies
peach = True # reset next turn
elif green >= 7:
endTurn()
green = 0
elif honey == True:
useSkill(9, 'random') # Blizzard Hurricane (220629): Physical ice damage (4.5x, ATK) to all enemies
honey = False # persistent
elif ramen == True:
useSkill(10, 'random') # Shadow Super Magic Attack - Dark (220630): Magic dark damage (4.5x, MAG) to all enemies
ramen = False # persistent
elif random() <= 0.47 and green < 3:
useSkill(1, 'random') # Ice Claws (220621): Physical ice damage (3.8x, ATK) to one enemy
green += 1
elif green < 3:
useSkill(2, 'random') # Dark (220622): Magic dark damage (3.8x, MAG) to one enemy
green += 1
elif random() <= 0.47 and olive == False:
useSkill(4, 'random') # Dark Breath (220624): Magic dark damage (3.2x, MAG) to all enemies
green += 1
olive = True # reset next turn
elif olive == False:
useSkill(3, 'random') # All-Ice Claws (220623): Physical ice damage (3.2x, ATK) to all enemies
green += 1
olive = True # reset next turn
elif mango == False and sushi == False and isTurnMod(2):
useSkill(4, 'random') # Dark Breath (220624): Magic dark damage (3.2x, MAG) to all enemies
green += 1
mango = True # reset next turn
sushi = True # persistent
elif mango == False and sushi == True and isTurnMod(2):
useSkill(3, 'random') # All-Ice Claws (220623): Physical ice damage (3.2x, ATK) to all enemies
green += 1
mango = True # reset next turn
sushi = False # persistent
else:
attack('random')
green += 1
##
# Mission 'Magical Domain of Lightning and Wind' (9360502)
# BattleScript: 936060101
#
# Battles
# * Dark Lebah Raksasa
##
##
# Monster Info
##
#
# Monster Dark Lebah Raksasa (309090000, 401110004)
# Race Insect
# Level 99
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 350000000
# MP 150000
# ATK 1350
# DEF 45000
# MAG 1200
# SPR 4500
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 80%
# Ice 80%
# Lightning -50%
# Water 80%
# Wind -50%
# 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
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# Flood Needle (220631) [Physical]
#
# Physical water damage (3.8x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Buzz Quake (220632) [Magic]
#
# Magic earth damage (3.8x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flood Needle Barrage (220633) [Physical]
#
# Physical water damage (3.2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Buzz Quakera (220634) [Magic]
#
# Magic earth damage (3.2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Water & Earth Ruin (220635) [None]
#
# Reduce resistance to Water and Earth by 50% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Bile (220636) [Magic]
#
# Magic damage (2x, MAG) to all enemies
# Reduce ATK and MAG by 10% and DEF and SPR by 15% for 3 turns to all enemies
# Inflict 6 random status effects (25%) to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Water) (220637) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Earth) (220638) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shadow Super Physical Attack - Water (220639) [Physical]
#
# Physical water damage (4.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Earth Scramble (220640) [Magic]
#
# Magic earth damage (4.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 7 and once() and self.HP < 0.8:
useSkill(6, 'random') # Bile (220636): Magic damage (2x, MAG) to all enemies, Reduce ATK and MAG by 10% and DEF and SPR by 15% for 3 turns to all enemies, Inflict 6 random status effects (25%) to all enemies
apple = True # reset next turn
elif green >= 7 and once() and self.HP < 0.6 and apple == False:
useSkill(6, 'random') # Bile (220636): Magic damage (2x, MAG) to all enemies, Reduce ATK and MAG by 10% and DEF and SPR by 15% for 3 turns to all enemies, Inflict 6 random status effects (25%) to all enemies
apple = True # reset next turn
elif green >= 7 and once() and self.HP < 0.4 and apple == False:
useSkill(6, 'random') # Bile (220636): Magic damage (2x, MAG) to all enemies, Reduce ATK and MAG by 10% and DEF and SPR by 15% for 3 turns to all enemies, Inflict 6 random status effects (25%) to all enemies
elif random() <= 0.47 and green >= 7 and berry == False and isTurnMod(2):
useSkill(7, 'random') # Focusing the power of shadow! (Water) (220637): No effect
berry = True # reset next turn
honey = True # persistent
elif green >= 7 and berry == False and isTurnMod(2):
useSkill(8, 'random') # Focusing the power of shadow! (Earth) (220638): No effect
berry = True # reset next turn
ramen = True # persistent
elif green >= 7 and peach == False and isTurnMod(3):
useSkill(5, 'random') # Water & Earth Ruin (220635): Reduce resistance to Water and Earth by 50% for 3 turns to all enemies
peach = True # reset next turn
elif green >= 7:
endTurn()
green = 0
elif honey == True:
useSkill(9, 'random') # Shadow Super Physical Attack - Water (220639): Physical water damage (4.5x, ATK) to all enemies
honey = False # persistent
elif ramen == True:
useSkill(10, 'random') # Earth Scramble (220640): Magic earth damage (4.5x, MAG) to all enemies
ramen = False # persistent
elif random() <= 0.47 and green < 3:
useSkill(1, 'random') # Flood Needle (220631): Physical water damage (3.8x, ATK) to one enemy
green += 1
elif green < 3:
useSkill(2, 'random') # Buzz Quake (220632): Magic earth damage (3.8x, MAG) to one enemy
green += 1
elif random() <= 0.47 and olive == False:
useSkill(4, 'random') # Buzz Quakera (220634): Magic earth damage (3.2x, MAG) to all enemies
green += 1
olive = True # reset next turn
elif olive == False:
useSkill(3, 'random') # Flood Needle Barrage (220633): Physical water damage (3.2x, ATK) to all enemies
green += 1
olive = True # reset next turn
elif mango == False and sushi == False and isTurnMod(2):
useSkill(4, 'random') # Buzz Quakera (220634): Magic earth damage (3.2x, MAG) to all enemies
green += 1
mango = True # reset next turn
sushi = True # persistent
elif mango == False and sushi == True and isTurnMod(2):
useSkill(3, 'random') # Flood Needle Barrage (220633): Physical water damage (3.2x, ATK) to all enemies
green += 1
mango = True # reset next turn
sushi = False # persistent
else:
attack('random')
green += 1
##
# Mission 'Nightbound Fury' (9360503)
# Enemy has first strike!
# BattleScript: 936070101
#
# Battles
# * Dark Kokuryu
##
##
# Monster Info
##
#
# Monster Dark Kokuryu (407260002)
# Race Dragon
# Level 99
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 114000000
# MP 200000
# ATK 1300
# DEF 17946
# MAG 1300
# SPR 17946
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 60%
# Ice 60%
# Lightning 60%
# Water 60%
# Wind 60%
# Earth 60%
# Light 60%
# Dark 60%
# 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
###
#
# ???65% (100096) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 65%
#
##
###
# Skills
###
#
# Shadow Physical and Magic Barrier (220541) [None]
#
# Reduce damage taken by 96% to one ally for 2 turns (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tail Impact (220542) [Physical]
#
# Physical damage (2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Abyssal Torrent (220543) [None]
#
# Instant KO (100%) to all enemies (ignores death resist)
# Remove all buffs and debuffs from all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Because Dark Kokuryu's HP has fallen below 50%, (220544) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# its shadow physical and magic barrier will disappear next turn! (220545) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Kokuryu's DEF and SPR have been greatly reduced! (220546) [None]
#
# Reduce DEF and SPR by 90% for 5 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Kokuryu is recoiling! (220547) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 5 (220548) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 4 (220549) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 3 (220550) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 2 (220551) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 1 (220552) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(1, 'random') # Shadow Physical and Magic Barrier (220541): Reduce damage taken by 96% to one ally for 2 turns (can not be removed)
elif once():
useSkill(8, 'random') # 5 (220548): No effect
apple = True # reset next turn
elif honey == True:
useSkill(7, 'random') # Dark Kokuryu is recoiling! (220547): No effect
apple = True # reset next turn
elif peach == False and self.HP > 0.5:
useSkill(1, 'random') # Shadow Physical and Magic Barrier (220541): Reduce damage taken by 96% to one ally for 2 turns (can not be removed)
peach = True # reset next turn
elif ramen == True and self.HP > 0.5:
useSkill(3, 'random') # Abyssal Torrent (220543): Instant KO (100%) to all enemies (ignores death resist), Remove all buffs and debuffs from all enemies
apple = True # reset next turn
elif once() and self.HP < 0.5:
useSkill(4, 'random') # Because Dark Kokuryu's HP has fallen below 50%, (220544): No effect
elif once() and self.HP < 0.5:
useSkill(5, 'random') # its shadow physical and magic barrier will disappear next turn! (220545): No effect
elif once() and self.HP < 0.5:
useSkill(6, 'random') # Dark Kokuryu's DEF and SPR have been greatly reduced! (220546): Reduce DEF and SPR by 90% for 5 turns to caster
apple = True # reset next turn
honey = True # persistent
elif berry == False:
useSkill(2, 'random') # Tail Impact (220542): Physical damage (2x, ATK) to all enemies
green += 1
berry = True # reset next turn
elif green == 4:
useSkill(12, 'random') # 1 (220552): No effect
apple = True # reset next turn
ramen = True # persistent
elif green == 3:
useSkill(11, 'random') # 2 (220551): No effect
apple = True # reset next turn
elif green == 2:
useSkill(10, 'random') # 3 (220550): No effect
apple = True # reset next turn
elif green == 1:
useSkill(9, 'random') # 4 (220549): No effect
apple = True # reset next turn
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment