Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created April 27, 2020 15:44
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/d847ce25a14702bf56b072c22c855a09 to your computer and use it in GitHub Desktop.
Save aEnigmatic/d847ce25a14702bf56b072c22c855a09 to your computer and use it in GitHub Desktop.
Dark Visions - 2
##
# Mission 'Quest 2-1' (9200201)
# Enemy has first strike!
# BattleScript: 920020101
#
# Battles
# * Dark Sea Serpent
##
##
# Monster Info
##
#
# Monster Dark Sea Serpent (303070000)
# Race Aquatic
# Level 90
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 110000000
# MP 10000
# ATK 335
# DEF 2200
# MAG 930
# SPR 290
#
#
# 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 100%
# DEF 0%
# MAG 100%
# 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 (217056) [Physical]
#
# Physical water damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# All-Water Cannon (217057) [Physical]
#
# Physical water damage (2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Rusty Liquid (217058) [None]
#
# Reduce ATK by 20% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flood (187600) [Magic]
#
# Magic water damage (1.5x, MAG) to all enemies
# Reduce resistance to Water by 75% and resistance to Lightning by 100% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# All-Water Cannon (217272) [Physical]
#
# Physical water damage (5.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(2, 'random') # All-Water Cannon (217057): Physical water damage (2x, ATK) to all enemies
apple = True # reset next turn
elif self.HP < 0.65 and green >= 5 and olive == False:
useSkill(4, 'random') # Flood (187600): Magic water damage (1.5x, MAG) to all enemies, Reduce resistance to Water by 75% and resistance to Lightning by 100% for 3 turns to all enemies
olive = True # reset next turn
elif green >= 5:
endTurn()
green = 0
elif green < 3:
useSkill(1, 'random') # Water Cannon (217056): Physical water damage (2.5x, ATK) to one enemy
green += 1
elif berry == False and isTurnMod(2):
useSkill(2, 'random') # All-Water Cannon (217057): Physical water damage (2x, ATK) to all enemies
green += 1
berry = True # reset next turn
elif peach == False and isTurnMod(3):
useSkill(3, 'random') # Rusty Liquid (217058): Reduce ATK by 20% for 3 turns to one enemy
green += 1
peach = True # reset next turn
else:
attack('random')
green += 1
##
# Mission 'Quest 2-2' (9200202)
# Enemy has first strike!
# BattleScript: 920020201
#
# Battles
# * Darkstone Golem, Dark Gargoyle
##
##
# Monster Info
##
#
# Monster Darkstone Golem (310020000)
# Race Stone
# Level 90
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 145000000
# MP 20000
# ATK 250
# DEF 230
# MAG 730
# SPR 2300
#
#
# 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 (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 0%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 0%
# MAG 100%
# 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 (217059) [Magic]
#
# Magic lightning damage (2.3x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# All-Lightning Crash (217060) [Magic]
#
# Magic lightning damage (1.8x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Fists of Thunder (217061) [None]
#
# Reduce resistance to Lightning by 25% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# All-Lightning Crash (217247) [Magic]
#
# Magic lightning damage (1.1x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# All-Lightning Crash (217273) [Magic]
#
# Magic lightning damage (1.2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(5, 'random') # All-Lightning Crash (217273): Magic lightning damage (1.2x, MAG) to all enemies
apple = True # reset next turn
elif unit('2:ally:210030001:Dark Gargoyle').is('dead') and green >= 10:
endTurn()
green = 0
elif unit('2:ally:210030001:Dark Gargoyle').is('alive') and green >= 6:
endTurn()
green = 0
elif unit('2:ally:210030001:Dark Gargoyle').is('alive') and green < 2:
useSkill(1, 'random') # Lightning Crash (217059): Magic lightning damage (2.3x, MAG) to one enemy
green += 1
elif unit('2:ally:210030001:Dark Gargoyle').is('dead') and green < 6:
useSkill(1, 'random') # Lightning Crash (217059): Magic lightning damage (2.3x, MAG) to one enemy
green += 1
elif berry == False and isTurnMod(2):
useSkill(2, 'random') # All-Lightning Crash (217060): Magic lightning damage (1.8x, MAG) to all enemies
green += 1
berry = True # reset next turn
elif peach == False and isTurnMod(3):
useSkill(3, 'random') # Fists of Thunder (217061): Reduce resistance to Lightning by 25% for 3 turns to all enemies
green += 1
peach = True # reset next turn
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Dark Gargoyle (210030001)
# Race Stone
# Level 90
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 125000000
# MP 30000
# ATK 750
# DEF 200
# MAG 400
# SPR 2000
#
#
# 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 (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 0%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Wings of Lightning (217062) [Physical]
#
# Physical lightning damage (1.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Domain Under Protection (217063) [None]
#
# Reduce DEF by 20% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Esunaga (217153) [None]
#
# Cure all status effects for all allies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
wait() # No action
apple = True # reset next turn
elif green >= 3 and self.HP < 0.5 and once():
useSkill(2, 'random') # Domain Under Protection (217063): Reduce DEF by 20% for 3 turns to all enemies
elif unit('2:ally:310020000:Darkstone Golem').hasStatus('Paralyze') and not unit('1:ally:any').is('normal_state:0') and green >= 3 and berry == False:
useSkill(3, 'random') # Esunaga (217153): Cure all status effects for all allies
berry = True # reset next turn
elif green >= 3:
endTurn()
green = 0
elif isTurnMod(3):
useSkill(1, 'random') # Wings of Lightning (217062): Physical lightning damage (1.5x, ATK) to all enemies
green += 1
else:
attack('random')
green += 1
##
# Mission 'Quest 2-3' (9200203)
# Enemy has first strike!
# BattleScript: 920020401
#
# Battles
# * Dark Royal Guard, Dark Amazon
##
##
# Monster Info
##
#
# Monster Dark Royal Guard (225070000)
# Race Human
# Level 95
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 150000000
# MP 30000
# ATK 700
# DEF 2500
# MAG 200
# SPR 350
#
#
# 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 (+80% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 0%
# MAG 100%
# 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 Blade (217069) [Physical]
#
# Physical light damage (3.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shining Blade (217070) [Physical]
#
# Physical light damage (2.7x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Domain Under Light (217071) [None]
#
# Reduce resistance to Light by 45% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Continuous Strike (217248) [Physical]
#
# Physical damage (5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Gone Mad (152450) [Magic]
#
# Increase ATK and MAG by 50% for 99 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shining Blade (217275) [Physical]
#
# Physical light damage (1.6x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(6, 'random') # Shining Blade (217275): Physical light damage (1.6x, ATK) to all enemies
apple = True # reset next turn
elif unit('2:ally:205840001:Dark Amazon').is('alive') and green >= 8:
endTurn()
green = 0
elif unit('2:ally:205840001:Dark Amazon').is('dead') and green >= 9:
endTurn()
green = 0
elif unit('2:ally:205840001:Dark Amazon').is('dead') and once():
useSkill(5, 'random') # Gone Mad (152450): Increase ATK and MAG by 50% for 99 turns to caster
elif green < 2:
useSkill(1, 'random') # Light Blade (217069): Physical light damage (3.5x, ATK) to one enemy
green += 1
elif unit('2:ally:205840001:Dark Amazon').is('dead') and green < 3:
useSkill(1, 'random') # Light Blade (217069): Physical light damage (3.5x, ATK) to one enemy
green += 1
elif unit('2:ally:205840001:Dark Amazon').is('dead') and green < 5:
useSkill(4, 'random') # Continuous Strike (217248): Physical damage (5x, ATK) to one enemy
green += 1
elif berry == False and isTurnMod(2):
useSkill(2, 'random') # Shining Blade (217070): Physical light damage (2.7x, ATK) to all enemies
green += 1
berry = True # reset next turn
elif peach == False and isTurnMod(3):
useSkill(3, 'random') # Domain Under Light (217071): Reduce resistance to Light by 45% for 3 turns to all enemies
green += 1
peach = True # reset next turn
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Dark Amazon (205840001)
# Race Human
# Level 95
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 135000000
# MP 50000
# ATK 550
# DEF 2000
# MAG 300
# SPR 250
#
#
# 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 (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 0%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Curaja (217072) [Magic]
#
# Restore 30000000 HP to all allies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Super Physical Attack - Light (217073) [Physical]
#
# Physical light damage (2.7x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sure Shot - Light (217074) [Physical]
#
# Physical light damage (2.3x, ATK) to all enemies (+100% accuracy)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
wait() # No action
apple = True # reset next turn
elif green >= 3 and self.HP < 0.6 and once():
useSkill(3, 'random') # Sure Shot - Light (217074): Physical light damage (2.3x, ATK) to all enemies (+100% accuracy)
elif green >= 3 and self.HP < 0.3 and once():
useSkill(3, 'random') # Sure Shot - Light (217074): Physical light damage (2.3x, ATK) to all enemies (+100% accuracy)
elif green >= 3:
endTurn()
green = 0
elif isTurnMod(4) and berry == False:
useSkill(2, 'random') # Super Physical Attack - Light (217073): Physical light damage (2.7x, ATK) to all enemies
green += 1
berry = True # reset next turn
elif unit('1:ally:any').hasStatus('Silence') and peach == False:
wait() # No action
peach = True # reset next turn
elif isTurnMod(2) and sushi == False and peach == False:
useSkill(1, 'random') # Curaja (217072): Restore 30000000 HP to all allies
green += 1
peach = True # reset next turn
sushi = True # persistent
elif isTurnMod(2) and bacon == False and peach == False:
useSkill(1, 'random') # Curaja (217072): Restore 30000000 HP to all allies
green += 1
peach = True # reset next turn
bacon = True # persistent
elif isTurnMod(2) and steak == False and peach == False:
useSkill(1, 'random') # Curaja (217072): Restore 30000000 HP to all allies
green += 1
peach = True # reset next turn
steak = True # persistent
else:
attack('random')
green += 1
##
# Mission 'Quest 2-4' (9200204)
# Enemy has first strike!
# BattleScript: 920020301
#
# Battles
# * Dark Siren
##
##
# Monster Info
##
#
# Monster Dark Siren (202000000)
# Race Avian
# Level 99
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 450000000
# MP 100000
# ATK 600
# DEF 400
# MAG 800
# SPR 4000
#
#
# 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 (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 0%
# MAG 100%
# 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 (217228) [Magic]
#
# Magic water damage (2.4x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Waterga (217229) [Magic]
#
# Magic water damage (2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Domain Under Water (217230) [None]
#
# Reduce resistance to Water by 80% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Song of Stupefaction (217231) [None]
#
# Inflict Charm (100%) on all enemies for 3 turns
# Remove resistances to Sleep from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shadow Magic Attack - Water (217232) [Magic]
#
# Magic water damage (2.4x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Drowning Voice (217233) [Magic]
#
# Magic water damage (2x, MAG) to all enemies
# Inflict Sleep (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# She deflected the lightning with her wings! (217234) [Magic]
#
# Magic lightning damage (2.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Osmose Voice (217235) [None]
#
# Hybrid* damage (0.05x, ATK & MAG) as MP drain (15%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Water) (217236) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# She's started humming. (217237) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The humming is distracting and causing your mood to worsen! (217238) [None]
#
# Increase ATK and MAG by 15% for 2 turns to caster (can not be removed)
# Unused parameters: [1]
# Remove resistances to Disease from caster for one turn
# Inflict Disease (100%) on caster
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# She started singing beautifully. (217239) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Waterga (217274) [Magic]
#
# Magic water damage (1.6x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(13, 'random') # Dark Waterga (217274): Magic water damage (1.6x, MAG) to all enemies
apple = True # reset next turn
elif green >= 9 and self.HP < 0.7 and once():
useSkill(8, 'random') # Osmose Voice (217235): Hybrid* damage (0.05x, ATK & MAG) as MP drain (15%) to all enemies
berry = True # reset next turn
elif green >= 9 and self.HP < 0.5 and once() and berry == False:
useSkill(8, 'random') # Osmose Voice (217235): Hybrid* damage (0.05x, ATK & MAG) as MP drain (15%) to all enemies
berry = True # reset next turn
elif green >= 9 and self.HP < 0.3 and once() and berry == False:
useSkill(8, 'random') # Osmose Voice (217235): Hybrid* damage (0.05x, ATK & MAG) as MP drain (15%) to all enemies
elif green >= 9 and sushi == True and gourd == False:
useSkill(6, 'random') # Drowning Voice (217233): Magic water damage (2x, MAG) to all enemies, Inflict Sleep (100%) on all enemies
gourd = True # reset next turn
sushi = False # persistent
elif green >= 9 and isTurnMod(2) and var_61 == False:
useSkill(9, 'random') # Focusing the power of shadow! (Water) (217236): No effect
var_61 = True # unknown flag type
honey = True # persistent
elif green >= 9 and isTurnMod(3) and var_62 == False:
useSkill(10, 'random') # She's started humming. (217237): No effect
var_62 = True # unknown flag type
ramen = True # persistent
elif green >= 9:
endTurn()
green = 0
elif unit('5:enemy:any').usedLastTurn('limitburst') and ramen == True and peach == False:
useSkill(11, 'random') # The humming is distracting and causing your mood to worsen! (217238): Increase ATK and MAG by 15% for 2 turns to caster (can not be removed), Remove resistances to Disease from caster for one turn, Inflict Disease (100%) on caster
peach = True # reset next turn
ramen = False # persistent
elif unit('5:enemy:any').usedLastTurn('ability') and ramen == True and peach == False:
useSkill(11, 'random') # The humming is distracting and causing your mood to worsen! (217238): Increase ATK and MAG by 15% for 2 turns to caster (can not be removed), Remove resistances to Disease from caster for one turn, Inflict Disease (100%) on caster
peach = True # reset next turn
ramen = False # persistent
elif unit('5:enemy:any').usedLastTurn('summon') and ramen == True and peach == False:
useSkill(11, 'random') # The humming is distracting and causing your mood to worsen! (217238): Increase ATK and MAG by 15% for 2 turns to caster (can not be removed), Remove resistances to Disease from caster for one turn, Inflict Disease (100%) on caster
peach = True # reset next turn
ramen = False # persistent
elif unit('5:enemy:any').usedLastTurn('magic') and ramen == True and peach == False:
useSkill(11, 'random') # The humming is distracting and causing your mood to worsen! (217238): Increase ATK and MAG by 15% for 2 turns to caster (can not be removed), Remove resistances to Disease from caster for one turn, Inflict Disease (100%) on caster
peach = True # reset next turn
ramen = False # persistent
elif unit('5:enemy:any').usedLastTurn('attack') and ramen == True and peach == False:
useSkill(11, 'random') # The humming is distracting and causing your mood to worsen! (217238): Increase ATK and MAG by 15% for 2 turns to caster (can not be removed), Remove resistances to Disease from caster for one turn, Inflict Disease (100%) on caster
peach = True # reset next turn
ramen = False # persistent
elif ramen == True and peach == False:
useSkill(12, 'random') # She started singing beautifully. (217239): No effect
peach = True # reset next turn
sushi = True # persistent
ramen = False # persistent
elif honey == True and olive == False:
useSkill(5, 'random') # Shadow Magic Attack - Water (217232): Magic water damage (2.4x, MAG) to all enemies
olive = True # reset next turn
honey = False # persistent
elif green < 3:
useSkill(1, 'random') # Dark Water (217228): Magic water damage (2.4x, MAG) to one enemy
green += 1
elif mango == False:
useSkill(2, 'random') # Dark Waterga (217229): Magic water damage (2x, MAG) to all enemies
green += 1
mango = True # reset next turn
elif isTurnMod(3) and lemon == False:
useSkill(3, 'random') # Domain Under Water (217230): Reduce resistance to Water by 80% for 3 turns to all enemies
green += 1
lemon = True # reset next turn
elif isTurnMod(4) and grape == False:
useSkill(4, 'random') # Song of Stupefaction (217231): Inflict Charm (100%) on all enemies for 3 turns, Remove resistances to Sleep from all enemies for 3 turns
green += 1
grape = True # reset next turn
elif isTurnMod(2) and melon == False:
useSkill(2, 'random') # Dark Waterga (217229): Magic water damage (2x, MAG) to all enemies
green += 1
melon = True # reset next turn
else:
attack('random')
green += 1
##
# Mission 'Quest 2-5' (9200205)
# Enemy has first strike!
# BattleScript: 920020501
#
# Battles
# * Dark Amazon, Dark Siren, Dark Amazon
##
##
# Monster Info
##
#
# Monster Dark Amazon (205840002)
# Race Human
# Level 95
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 105000000
# MP 50000
# ATK 500
# DEF 280
# MAG 250
# SPR 2800
#
#
# 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 (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 0%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Hack (217266) [Physical]
#
# Physical damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sweep (217267) [Physical]
#
# Physical damage (2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Curaja (217268) [Magic]
#
# Restore 5000000 HP to all allies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Sleep (217269) [Magic]
#
# Inflict Sleep (40%) on one enemy
# Unknown parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Mental Break (217270) [Physical]
#
# Physical damage (0.8x, ATK) to one enemy
# Reduce SPR by 30% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Armor Break (217271) [Physical]
#
# Physical damage (0.8x, ATK) to one enemy
# Reduce DEF by 30% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
wait() # No action
apple = True # reset next turn
elif green >= 4:
endTurn()
green = 0
elif ramen == True and apple == False:
useSkill(1, 'random') # Hack (217266): Physical damage (2.5x, ATK) to one enemy
green += 1
apple = True # reset next turn
elif ramen == True and berry == False:
useSkill(2, 'random') # Sweep (217267): Physical damage (2x, ATK) to all enemies
green += 1
berry = True # reset next turn
elif sushi == True and unit('1:ally:any').hasStatus('Silence') and peach == False:
useRandomSkill('random') # [?]
peach = True # reset next turn
elif sushi == True and peach == False:
useSkill(3, 'random') # Curaja (217268): Restore 5000000 HP to all allies
green += 1
peach = True # reset next turn
elif sushi == True and olive == False:
useSkill(4, 'random') # Sleep (217269): Inflict Sleep (40%) on one enemy
green += 1
olive = True # reset next turn
elif bacon == True and mango == False:
useSkill(5, 'random') # Mental Break (217270): Physical damage (0.8x, ATK) to one enemy, Reduce SPR by 30% for 3 turns to one enemy
green += 1
mango = True # reset next turn
elif bacon == True and lemon == False:
useSkill(6, 'random') # Armor Break (217271): Physical damage (0.8x, ATK) to one enemy, Reduce DEF by 30% for 3 turns to one enemy
green += 1
lemon = True # reset next turn
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Dark Siren (202000001)
# Race Avian
# Level 99
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 400000000
# MP 100000
# ATK 600
# DEF 550
# MAG 900
# SPR 5500
#
#
# 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 (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 0%
# MAG 100%
# 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 (217254) [Magic]
#
# Magic water damage (3.3x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Waterga (217255) [Magic]
#
# Magic water damage (2.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Domain Under Water (217256) [None]
#
# Reduce resistance to Water by 80% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Song of Stupefaction (217257) [None]
#
# Inflict Charm (100%) on all enemies for 3 turns
# Remove resistances to Sleep from all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shadow Magic Attack - Water (217258) [Magic]
#
# Magic water damage (3x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Drowning Voice (217259) [Magic]
#
# Magic water damage (1.5x, MAG) to all enemies
# Inflict Sleep (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# She deflected the lightning with her wings! (217260) [Magic]
#
# Magic lightning damage (2.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Osmose Voice (217261) [None]
#
# Hybrid* damage (0.05x, ATK & MAG) as MP drain (15%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing the power of shadow! (Water) (217262) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# She started singing with a powerful voice. (217263) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# She started singing with a kind voice. (217264) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# She started singing with a scary voice. (217265) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(6, 'random') # Drowning Voice (217259): Magic water damage (1.5x, MAG) to all enemies, Inflict Sleep (100%) on all enemies
apple = True # reset next turn
ramen = True # persistent
elif green >= 8 and self.HP < 0.7 and once():
useSkill(8, 'random') # Osmose Voice (217261): Hybrid* damage (0.05x, ATK & MAG) as MP drain (15%) to all enemies
berry = True # reset next turn
elif green >= 8 and self.HP < 0.4 and once() and berry == False:
useSkill(8, 'random') # Osmose Voice (217261): Hybrid* damage (0.05x, ATK & MAG) as MP drain (15%) to all enemies
elif green >= 8 and isTurnMod(2) and peach == False:
useSkill(9, 'random') # Focusing the power of shadow! (Water) (217262): No effect
peach = True # reset next turn
honey = True # persistent
elif random() <= 0.33 and green >= 8 and isTurnMod(2) and olive == False:
useSkill(10, 'random') # She started singing with a powerful voice. (217263): No effect
olive = True # reset next turn
bacon = False # persistent
sushi = False # persistent
ramen = True # persistent
elif random() <= 0.50 and green >= 8 and isTurnMod(2) and olive == False:
useSkill(11, 'random') # She started singing with a kind voice. (217264): No effect
olive = True # reset next turn
bacon = False # persistent
sushi = True # persistent
ramen = False # persistent
elif green >= 8 and isTurnMod(2) and olive == False:
useSkill(12, 'random') # She started singing with a scary voice. (217265): No effect
olive = True # reset next turn
bacon = True # persistent
sushi = False # persistent
ramen = False # persistent
elif green >= 8:
endTurn()
green = 0
elif honey == True and mango == False:
useSkill(5, 'random') # Shadow Magic Attack - Water (217258): Magic water damage (3x, MAG) to all enemies
mango = True # reset next turn
honey = False # persistent
elif green < 2:
useSkill(1, 'random') # Dark Water (217254): Magic water damage (3.3x, MAG) to one enemy
green += 1
elif lemon == False:
useSkill(2, 'random') # Dark Waterga (217255): Magic water damage (2.5x, MAG) to all enemies
green += 1
lemon = True # reset next turn
elif isTurnMod(3) and grape == False:
useSkill(3, 'random') # Domain Under Water (217256): Reduce resistance to Water by 80% for 3 turns to all enemies
green += 1
grape = True # reset next turn
elif isTurnMod(4) and melon == False:
useSkill(4, 'random') # Song of Stupefaction (217257): Inflict Charm (100%) on all enemies for 3 turns, Remove resistances to Sleep from all enemies for 3 turns
green += 1
melon = True # reset next turn
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster Dark Amazon (205840003, 205840002)
# Race Human
# Level 95
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 105000000
# MP 50000
# ATK 500
# DEF 280
# MAG 250
# SPR 2800
#
#
# 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 (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 0%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Hack (217266) [Physical]
#
# Physical damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sweep (217267) [Physical]
#
# Physical damage (2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Curaja (217268) [Magic]
#
# Restore 5000000 HP to all allies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Sleep (217269) [Magic]
#
# Inflict Sleep (40%) on one enemy
# Unknown parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Mental Break (217270) [Physical]
#
# Physical damage (0.8x, ATK) to one enemy
# Reduce SPR by 30% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Armor Break (217271) [Physical]
#
# Physical damage (0.8x, ATK) to one enemy
# Reduce DEF by 30% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
wait() # No action
apple = True # reset next turn
elif green >= 4:
endTurn()
green = 0
elif ramen == True and apple == False:
useSkill(1, 'random') # Hack (217266): Physical damage (2.5x, ATK) to one enemy
green += 1
apple = True # reset next turn
elif ramen == True and berry == False:
useSkill(2, 'random') # Sweep (217267): Physical damage (2x, ATK) to all enemies
green += 1
berry = True # reset next turn
elif sushi == True and unit('1:ally:any').hasStatus('Silence') and peach == False:
useRandomSkill('random') # [?]
peach = True # reset next turn
elif sushi == True and peach == False:
useSkill(3, 'random') # Curaja (217268): Restore 5000000 HP to all allies
green += 1
peach = True # reset next turn
elif sushi == True and olive == False:
useSkill(4, 'random') # Sleep (217269): Inflict Sleep (40%) on one enemy
green += 1
olive = True # reset next turn
elif bacon == True and mango == False:
useSkill(5, 'random') # Mental Break (217270): Physical damage (0.8x, ATK) to one enemy, Reduce SPR by 30% for 3 turns to one enemy
green += 1
mango = True # reset next turn
elif bacon == True and lemon == False:
useSkill(6, 'random') # Armor Break (217271): Physical damage (0.8x, ATK) to one enemy, Reduce DEF by 30% for 3 turns to one enemy
green += 1
lemon = 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