Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active April 27, 2020 16:46
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/7af60b10eb0c5788f56aef6cda7eb02c to your computer and use it in GitHub Desktop.
Save aEnigmatic/7af60b10eb0c5788f56aef6cda7eb02c to your computer and use it in GitHub Desktop.
Dark Visions - 3
##
# Mission 'Quest 3-1' (9200301)
# BattleScript: 920030101
#
# Battles
# * Darkstone Golem
##
##
# Monster Info
##
#
# Monster Darkstone Golem (310020001)
# Race Stone
# Level 90
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 180000000
# MP 10000
# ATK 900
# DEF 500
# MAG 2250
# SPR 5000
#
#
# 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 0%
# 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
###
#
# Fist of Stone (217082) [Physical]
#
# Physical damage (2.4x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Two-Handed Spin (217083) [Physical]
#
# Physical damage (1.8x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Fists of Protection (217084) [None]
#
# Reduce DEF by 20% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dispelga (196790) [Magic]
#
# Remove all buffs and debuffs from all enemies
#
# Sealable + Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Two-Handed Wide Spin (217249) [Physical]
#
# Physical damage (3.75x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if self.hasStatus('Silence') and honey == False:
wait() # No action
honey = True # persistent
elif green >= 7 and once() and honey == False:
useSkill(4, 'random') # Dispelga (196790): Remove all buffs and debuffs from all enemies
honey = True # persistent
elif green >= 7:
endTurn()
green = 0
elif once() and self.HP < 0.5 and ramen == False:
useSkill(5, 'random') # Two-Handed Wide Spin (217249): Physical damage (3.75x, ATK) to all enemies
ramen = True # persistent
elif green < 4:
useSkill(1, 'random') # Fist of Stone (217082): Physical damage (2.4x, ATK) to one enemy
green += 1
elif berry == False and isTurnMod(2):
useSkill(2, 'random') # Two-Handed Spin (217083): Physical damage (1.8x, ATK) to all enemies
green += 1
berry = True # reset next turn
elif peach == False and isTurnMod(3):
useSkill(3, 'random') # Fists of Protection (217084): Reduce DEF by 20% for 3 turns to one enemy
green += 1
peach = True # reset next turn
else:
attack('random')
green += 1
##
# Mission 'Quest 3-2' (9200302)
# BattleScript: 920030201
#
# Battles
# * Dark Platinal, Dark Mummy
##
##
# Monster Info
##
#
# Monster Dark Platinal (900010847)
# Race Reaper
# Level 90
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 165000000
# MP 20000
# ATK 450
# DEF 560
# MAG 2080
# SPR 5600
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -50%
# Ice 80%
# Lightning 80%
# 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 +
# Unknown (7) +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Ice Sphere (900672) [Magic]
#
# Magic ice damage (2.7x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ice Wave (900673) [Magic]
#
# Magic ice damage (2.1x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Voice of Fear (217032) [None]
#
# Reduce SPR by 20% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Touch of Ice (900674) [None]
#
# Reduce resistance to Ice by 25% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ice Supersonic Wave (900675) [Magic]
#
# Magic ice damage (4x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Domain Under Ice (900683) [None]
#
# Reduce resistance to Ice by 80% for one turn to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The enemy's MAG rose through the power of darkness! (217019) [None]
#
# Increase MAG by 10% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 8:
endTurn()
green = 0
elif unit('2:ally:900010848:Dark Mummy').is('dead') and once() and fries == False:
useSkill(7, 'random') # The enemy's MAG rose through the power of darkness! (217019): Increase MAG by 10% for 3 turns to caster
green += 1
fries = True # persistent
elif self.HP < 0.25 and bacon == False and once():
useSkill(5, 'random') # Ice Supersonic Wave (900675): Magic ice damage (4x, MAG) to all enemies
green += 1
bacon = True # persistent
elif self.HP < 0.5 and steak == False and once():
useSkill(5, 'random') # Ice Supersonic Wave (900675): Magic ice damage (4x, MAG) to all enemies
green += 1
steak = True # persistent
elif self.HP < 0.75 and salad == False and once():
useSkill(5, 'random') # Ice Supersonic Wave (900675): Magic ice damage (4x, MAG) to all enemies
green += 1
salad = True # persistent
elif random() <= 0.50 and green < 4:
useSkill(1, 'random') # Ice Sphere (900672): Magic ice damage (2.7x, MAG) to one enemy
green += 1
elif green < 4:
useSkill(3, 'random') # Voice of Fear (217032): Reduce SPR by 20% for 3 turns to one enemy
green += 1
elif green < 5 and berry == False:
useSkill(2, 'random') # Ice Wave (900673): Magic ice damage (2.1x, MAG) to all enemies
green += 1
berry = True # reset next turn
elif isTurnMod(2) and peach == False:
useSkill(4, 'random') # Touch of Ice (900674): Reduce resistance to Ice by 25% for 3 turns to one enemy
green += 1
peach = True # reset next turn
elif green < 8 and isTurnMod(3):
useSkill(6, 'random') # Domain Under Ice (900683): Reduce resistance to Ice by 80% for one turn to all enemies
green += 1
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Dark Mummy (900010848)
# Race Reaper
# Level 90
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 150000000
# MP 30000
# ATK 450
# DEF 590
# MAG 1900
# SPR 5900
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -50%
# Ice 80%
# Lightning 80%
# Water 80%
# Wind 80%
# Earth 80%
# Light 80%
# Dark 80%
# Non-Elemental 80%
#
#
# Status resist (+80% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 0%
# 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
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Curse of Ice (900681) [Physical]
#
# Physical ice damage (2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Domain Under Psyche (217089) [None]
#
# Reduce SPR by 20% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The enemy's ATK rose through the power of darkness! (217018) [None]
#
# Increase ATK by 10% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Touch of Ice (900682) [None]
#
# Reduce resistance to Ice by 25% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dispelga (196790) [Magic]
#
# Remove all buffs and debuffs from all enemies
#
# Sealable + Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 5 and self.HP < 0.5 and once():
useSkill(2, 'random') # Domain Under Psyche (217089): Reduce SPR by 20% for 3 turns to all enemies
elif unit('1:ally:any').hasStatus('Silence') and unit('2:ally:900010847:Dark Platinal').is('dead') and mango == False:
wait() # No action
mango = True # reset next turn
elif unit('2:ally:900010847:Dark Platinal').is('dead') and mango == False:
useSkill(5, 'random') # Dispelga (196790): Remove all buffs and debuffs from all enemies
mango = True # reset next turn
elif green >= 5 and berry == False and isTurnMod(2):
useSkill(3, 'random') # The enemy's ATK rose through the power of darkness! (217018): Increase ATK by 10% for 3 turns to caster
berry = True # reset next turn
elif green >= 5:
endTurn()
green = 0
elif isTurnMod(2) and peach == False:
useSkill(1, 'random') # Curse of Ice (900681): Physical ice damage (2x, ATK) to all enemies
green += 1
peach = True # reset next turn
elif isTurnMod(3) and olive == False:
useSkill(4, 'random') # Touch of Ice (900682): Reduce resistance to Ice by 25% for 3 turns to one enemy
green += 1
olive = True # reset next turn
else:
attack('random')
green += 1
##
# Mission 'Quest 3-3' (9200303)
# BattleScript: 920030301
#
# Battles
# * Dark Maelstrom
##
##
# Monster Info
##
#
# Monster Dark Maelstrom A (303010000)
# Race Aquatic
# Level 95
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 255000000
# MP 50000
# ATK 990
# DEF 5300
# MAG 220
# SPR 530
#
#
# 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
###
#
# Water Cannon (217090) [Physical]
#
# Physical water damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# All-Water Cannon (217091) [Physical]
#
# Physical water damage (1.9x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Domain Under Water (217092) [None]
#
# Reduce resistance to Water by 45% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Absorb (217093) [Magic]
#
# Magic damage (4x, MAG) as MP drain (25%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Super Physical Attack - Water (217094) [Physical]
#
# Physical water damage (2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The enemy's ATK rose through the power of darkness! (217018) [None]
#
# Increase ATK by 10% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Jump About (217250) [Physical]
#
# Physical damage (3x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Strike (217251) [Physical]
#
# Physical damage (2x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tighten (217252) [Physical]
#
# Physical damage (0.5x, ATK) to one enemy
# Inflict Paralyze (80%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if unit('any').usedLastTurn('limitburst') and once():
useSkill(4, 'random') # Absorb (217093): Magic damage (4x, MAG) as MP drain (25%) to all enemies
elif green >= 6 and self.HP < 0.75 and once():
useSkill(7, 'random') # Jump About (217250): Physical damage (3x, ATK) to all enemies (+100% accuracy)
grape = True # reset next turn
elif green >= 6 and self.HP < 0.5 and once() and grape == False:
useSkill(7, 'random') # Jump About (217250): Physical damage (3x, ATK) to all enemies (+100% accuracy)
grape = True # reset next turn
elif green >= 6 and self.HP < 0.25 and once() and grape == False:
useSkill(7, 'random') # Jump About (217250): Physical damage (3x, ATK) to all enemies (+100% accuracy)
elif green >= 6:
endTurn()
green = 0
elif green < 3:
useSkill(1, 'random') # Water Cannon (217090): Physical water damage (2.5x, ATK) to one enemy
green += 1
elif berry == False and isTurnMod(2):
useSkill(2, 'random') # All-Water Cannon (217091): Physical water damage (1.9x, ATK) to all enemies
green += 1
berry = True # reset next turn
elif isTurnMod(2) and olive == False:
useSkill(3, 'random') # Domain Under Water (217092): Reduce resistance to Water by 45% for 3 turns to all enemies
green += 1
olive = True # reset next turn
elif isTurnMod(3) and mango == False:
useSkill(5, 'random') # Super Physical Attack - Water (217094): Physical water damage (2x, ATK) to all enemies
green += 1
mango = True # reset next turn
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Dark Maelstrom B (303010000, 303010001)
# Race Aquatic
# Level 95
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 90000000
# MP 30000
# ATK 900
# DEF 2000
# MAG 170
# SPR 200
#
#
# 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 (+50% / application)
# Poison 50%
# 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
###
#
# Water Cannon (217090) [Physical]
#
# Physical water damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# All-Water Cannon (217091) [Physical]
#
# Physical water damage (1.9x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Domain Under Water (217092) [None]
#
# Reduce resistance to Water by 45% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Absorb (217093) [Magic]
#
# Magic damage (4x, MAG) as MP drain (25%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Super Physical Attack - Water (217094) [Physical]
#
# Physical water damage (2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The enemy's ATK rose through the power of darkness! (217018) [None]
#
# Increase ATK by 10% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Jump About (217250) [Physical]
#
# Physical damage (3x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Strike (217251) [Physical]
#
# Physical damage (2x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tighten (217252) [Physical]
#
# Physical damage (0.5x, ATK) to one enemy
# Inflict Paralyze (80%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.65 and green >= 2 and peach == False:
wait() # No action
peach = True # reset next turn
elif green >= 2 and peach == False:
useSkill(6, 'random') # The enemy's ATK rose through the power of darkness! (217018): Increase ATK by 10% for 3 turns to caster
peach = True # reset next turn
elif green >= 2:
endTurn()
green = 0
elif green < 1:
useSkill(8, 'random') # Strike (217251): Physical damage (2x, ATK) to one enemy
green += 1
elif isTurnMod(3) and berry == False:
useSkill(1, 'random') # Water Cannon (217090): Physical water damage (2.5x, ATK) to one enemy
berry = True # reset next turn
else:
useSkill(1, 'random') # Water Cannon (217090): Physical water damage (2.5x, ATK) to one enemy
green += 1
##
# Monster Info
##
#
# Monster Dark Maelstrom C (303010000, 303010002)
# Race Aquatic
# Level 95
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 90000000
# MP 30000
# ATK 900
# DEF 2000
# MAG 170
# SPR 200
#
#
# 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 (+50% / application)
# Poison 50%
# 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
###
#
# Water Cannon (217090) [Physical]
#
# Physical water damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# All-Water Cannon (217091) [Physical]
#
# Physical water damage (1.9x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Domain Under Water (217092) [None]
#
# Reduce resistance to Water by 45% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Absorb (217093) [Magic]
#
# Magic damage (4x, MAG) as MP drain (25%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Super Physical Attack - Water (217094) [Physical]
#
# Physical water damage (2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The enemy's ATK rose through the power of darkness! (217018) [None]
#
# Increase ATK by 10% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Jump About (217250) [Physical]
#
# Physical damage (3x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Strike (217251) [Physical]
#
# Physical damage (2x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tighten (217252) [Physical]
#
# Physical damage (0.5x, ATK) to one enemy
# Inflict Paralyze (80%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 2:
endTurn()
green = 0
elif isTurnMod(2):
useSkill(4, 'random') # Absorb (217093): Magic damage (4x, MAG) as MP drain (25%) to all enemies
green += 1
elif green < 1:
useSkill(9, 'random') # Tighten (217252): Physical damage (0.5x, ATK) to one enemy, Inflict Paralyze (80%) on one enemy
green += 1
else:
wait() # No action
green += 1
##
# Monster Info
##
#
# Monster Dark Maelstrom D (303010000, 303010001)
# Race Aquatic
# Level 95
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 90000000
# MP 30000
# ATK 900
# DEF 2000
# MAG 170
# SPR 200
#
#
# 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 (+50% / application)
# Poison 50%
# 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
###
#
# Water Cannon (217090) [Physical]
#
# Physical water damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# All-Water Cannon (217091) [Physical]
#
# Physical water damage (1.9x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Domain Under Water (217092) [None]
#
# Reduce resistance to Water by 45% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Absorb (217093) [Magic]
#
# Magic damage (4x, MAG) as MP drain (25%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Super Physical Attack - Water (217094) [Physical]
#
# Physical water damage (2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The enemy's ATK rose through the power of darkness! (217018) [None]
#
# Increase ATK by 10% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Jump About (217250) [Physical]
#
# Physical damage (3x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Strike (217251) [Physical]
#
# Physical damage (2x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tighten (217252) [Physical]
#
# Physical damage (0.5x, ATK) to one enemy
# Inflict Paralyze (80%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.65 and green >= 2 and peach == False:
wait() # No action
peach = True # reset next turn
elif green >= 2 and peach == False:
useSkill(6, 'random') # The enemy's ATK rose through the power of darkness! (217018): Increase ATK by 10% for 3 turns to caster
peach = True # reset next turn
elif green >= 2:
endTurn()
green = 0
elif green < 1:
useSkill(8, 'random') # Strike (217251): Physical damage (2x, ATK) to one enemy
green += 1
elif isTurnMod(3) and berry == False:
useSkill(1, 'random') # Water Cannon (217090): Physical water damage (2.5x, ATK) to one enemy
berry = True # reset next turn
else:
useSkill(1, 'random') # Water Cannon (217090): Physical water damage (2.5x, ATK) to one enemy
green += 1
##
# Mission 'Quest 3-4' (9200304)
# BattleScript: 920030401
#
# Battles
# * Dark Odin
##
##
# Monster Info
##
#
# Monster Dark Odin (305020000)
# Race Human
# Level 99
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 175000000
# MP 100000
# ATK 1350
# DEF 7000
# MAG 500
# SPR 700
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 80%
# Ice 80%
# Lightning 80%
# Water 80%
# Wind 80%
# Earth 80%
# Light 80%
# Dark -50%
# Non-Elemental 80%
#
#
# Status resist (+50% / application)
# Poison 100%
# Blind 50%
# 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
###
#
# Light Strike (217207) [Physical]
#
# Physical light damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# All-Light Strike (217208) [Physical]
#
# Physical light damage (2.2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Domain Under Light (217209) [None]
#
# Reduce resistance to Light by 80% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Zantetsuken (217210) [None]
#
# [Death]
# Instant KO (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ruthless Stance (217211) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shadow Physical Attack - Light (217212) [Physical]
#
# Physical light damage (2.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focused Stance (217213) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sure Shot - Light (217214) [Physical]
#
# Physical light damage (3x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Knockout Stance (217215) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shadow Zantetsuken (217216) [None]
#
# Instant KO (100%) to one enemy (ignores death resist)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Summon Dark Einherjar (217217) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Einherjar (217218) [Magic]
#
# Magic damage (3.5x, MAG) to all enemies
# Inflict Poison and Disease (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The enemy's ATK rose through the power of darkness! (217018) [None]
#
# Increase ATK by 10% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Cut (217253) [Physical]
#
# Physical damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 9 and self.HP < 0.7 and once():
useSkill(11, 'random') # Summon Dark Einherjar (217217): No effect
apple = True # reset next turn
honey = True # persistent
elif green >= 9 and self.HP < 0.5 and once() and apple == False:
useSkill(11, 'random') # Summon Dark Einherjar (217217): No effect
apple = True # reset next turn
honey = True # persistent
elif green >= 9 and self.HP < 0.3 and once() and apple == False:
useSkill(11, 'random') # Summon Dark Einherjar (217217): No effect
honey = True # persistent
elif random() <= 0.33 and green >= 9 and once() and berry == False and steak == False:
useSkill(5, 'random') # Ruthless Stance (217211): No effect
berry = True # reset next turn
steak = True # persistent
ramen = True # persistent
elif random() <= 0.50 and green >= 9 and once() and berry == False and steak == False:
useSkill(7, 'random') # Focused Stance (217213): No effect
berry = True # reset next turn
steak = True # persistent
sushi = True # persistent
elif green >= 9 and once() and berry == False and steak == False:
useSkill(9, 'random') # Knockout Stance (217215): No effect
berry = True # reset next turn
steak = True # persistent
bacon = True # persistent
elif green >= 9 and ramen == True and berry == False:
useSkill(6, 'random') # Shadow Physical Attack - Light (217212): Physical light damage (2.5x, ATK) to all enemies
berry = True # reset next turn
ramen = False # persistent
elif green >= 9 and sushi == True and berry == False:
useSkill(8, 'random') # Sure Shot - Light (217214): Physical light damage (3x, ATK) to all enemies (+100% accuracy)
berry = True # reset next turn
sushi = False # persistent
elif green >= 9 and bacon == True and berry == False:
useSkill(10, 'random') # Shadow Zantetsuken (217216): Instant KO (100%) to one enemy (ignores death resist)
berry = True # reset next turn
bacon = False # persistent
elif random() <= 0.33 and green >= 9 and isTurnMod(3) and berry == False:
useSkill(5, 'random') # Ruthless Stance (217211): No effect
berry = True # reset next turn
ramen = True # persistent
elif random() <= 0.50 and green >= 9 and isTurnMod(3) and berry == False:
useSkill(7, 'random') # Focused Stance (217213): No effect
berry = True # reset next turn
sushi = True # persistent
elif green >= 9 and isTurnMod(3) and berry == False:
useSkill(9, 'random') # Knockout Stance (217215): No effect
berry = True # reset next turn
bacon = True # persistent
elif green >= 9:
endTurn()
green = 0
elif isTurnMod(4) and peach == False:
useSkill(13, 'random') # The enemy's ATK rose through the power of darkness! (217018): Increase ATK by 10% for 3 turns to caster
peach = True # reset next turn
elif honey == True:
useSkill(12, 'random') # Dark Einherjar (217218): Magic damage (3.5x, MAG) to all enemies, Inflict Poison and Disease (100%) on all enemies
green += 1
honey = False # persistent
elif random() <= 0.45 and green < 3:
useSkill(14, 'random') # Cut (217253): Physical damage (2.5x, ATK) to one enemy
green += 1
elif green < 3:
useSkill(1, 'random') # Light Strike (217207): Physical light damage (2.5x, ATK) to one enemy
green += 1
elif isTurnMod(3) and olive == False:
useSkill(4, 'random') # Zantetsuken (217210): [Death], Instant KO (100%) to one enemy
green += 1
olive = True # reset next turn
elif isTurnMod(2) and mango == False:
useSkill(2, 'random') # All-Light Strike (217208): Physical light damage (2.2x, ATK) to all enemies
green += 1
mango = True # reset next turn
elif isTurnMod(2) and lemon == False:
useSkill(3, 'random') # Domain Under Light (217209): Reduce resistance to Light by 80% for 3 turns to all enemies
green += 1
lemon = True # reset next turn
elif self.HP < 0.7 and grape == False:
useSkill(2, 'random') # All-Light Strike (217208): Physical light damage (2.2x, ATK) to all enemies
green += 1
grape = True # reset next turn
else:
attack('random')
green += 1
##
# Mission 'Quest 3-5' (9200305)
# BattleScript: 920030501
#
# Battles
# * Dark Ramuh
##
##
# Monster Info
##
#
# Monster Dark Ramuh (205030000)
# Race Human
# Level 99
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 450000000
# MP 150000
# ATK 1150
# DEF 1600
# MAG 3400
# SPR 16000
#
#
# 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 (+50% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 50%
# 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
###
#
# Lightning Crash (217219) [Magic]
#
# Magic lightning damage (2.5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blast (217220) [Magic]
#
# Magic damage (2x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# All-Lightning Crash (217221) [Magic]
#
# Magic lightning damage (2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Domain Under Lightning (217222) [None]
#
# Reduce resistance to Lightning by 80% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Stop your movements! (217223) [None]
#
# Remove resistances to Paralyze from one enemy for one turn
# Inflict Paralyze (100%) on one enemy
# Unknown parameters: [1]
# Remove all buffs and debuffs from one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shadow Magic Attack - Lightning (217224) [Magic]
#
# Magic lightning damage (2.4x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Judgment Bolt (217225) [Magic]
#
# Magic lightning damage (2.2x, MAG) to all enemies
# Inflict Stop (100%) for 2 turns on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Lightning) (217226) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Thunder clouds are gathering! (217227) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dispelga (196790) [Magic]
#
# Remove all buffs and debuffs from all enemies
#
# Sealable + Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The enemy's DEF rose through the power of darkness! (217020) [None]
#
# Increase DEF by 10% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 9 and ramen == True and apple == False:
useSkill(7, 'random') # Judgment Bolt (217225): Magic lightning damage (2.2x, MAG) to all enemies, Inflict Stop (100%) for 2 turns on all enemies
apple = True # reset next turn
ramen = False # persistent
elif random() <= 0.45 and green >= 9 and isTurnMod(2) and apple == False:
useSkill(8, 'random') # Focusing the power of shadow! (Lightning) (217226): No effect
apple = True # reset next turn
honey = True # persistent
elif green >= 9 and isTurnMod(2) and apple == False:
useSkill(9, 'random') # Thunder clouds are gathering! (217227): No effect
apple = True # reset next turn
ramen = True # persistent
elif green >= 9 and isTurnMod(4) and melon == False:
useSkill(11, 'random') # The enemy's DEF rose through the power of darkness! (217020): Increase DEF by 10% for 3 turns to caster
melon = True # reset next turn
elif green >= 9:
endTurn()
green = 0
elif honey == True and apple == False:
useSkill(6, 'random') # Shadow Magic Attack - Lightning (217224): Magic lightning damage (2.4x, MAG) to all enemies
apple = True # reset next turn
honey = False # persistent
elif random() <= 0.45 and green < 4:
useSkill(1, 'random') # Lightning Crash (217219): Magic lightning damage (2.5x, MAG) to one enemy
green += 1
elif green < 4:
useSkill(2, 'random') # Blast (217220): Magic damage (2x, MAG) to one enemy
green += 1
elif berry == False:
useSkill(3, 'random') # All-Lightning Crash (217221): Magic lightning damage (2x, MAG) to all enemies
green += 1
berry = True # reset next turn
elif isTurnMod(3) and peach == False:
useSkill(4, 'random') # Domain Under Lightning (217222): Reduce resistance to Lightning by 80% for 3 turns to all enemies
green += 1
peach = True # reset next turn
elif self.HP < 0.6 and isTurnMod(2) and olive == False:
useSkill(3, 'random') # All-Lightning Crash (217221): Magic lightning damage (2x, MAG) to all enemies
green += 1
olive = True # reset next turn
elif self.HP < 0.7 and once():
useSkill(10, 'random') # Dispelga (196790): Remove all buffs and debuffs from all enemies
mango = True # reset next turn
elif self.HP < 0.5 and once() and mango == False:
useSkill(10, 'random') # Dispelga (196790): Remove all buffs and debuffs from all enemies
mango = True # reset next turn
elif self.HP < 0.3 and once() and mango == False:
useSkill(10, 'random') # Dispelga (196790): Remove all buffs and debuffs from all enemies
elif isTurnMod(4) and lemon == False:
useSkill(5, 'random') # Stop your movements! (217223): Remove resistances to Paralyze from one enemy for one turn, Inflict Paralyze (100%) on one enemy, Remove all buffs and debuffs from one enemy
lemon = True # reset next turn
elif self.HP < 0.6 and isTurnMod(4) and grape == False:
useSkill(5, 'random') # Stop your movements! (217223): Remove resistances to Paralyze from one enemy for one turn, Inflict Paralyze (100%) on one enemy, Remove all buffs and debuffs from one enemy
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