Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created June 6, 2021 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aEnigmatic/d83c5e8c5d3676248e2f338f24d73735 to your computer and use it in GitHub Desktop.
Save aEnigmatic/d83c5e8c5d3676248e2f338f24d73735 to your computer and use it in GitHub Desktop.
##
# Mission 'Physical Domain of Lightning and Wind' (9410501)
# BattleScript: 941050101
#
# Battles
# * Dark Manticore
##
##
# Monster Info
##
#
# Monster Dark Manticore (304200003, 401110006)
# Race Beast
# Level 99
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 380000000
# MP 150000
# ATK 1100
# DEF 9000
# MAG 1250
# SPR 90000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 80%
# Ice 80%
# Lightning -200%
# Water 80%
# Wind -200%
# 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
###
#
# Dark Water (221329) [Magic]
#
# Magic water damage (3.8x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Storm Bite (221330) [Physical]
#
# Physical wind damage (3.8x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Waterga (221331) [Magic]
#
# Magic water damage (3.2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Storm Gallop (221332) [Physical]
#
# Physical wind damage (3.2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Water & Wind Ruin (221333) [None]
#
# Reduce resistance to Water and Wind by 60% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Super Roar (221334) [None]
#
# Inflict Paralyze (100%) on all enemies
# Inflict Stop (100%) for 2 turns on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Water) (221335) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Wind) (221336) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Aqua Inferno (221337) [Magic]
#
# Magic water damage (4.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Delta Scrub (221338) [Physical]
#
# Physical wind damage (4.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 7 and once() and self.HP < 0.8:
useSkill(6, 'random') # Super Roar (221334): Inflict Paralyze (100%) on all enemies, Inflict Stop (100%) for 2 turns on all enemies
apple = True # reset next turn
elif green >= 7 and once() and self.HP < 0.6 and apple == False:
useSkill(6, 'random') # Super Roar (221334): Inflict Paralyze (100%) on all enemies, Inflict Stop (100%) for 2 turns on all enemies
apple = True # reset next turn
elif green >= 7 and once() and self.HP < 0.4 and apple == False:
useSkill(6, 'random') # Super Roar (221334): Inflict Paralyze (100%) on all enemies, Inflict Stop (100%) for 2 turns on all enemies
elif random() <= 0.47 and green >= 7 and berry == False and isTurnMod(2):
useSkill(7, 'random') # Focusing the power of shadow! (Water) (221335): 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! (Wind) (221336): No effect
berry = True # reset next turn
ramen = True # persistent
elif green >= 7 and peach == False and isTurnMod(3):
useSkill(5, 'random') # Water & Wind Ruin (221333): Reduce resistance to Water and Wind 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') # Aqua Inferno (221337): Magic water damage (4.5x, MAG) to all enemies
honey = False # persistent
elif ramen == True:
useSkill(10, 'random') # Delta Scrub (221338): Physical wind damage (4.5x, ATK) to all enemies
ramen = False # persistent
elif random() <= 0.47 and green < 3:
useSkill(1, 'random') # Dark Water (221329): Magic water damage (3.8x, MAG) to one enemy
green += 1
elif green < 3:
useSkill(2, 'random') # Storm Bite (221330): Physical wind damage (3.8x, ATK) to one enemy
green += 1
elif random() <= 0.47 and olive == False:
useSkill(4, 'random') # Storm Gallop (221332): Physical wind damage (3.2x, ATK) to all enemies
green += 1
olive = True # reset next turn
elif olive == False:
useSkill(3, 'random') # Dark Waterga (221331): Magic water damage (3.2x, MAG) to all enemies
green += 1
olive = True # reset next turn
elif mango == False and sushi == False and isTurnMod(2):
useSkill(4, 'random') # Storm Gallop (221332): Physical wind damage (3.2x, ATK) 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') # Dark Waterga (221331): Magic water damage (3.2x, MAG) to all enemies
green += 1
mango = True # reset next turn
sushi = False # persistent
else:
attack('random')
green += 1
##
# Mission 'Magical Domain of Fire and Water' (9410502)
# BattleScript: 941060101
#
# Battles
# * Dark Mahadeva
##
##
# Monster Info
##
#
# Monster Dark Mahadeva (212010001, 401110006)
# Race Reaper
# Level 99
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 350000000
# MP 150000
# ATK 1250
# DEF 75000
# MAG 1100
# SPR 7500
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -200%
# Ice 80%
# Lightning 80%
# Water -200%
# 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 +
# Unknown (7) +
#
###
###
# Passives
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# Ice Claws (221339) [Physical]
#
# Physical ice damage (3.8x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Begrudging Bolt (221340) [Magic]
#
# Magic lightning damage (3.8x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# All-Ice Claws (221341) [Physical]
#
# Physical ice damage (3.2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Smiting Curse (221342) [Magic]
#
# Magic lightning damage (3.2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ice & Lightning Ruin (221343) [None]
#
# Reduce resistance to Ice and Lightning by 60% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Zombie Virus (221344) [None]
#
# Inflict Zombie (100%) to one enemy
# Remove all buffs and debuffs from one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Ice) (221345) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Lightning) (221346) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ruinous Blizzard (221347) [Physical]
#
# Physical ice damage (4.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hell Thunder (221348) [Magic]
#
# Magic lightning 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') # Zombie Virus (221344): Inflict Zombie (100%) to one enemy, Remove all buffs and debuffs from one enemy
apple = True # reset next turn
elif green >= 7 and once() and self.HP < 0.6 and apple == False:
useSkill(6, 'random') # Zombie Virus (221344): Inflict Zombie (100%) to one enemy, Remove all buffs and debuffs from one enemy
apple = True # reset next turn
elif green >= 7 and once() and self.HP < 0.4 and apple == False:
useSkill(6, 'random') # Zombie Virus (221344): Inflict Zombie (100%) to one enemy, Remove all buffs and debuffs from one enemy
elif random() <= 0.47 and green >= 7 and berry == False and isTurnMod(2):
useSkill(7, 'random') # Focusing the power of shadow! (Ice) (221345): 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! (Lightning) (221346): No effect
berry = True # reset next turn
ramen = True # persistent
elif green >= 7 and peach == False and isTurnMod(3):
useSkill(5, 'random') # Ice & Lightning Ruin (221343): Reduce resistance to Ice and Lightning 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') # Ruinous Blizzard (221347): Physical ice damage (4.5x, ATK) to all enemies
honey = False # persistent
elif ramen == True:
useSkill(10, 'random') # Hell Thunder (221348): Magic lightning damage (4.5x, MAG) to all enemies
ramen = False # persistent
elif random() <= 0.47 and green < 3:
useSkill(1, 'random') # Ice Claws (221339): Physical ice damage (3.8x, ATK) to one enemy
green += 1
elif green < 3:
useSkill(2, 'random') # Begrudging Bolt (221340): Magic lightning damage (3.8x, MAG) to one enemy
green += 1
elif random() <= 0.47 and olive == False:
useSkill(4, 'random') # Smiting Curse (221342): Magic lightning damage (3.2x, MAG) to all enemies
green += 1
olive = True # reset next turn
elif olive == False:
useSkill(3, 'random') # All-Ice Claws (221341): 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') # Smiting Curse (221342): Magic lightning 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 (221341): 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 'Wings Buffeted by Darkness' (9410503)
# BattleScript: 941070101
#
# Battles
# * Dark Phoenix
##
##
# Monster Info
##
#
# Monster Dark Phoenix (900011029, 401110006)
# Race Avian
# Level 99
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 150000000
# MP 200000
# ATK 1400
# DEF 22500
# MAG 1400
# SPR 22500
#
#
# 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
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Dark Wind (221349) [Magic]
#
# Magic wind damage (4x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flamefang (221350) [Physical]
#
# Physical fire damage (4x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Gust (221351) [Magic]
#
# Magic wind damage (3.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flame Crush (221352) [Physical]
#
# Physical fire damage (3.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wind & Fire Ruin (221353) [None]
#
# Reduce resistance to Fire and Wind by 70% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dispelga (221354) [Magic]
#
# Remove all buffs and debuffs from all enemies
#
# Sealable + Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Wind) (221355) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Fire) (221356) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heavenswind (221357) [Magic]
#
# Magic wind damage (5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sonic Boom (221358) [Physical]
#
# Physical fire damage (5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 7 and once() and self.HP < 0.8:
useSkill(6, 'random') # Dispelga (221354): Remove all buffs and debuffs from all enemies
apple = True # reset next turn
elif green >= 7 and once() and self.HP < 0.6 and apple == False:
useSkill(6, 'random') # Dispelga (221354): Remove all buffs and debuffs from all enemies
apple = True # reset next turn
elif green >= 7 and once() and self.HP < 0.4 and apple == False:
useSkill(6, 'random') # Dispelga (221354): Remove all buffs and debuffs from all enemies
elif random() <= 0.47 and green >= 7 and berry == False and isTurnMod(2):
useSkill(7, 'random') # Focusing the power of shadow! (Wind) (221355): 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! (Fire) (221356): No effect
berry = True # reset next turn
ramen = True # persistent
elif green >= 7 and peach == False and isTurnMod(3):
useSkill(5, 'random') # Wind & Fire Ruin (221353): Reduce resistance to Fire and Wind by 70% for 3 turns to all enemies
peach = True # reset next turn
elif green >= 7:
endTurn()
green = 0
elif honey == True:
useSkill(9, 'random') # Heavenswind (221357): Magic wind damage (5x, MAG) to all enemies
honey = False # persistent
elif ramen == True:
useSkill(10, 'random') # Sonic Boom (221358): Physical fire damage (5x, ATK) to all enemies
ramen = False # persistent
elif random() <= 0.47 and green < 3:
useSkill(1, 'random') # Dark Wind (221349): Magic wind damage (4x, MAG) to one enemy
green += 1
elif green < 3:
useSkill(2, 'random') # Flamefang (221350): Physical fire damage (4x, ATK) to one enemy
green += 1
elif random() <= 0.47 and olive == False:
useSkill(4, 'random') # Flame Crush (221352): Physical fire damage (3.5x, ATK) to all enemies
green += 1
olive = True # reset next turn
elif olive == False:
useSkill(3, 'random') # Dark Gust (221351): Magic wind damage (3.5x, MAG) to all enemies
green += 1
olive = True # reset next turn
elif mango == False and sushi == False and isTurnMod(2):
useSkill(4, 'random') # Flame Crush (221352): Physical fire damage (3.5x, ATK) 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') # Dark Gust (221351): Magic wind damage (3.5x, MAG) to all enemies
green += 1
mango = True # reset next turn
sushi = False # persistent
else:
attack('random')
green += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment