Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created February 1, 2021 13:20
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/bea59469aa28be289d95f296a2c95c93 to your computer and use it in GitHub Desktop.
Save aEnigmatic/bea59469aa28be289d95f296a2c95c93 to your computer and use it in GitHub Desktop.
Dark Visions #10
##
# Mission 'Physical Domain of Wind and Light' (9350501)
# BattleScript: 935050101
#
# Battles
# * Dark Hecatoncheir
##
##
# Monster Info
##
#
# Monster Dark Hecatoncheir (305410002)
# Race Human
# 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 80%
# Ice 80%
# Lightning 80%
# Water 80%
# Wind -50%
# 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
###
#
# Earth Cleaver (220425) [Magic]
#
# Magic earth damage (3.8x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Body Slam - Dark (220426) [Physical]
#
# Physical dark damage (3.8x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Roaring Earth Cleaver (220427) [Magic]
#
# Magic earth damage (3.2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Charge - Dark (220428) [Physical]
#
# Physical dark damage (3.2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Earth & Dark Ruin (220429) [None]
#
# Reduce resistance to Earth and Dark by 60% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Gigantic Growth (220430) [None]
#
# Increase ATK and MAG by 25% and DEF and SPR by 15% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Earth) (220431) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Dark) (220432) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shadow Super Magic Attack - Earth (220433) [Magic]
#
# Magic earth damage (4.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shadow Super Physical Attack - Dark (220434) [Physical]
#
# Physical dark damage (4.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.47 and green >= 7 and berry == False and isTurnMod(2):
useSkill(7, 'random') # Focusing the power of shadow! (Earth) (220431): No effect
berry = True # reset next turn
honey = True # persistent
elif random() <= 1.00 and green >= 7 and berry == False and isTurnMod(2):
useSkill(8, 'random') # Focusing the power of shadow! (Dark) (220432): No effect
berry = True # reset next turn
ramen = True # persistent
elif random() <= 1.00 and green >= 7 and peach == False and isTurnMod(3):
useSkill(5, 'random') # Earth & Dark Ruin (220429): Reduce resistance to Earth and Dark by 60% for 3 turns to all enemies
peach = True # reset next turn
elif random() <= 1.00 and green >= 7:
endTurn()
green = 0
elif random() <= 1.00 and once() and self.HP < 0.8:
useSkill(6, 'random') # Gigantic Growth (220430): Increase ATK and MAG by 25% and DEF and SPR by 15% for 2 turns to caster
apple = True # reset next turn
elif random() <= 1.00 and once() and self.HP < 0.6 and apple == False:
useSkill(6, 'random') # Gigantic Growth (220430): Increase ATK and MAG by 25% and DEF and SPR by 15% for 2 turns to caster
apple = True # reset next turn
elif random() <= 1.00 and once() and self.HP < 0.3 and apple == False:
useSkill(6, 'random') # Gigantic Growth (220430): Increase ATK and MAG by 25% and DEF and SPR by 15% for 2 turns to caster
elif random() <= 1.00 and honey == True:
useSkill(9, 'random') # Shadow Super Magic Attack - Earth (220433): Magic earth damage (4.5x, MAG) to all enemies
honey = False # persistent
elif random() <= 1.00 and ramen == True:
useSkill(10, 'random') # Shadow Super Physical Attack - Dark (220434): Physical dark damage (4.5x, ATK) to all enemies
ramen = False # persistent
elif random() <= 0.47 and green < 3:
useSkill(1, 'random') # Earth Cleaver (220425): Magic earth damage (3.8x, MAG) to one enemy
green += 1
elif random() <= 1.00 and green < 3:
useSkill(2, 'random') # Body Slam - Dark (220426): Physical dark damage (3.8x, ATK) to one enemy
green += 1
elif random() <= 1.00 and sushi == False and olive == False:
useSkill(3, 'random') # Roaring Earth Cleaver (220427): Magic earth damage (3.2x, MAG) to all enemies
green += 1
olive = True # reset next turn
sushi = True # persistent
elif random() <= 1.00 and sushi == True and olive == False:
useSkill(4, 'random') # Charge - Dark (220428): Physical dark damage (3.2x, ATK) to all enemies
green += 1
olive = True # reset next turn
sushi = False # persistent
elif random() <= 0.47 and mango == False and isTurnMod(3):
useSkill(3, 'random') # Roaring Earth Cleaver (220427): Magic earth damage (3.2x, MAG) to all enemies
green += 1
mango = True # reset next turn
elif random() <= 1.00 and mango == False and isTurnMod(3):
useSkill(4, 'random') # Charge - Dark (220428): Physical dark damage (3.2x, ATK) to all enemies
green += 1
mango = True # reset next turn
elif random() <= 1.00:
attack('random')
green += 1
elif random() <= 1.00:
attack('random')
else:
attack('random')
##
# Mission 'Magical Domain of Ice and Darkness' (9350502)
# BattleScript: 935060101
#
# Battles
# * Dark Liquid Flame
##
##
# Monster Info
##
#
# Monster Dark Liquid Flame (408000001)
# Race Fairy
# 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 -50%
# Lightning 80%
# Water 80%
# Wind 80%
# Earth 80%
# Light 80%
# Dark -50%
# 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
###
#
# Fire Shell (220435) [Physical]
#
# Physical fire damage (3.8x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Banish (220436) [Magic]
#
# Magic light damage (3.8x, MAG) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Flame Tackle (220437) [Physical]
#
# Physical fire damage (3.2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Banishga (220438) [Magic]
#
# Magic light damage (3.2x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Fire & Light Ruin (220439) [None]
#
# Reduce resistance to Fire and Light by 60% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Scorch (220440) [Physical]
#
# Physical fire damage (2.5x, ATK) per turn to all enemies for 3 turns
# Unused parameters: [0,0]
# Reduce ATK and MAG by 20% for 2 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Fire) (220441) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Light) (220442) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shadow Super Physical Attack - Fire (220443) [Physical]
#
# Physical fire damage (4.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Light Inferno (220444) [Magic]
#
# Magic light damage (4.5x, MAG) to all enemies
# Reduce resistance to Light by 90% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.47 and green >= 7 and berry == False and isTurnMod(2):
useSkill(7, 'random') # Focusing the power of shadow! (Fire) (220441): No effect
berry = True # reset next turn
honey = True # persistent
elif random() <= 1.00 and green >= 7 and berry == False and isTurnMod(2):
useSkill(8, 'random') # Focusing the power of shadow! (Light) (220442): No effect
berry = True # reset next turn
ramen = True # persistent
elif random() <= 1.00 and green >= 7 and peach == False and isTurnMod(2):
useSkill(5, 'random') # Fire & Light Ruin (220439): Reduce resistance to Fire and Light by 60% for 3 turns to all enemies
peach = True # reset next turn
elif random() <= 1.00 and green >= 7 and once() and self.HP < 0.8:
useSkill(6, 'random') # Scorch (220440): Physical fire damage (2.5x, ATK) per turn to all enemies for 3 turns, Reduce ATK and MAG by 20% for 2 turns to all enemies
apple = True # reset next turn
elif random() <= 1.00 and green >= 7 and once() and self.HP < 0.6 and apple == False:
useSkill(6, 'random') # Scorch (220440): Physical fire damage (2.5x, ATK) per turn to all enemies for 3 turns, Reduce ATK and MAG by 20% for 2 turns to all enemies
apple = True # reset next turn
elif random() <= 1.00 and green >= 7 and once() and self.HP < 0.3 and apple == False:
useSkill(6, 'random') # Scorch (220440): Physical fire damage (2.5x, ATK) per turn to all enemies for 3 turns, Reduce ATK and MAG by 20% for 2 turns to all enemies
elif random() <= 1.00 and green >= 7:
endTurn()
green = 0
elif random() <= 1.00 and honey == True:
useSkill(9, 'random') # Shadow Super Physical Attack - Fire (220443): Physical fire damage (4.5x, ATK) to all enemies
honey = False # persistent
elif random() <= 1.00 and ramen == True:
useSkill(10, 'random') # Light Inferno (220444): Magic light damage (4.5x, MAG) to all enemies, Reduce resistance to Light by 90% for 3 turns to all enemies
ramen = False # persistent
elif random() <= 0.47 and green < 3:
useSkill(1, 'random') # Fire Shell (220435): Physical fire damage (3.8x, ATK) to one enemy
green += 1
elif random() <= 1.00 and green < 3:
useSkill(2, 'random') # Banish (220436): Magic light damage (3.8x, MAG) to one enemy
green += 1
elif random() <= 1.00 and lemon == False:
useSkill(4, 'random') # Banishga (220438): Magic light damage (3.2x, MAG) to all enemies
green += 1
lemon = True # reset next turn
elif random() <= 1.00 and grape == False and sushi == False and isTurnMod(2):
useSkill(4, 'random') # Banishga (220438): Magic light damage (3.2x, MAG) to all enemies
green += 1
grape = True # reset next turn
sushi = True # persistent
elif random() <= 1.00 and grape == False and sushi == True and isTurnMod(2):
useSkill(3, 'random') # Flame Tackle (220437): Physical fire damage (3.2x, ATK) to all enemies
green += 1
grape = True # reset next turn
sushi = False # persistent
elif random() <= 1.00 and melon == False:
useSkill(3, 'random') # Flame Tackle (220437): Physical fire damage (3.2x, ATK) to all enemies
green += 1
melon = True # reset next turn
elif random() <= 1.00:
attack('random')
green += 1
elif random() <= 1.00:
attack('random')
else:
attack('random')
##
# Mission 'Nightbound Malice' (9350503)
# BattleScript: 935070101
#
# Battles
# * Dark Anima
##
##
# Monster Info
##
#
# Monster Dark Anima (412060004)
# Race Reaper
# Level 99
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 130000000
# MP 200000
# ATK 1450
# DEF 18825
# MAG 1550
# SPR 15975
#
#
# 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 +
# Unknown (7) +
#
###
###
# Passives
###
#
# ???65% (100096) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 65%
#
##
###
# Skills
###
#
# Dark Wind (220445) [Magic]
#
# Magic wind damage (4x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Water Blow (220446) [Physical]
#
# Physical water damage (4x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Gust (220447) [Magic]
#
# Magic wind damage (3.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# All-Water Blow (220448) [Physical]
#
# Physical water damage (3.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Water & Wind Ruin (220449) [None]
#
# Reduce resistance to Water and Wind by 75% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Overstrain (220450) [None]
#
# Remove ATK, DEF, MAG, SPR, Stop and Charm debuff from caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chained Impulse (220451) [None]
#
# Increase ATK and MAG by 15% and DEF and SPR by 10% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Chain of Gold (220452) [Physical]
#
# Physical damage (4.5x, ATK) to all enemies
# Inflict Paralyze (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Wind) (220453) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Water) (220454) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heavenswind (220455) [Magic]
#
# Magic wind damage (5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shadow Super Physical Attack - Water (220456) [Physical]
#
# Physical water damage (5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 1.00 and green >= 8 and once() and self.HP < 0.8:
useSkill(8, 'random') # Chain of Gold (220452): Physical damage (4.5x, ATK) to all enemies, Inflict Paralyze (100%) on all enemies
apple = True # reset next turn
elif random() <= 1.00 and green >= 8 and once() and self.HP < 0.6 and apple == False:
useSkill(8, 'random') # Chain of Gold (220452): Physical damage (4.5x, ATK) to all enemies, Inflict Paralyze (100%) on all enemies
apple = True # reset next turn
elif random() <= 1.00 and green >= 8 and once() and self.HP < 0.3 and apple == False:
useSkill(8, 'random') # Chain of Gold (220452): Physical damage (4.5x, ATK) to all enemies, Inflict Paralyze (100%) on all enemies
elif random() <= 0.47 and green >= 8 and berry == False and isTurnMod(2):
useSkill(9, 'random') # Focusing the power of shadow! (Wind) (220453): No effect
berry = True # reset next turn
honey = True # persistent
elif random() <= 1.00 and green >= 8 and berry == False and isTurnMod(2):
useSkill(10, 'random') # Focusing the power of shadow! (Water) (220454): No effect
berry = True # reset next turn
ramen = True # persistent
elif random() <= 1.00 and green >= 8 and peach == False and isTurnMod(3):
useSkill(7, 'random') # Chained Impulse (220451): Increase ATK and MAG by 15% and DEF and SPR by 10% for 3 turns to caster
peach = True # reset next turn
elif random() <= 1.00 and green >= 8 and olive == False and isTurnMod(2):
useSkill(5, 'random') # Water & Wind Ruin (220449): Reduce resistance to Water and Wind by 75% for 3 turns to all enemies
olive = True # reset next turn
elif random() <= 1.00 and green >= 8:
endTurn()
green = 0
elif random() <= 1.00 and mango == False and isTurnMod(4):
useSkill(6, 'random') # Overstrain (220450): Remove ATK, DEF, MAG, SPR, Stop and Charm debuff from caster
mango = True # reset next turn
elif random() <= 1.00 and honey == True:
useSkill(11, 'random') # Heavenswind (220455): Magic wind damage (5x, MAG) to all enemies
honey = False # persistent
elif random() <= 1.00 and ramen == True:
useSkill(12, 'random') # Shadow Super Physical Attack - Water (220456): Physical water damage (5x, ATK) to all enemies
ramen = False # persistent
elif random() <= 0.47 and green < 3:
useSkill(1, 'random') # Dark Wind (220445): Magic wind damage (4x, MAG) to one enemy
green += 1
elif random() <= 1.00 and green < 3:
useSkill(2, 'random') # Water Blow (220446): Physical water damage (4x, ATK) to one enemy
green += 1
elif random() <= 1.00 and sushi == False and lemon == False:
useSkill(4, 'random') # All-Water Blow (220448): Physical water damage (3.5x, ATK) to all enemies
green += 1
lemon = True # reset next turn
sushi = True # persistent
elif random() <= 1.00 and sushi == True and lemon == False:
useSkill(3, 'random') # Dark Gust (220447): Magic wind damage (3.5x, MAG) to all enemies
green += 1
lemon = True # reset next turn
sushi = False # persistent
elif random() <= 1.00 and sushi == False and grape == False:
useSkill(4, 'random') # All-Water Blow (220448): Physical water damage (3.5x, ATK) to all enemies
green += 1
grape = True # reset next turn
elif random() <= 1.00 and sushi == True and grape == False:
useSkill(3, 'random') # Dark Gust (220447): Magic wind damage (3.5x, MAG) to all enemies
green += 1
grape = True # reset next turn
elif random() <= 1.00:
attack('random')
green += 1
elif random() <= 1.00:
attack('random')
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment