Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active May 30, 2020 18:26
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/28845a121aef5a7d514d5cff184393c4 to your computer and use it in GitHub Desktop.
Save aEnigmatic/28845a121aef5a7d514d5cff184393c4 to your computer and use it in GitHub Desktop.
Dark Visions - 6
##
# Mission 'Quest 3-1' (9220301)
# BattleScript: 922030101
#
# Battles
# * Dark Bone Dragon
##
##
# Monster Info
##
#
# Monster Dark Bone Dragon (212000000)
# Race Reaper
# Level 90
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 130000000
# MP 10000
# ATK 750
# DEF 4500
# MAG 650
# SPR 450
#
#
# 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 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
###
#
# Thunder Claw (217732) [Physical]
#
# Physical lightning damage (3.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Frenzied Thunder Claw (217733) [Physical]
#
# Physical lightning damage (2.8x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sweep (217734) [Physical]
#
# Physical damage (2.5x, ATK) to all enemies
# Inflict Paralyze (30%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Domain Under Lightning (217735) [None]
#
# Reduce resistance to Lightning by 45% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Spite of the Bone Dragon (217736) [Physical]
#
# Physical lightning damage (1.5x, ATK) per turn to all enemies for 3 turns
# Unused parameters: [1,9]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 8 and self.HP < 0.7 and once():
useSkill(5, 'random') # Spite of the Bone Dragon (217736): Physical lightning damage (1.5x, ATK) per turn to all enemies for 3 turns
apple = True # reset next turn
elif green >= 8 and self.HP < 0.5 and once() and apple == False:
useSkill(5, 'random') # Spite of the Bone Dragon (217736): Physical lightning damage (1.5x, ATK) per turn to all enemies for 3 turns
apple = True # reset next turn
elif green >= 8 and self.HP < 0.3 and once() and apple == False:
useSkill(5, 'random') # Spite of the Bone Dragon (217736): Physical lightning damage (1.5x, ATK) per turn to all enemies for 3 turns
elif green >= 8 and isTurnMod(2) and berry == False:
useSkill(3, 'random') # Sweep (217734): Physical damage (2.5x, ATK) to all enemies, Inflict Paralyze (30%) on all enemies
berry = True # reset next turn
elif green >= 8:
endTurn()
green = 0
elif green < 4:
useSkill(1, 'random') # Thunder Claw (217732): Physical lightning damage (3.5x, ATK) to one enemy
green += 1
elif isTurnMod(3) and peach == False:
useSkill(3, 'random') # Sweep (217734): Physical damage (2.5x, ATK) to all enemies, Inflict Paralyze (30%) on all enemies
green += 1
peach = True # reset next turn
elif isTurnMod(2) and olive == False:
useSkill(2, 'random') # Frenzied Thunder Claw (217733): Physical lightning damage (2.8x, ATK) to all enemies
green += 1
olive = True # reset next turn
elif isTurnMod(3) and mango == False:
useSkill(2, 'random') # Frenzied Thunder Claw (217733): Physical lightning damage (2.8x, ATK) to all enemies
green += 1
mango = True # reset next turn
elif isTurnMod(2) and lemon == False:
useSkill(4, 'random') # Domain Under Lightning (217735): Reduce resistance to Lightning by 45% for 3 turns to all enemies
green += 1
lemon = True # reset next turn
else:
attack('random')
green += 1
##
# Mission 'Quest 3-2' (9220302)
# BattleScript: 922030201
#
# Battles
# * Dark Summoner
##
##
# Monster Info
##
#
# Monster Dark Summoner (205670001)
# Race Human
# Level 90
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 155000000
# MP 30000
# ATK 650
# DEF 930
# MAG 860
# SPR 9300
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 80%
# Ice 80%
# Lightning 80%
# Water 80%
# Wind 80%
# Earth -50%
# 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
###
#
# Demonic Whirlwhind (217737) [Magic]
#
# Magic wind damage (3.5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ferocious Demonic Whirlwhind (217738) [Magic]
#
# Magic wind damage (3x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Downdraft Glare (217739) [None]
#
# Reduce resistance to Wind by 60% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Piercing Hell Wind (217740) [Magic]
#
# Magic wind damage (4x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Discernment (217741) [None]
#
# Inflict Confusion (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Curaja (217742) [Magic]
#
# Restore 3-9% HP to all allies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
###
# AI
###
if green >= 8 and isTurnMod(4) and apple == False:
useSkill(6, 'random') # Curaja (217742): Restore 3-9% HP to all allies
apple = True # reset next turn
elif green >= 8 and isTurnMod(2) and berry == False:
useSkill(4, 'random') # Piercing Hell Wind (217740): Magic wind damage (4x, MAG) to one enemy
berry = True # reset next turn
elif green >= 8 and once() and self.HP < 0.8:
useSkill(4, 'random') # Piercing Hell Wind (217740): Magic wind damage (4x, MAG) to one enemy
peach = True # reset next turn
elif green >= 8 and once() and self.HP < 0.6 and peach == False:
useSkill(4, 'random') # Piercing Hell Wind (217740): Magic wind damage (4x, MAG) to one enemy
peach = True # reset next turn
elif green >= 8 and once() and self.HP < 0.4 and peach == False:
useSkill(4, 'random') # Piercing Hell Wind (217740): Magic wind damage (4x, MAG) to one enemy
elif green >= 8:
endTurn()
green = 0
elif green < 3:
useSkill(1, 'random') # Demonic Whirlwhind (217737): Magic wind damage (3.5x, MAG) to one enemy
green += 1
elif olive == False:
useSkill(2, 'random') # Ferocious Demonic Whirlwhind (217738): Magic wind damage (3x, MAG) to all enemies
green += 1
olive = True # reset next turn
elif mango == False and isTurnMod(3):
useSkill(2, 'random') # Ferocious Demonic Whirlwhind (217738): Magic wind damage (3x, MAG) to all enemies
green += 1
mango = True # reset next turn
elif lemon == False and isTurnMod(2):
useSkill(3, 'random') # Downdraft Glare (217739): Reduce resistance to Wind by 60% for 3 turns to all enemies
green += 1
lemon = True # reset next turn
elif grape == False and isTurnMod(3):
useSkill(5, 'random') # Discernment (217741): Inflict Confusion (100%) on all enemies
grape = True # reset next turn
elif melon == False and isTurnMod(4):
useSkill(5, 'random') # Discernment (217741): Inflict Confusion (100%) on all enemies
melon = True # reset next turn
else:
attack('random')
green += 1
##
# Mission 'Quest 3-3' (9220303)
# BattleScript: 922030301
#
# Battles
# * Dark Demon
##
##
# Monster Info
##
#
# Monster Dark Demon (404000000)
# Race Demon
# Level 95
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 220000000
# MP 50000
# ATK 780
# DEF 1100
# MAG 1050
# SPR 11000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 80%
# Ice 80%
# Lightning 80%
# Water 80%
# Wind -50%
# Earth 80%
# Light 80%
# Dark 80%
# Non-Elemental 80%
#
#
# Status resist (+80% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# Confusega (217743) [Magic]
#
# Inflict Confusion (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Enervate (217744) [Physical]
#
# Physical earth damage (2.7x, ATK) to all enemies
# Reduce ATK, DEF and MAG by 10% for 2 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Judgment Scythe (217745) [Physical]
#
# Physical damage (3.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Salvation Scythe (217746) [Physical]
#
# Physical damage (2.7x, ATK) to one enemy
# Inflict 2 random status effects (Poison and Paralyze 100%) to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Quake (217747) [Magic]
#
# Magic earth damage (2.7x, MAG) to all enemies
# Reduce resistance to Earth by 20% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shadow Wall (217748) [None]
#
# Reduce physical damage taken by 15% to caster for 3 turns (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Stonga Blade (217749) [Physical]
#
# Hybrid* earth damage (1.35x, ATK & MAG) to one enemy
# Unused parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Razor Gale (217750) [Magic]
#
# Magic damage (3.8x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Accursed Quake (217751) [None]
#
# Reduce resistance to Earth by 60% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 9 and lemon == False and isTurnMod(2):
useSkill(9, 'random') # Accursed Quake (217751): Reduce resistance to Earth by 60% for 3 turns to all enemies
lemon = True # reset next turn
elif green >= 9:
endTurn()
green = 0
elif isTurn(1) and once():
useSkill(1, 'random') # Confusega (217743): Inflict Confusion (100%) on all enemies
elif isTurn(1) and once():
useSkill(6, 'random') # Shadow Wall (217748): Reduce physical damage taken by 15% to caster for 3 turns (can not be removed)
elif self.HP < 0.5 and once():
useSkill(1, 'random') # Confusega (217743): Inflict Confusion (100%) on all enemies
elif self.HP < 0.5 and once():
useSkill(6, 'random') # Shadow Wall (217748): Reduce physical damage taken by 15% to caster for 3 turns (can not be removed)
elif isTurnMod(3) and apple == False:
useSkill(2, 'random') # Enervate (217744): Physical earth damage (2.7x, ATK) to all enemies, Reduce ATK, DEF and MAG by 10% for 2 turns to all enemies
green += 1
apple = True # reset next turn
elif random() <= 0.20 and apple == False:
useSkill(3, 'random') # Judgment Scythe (217745): Physical damage (3.5x, ATK) to one enemy
green += 1
apple = True # reset next turn
elif random() <= 0.25 and berry == False:
useSkill(4, 'random') # Salvation Scythe (217746): Physical damage (2.7x, ATK) to one enemy, Inflict 2 random status effects (Poison and Paralyze 100%) to one enemy
green += 1
berry = True # reset next turn
elif random() <= 0.30 and peach == False:
useSkill(5, 'random') # Quake (217747): Magic earth damage (2.7x, MAG) to all enemies, Reduce resistance to Earth by 20% for 3 turns to all enemies
green += 1
peach = True # reset next turn
elif random() <= 0.35 and olive == False:
useSkill(7, 'random') # Stonga Blade (217749): Hybrid* earth damage (1.35x, ATK & MAG) to one enemy
green += 1
olive = True # reset next turn
elif random() <= 0.40 and mango == False:
useSkill(8, 'random') # Razor Gale (217750): Magic damage (3.8x, MAG) to all enemies
green += 1
mango = True # reset next turn
else:
attack('random')
green += 1
##
# Mission 'Quest 3-4' (9220304)
# BattleScript: 922030401
#
# Battles
# * Dark Tunnel Armor
##
##
# Monster Info
##
#
# Monster Dark Tunnel Armor (306010000)
# Race Machina
# Level 99
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 300000000
# MP 100000
# ATK 1050
# DEF 1750
# MAG 1300
# SPR 17500
#
#
# 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 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
###
#
# Drill (217752) [Physical]
#
# Physical damage (2.5x * 1.18 = 2.94x, ATK) to one enemy (ignore cover)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Pile Bunker (217753) [Physical]
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Super Blast (217754) [Magic]
#
# Magic damage (3.5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Thunder Beam (217755) [Magic]
#
# Magic lightning damage (3x, MAG) to one enemy
# Unknown parameters: [0]
# Reduce resistance to Lightning by 30% for 2 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Super Magitek Laser (217756) [Magic]
#
# Magic lightning damage (3.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Frenzied Charge (217757) [Physical]
#
# Physical damage (2.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Oversize - 30% (217758) [None]
#
# Increase ATK and MAG by 10% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Oversize - 60% (217759) [None]
#
# Increase ATK and MAG by 20% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Oversize - MAX (217760) [None]
#
# Increase ATK and MAG by 30% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Domain Under Lightning (217761) [None]
#
# Reduce resistance to Lightning by 60% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Electroburst (217762) [Magic]
#
# Magic lightning damage (3.8x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if white == 3:
useSkill(9, 'random') # Oversize - MAX (217760): Increase ATK and MAG by 30% for 2 turns to caster
white = 0
ramen = False # persistent
honey = False # persistent
elif white == 2 and apple == False and ramen == False:
useSkill(8, 'random') # Oversize - 60% (217759): Increase ATK and MAG by 20% for 2 turns to caster
apple = True # reset next turn
ramen = True # persistent
elif white == 1 and apple == False and honey == False:
useSkill(7, 'random') # Oversize - 30% (217758): Increase ATK and MAG by 10% for 2 turns to caster
apple = True # reset next turn
honey = True # persistent
elif green >= 9 and berry == False and isTurnMod(2):
useSkill(10, 'random') # Domain Under Lightning (217761): Reduce resistance to Lightning by 60% for 3 turns to all enemies
berry = True # reset next turn
elif green >= 9 and once() and self.HP < 0.8:
useSkill(11, 'random') # Electroburst (217762): Magic lightning damage (3.8x, MAG) to all enemies
lemon = True # reset next turn
elif green >= 9 and once() and self.HP < 0.6 and lemon == False:
useSkill(11, 'random') # Electroburst (217762): Magic lightning damage (3.8x, MAG) to all enemies
lemon = True # reset next turn
elif green >= 9 and once() and self.HP < 0.4 and lemon == False:
useSkill(11, 'random') # Electroburst (217762): Magic lightning damage (3.8x, MAG) to all enemies
elif green >= 9:
endTurn()
green = 0
elif random() <= 0.33 and green < 4:
useSkill(2, 'random') # Pile Bunker (217753): Physical damage (3x, ATK) to one enemy
green += 1
elif random() <= 0.50 and green < 4:
useSkill(3, 'random') # Super Blast (217754): Magic damage (3.5x, MAG) to one enemy
green += 1
elif green < 4:
useSkill(4, 'random') # Thunder Beam (217755): Magic lightning damage (3x, MAG) to one enemy, Reduce resistance to Lightning by 30% for 2 turns to one enemy
green += 1
elif peach == False and self.HP < 0.6:
useSkill(5, 'random') # Super Magitek Laser (217756): Magic lightning damage (3.5x, MAG) to all enemies
green += 1
peach = True # reset next turn
elif peach == False and isTurnMod(2):
useSkill(5, 'random') # Super Magitek Laser (217756): Magic lightning damage (3.5x, MAG) to all enemies
green += 1
peach = True # reset next turn
elif olive == False and self.HP < 0.4:
useSkill(6, 'random') # Frenzied Charge (217757): Physical damage (2.5x, ATK) to all enemies
green += 1
olive = True # reset next turn
elif mango == False:
useSkill(6, 'random') # Frenzied Charge (217757): Physical damage (2.5x, ATK) to all enemies
white += 1
green += 1
mango = True # reset next turn
else:
useSkill(1, 'random') # Drill (217752): Physical damage (2.5x * 1.18 = 2.94x, ATK) to one enemy (ignore cover)
green += 1
##
# Mission 'Quest 3-5' (9220305)
# BattleScript: 922030501
#
# Battles
# * Dark Tetra Sylphid
##
##
# Monster Info
##
#
# Monster Dark Tetra Sylphid (408020000)
# Race Fairy
# Level 99
# Actions 25-25
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 550000000
# MP 150000
# ATK 1350
# DEF 1650
# MAG 1650
# SPR 16500
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 80%
# Ice 80%
# Lightning 80%
# Water 80%
# Wind 80%
# Earth -50%
# Light 80%
# Dark 80%
# Non-Elemental 80%
#
#
# Status resist (+25% / 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
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# Tornado (217763) [Magic]
#
# Magic wind damage (3x, MAG) to all enemies
# Reduce resistance to Wind by 30% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Gale Slash (217764) [Magic]
#
# Magic damage (3.5x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tornado Bomb (217765) [Magic]
#
# Magic wind damage (3x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Delta Scrub (217766) [Physical]
#
# Physical damage (3.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Cumulonimbus (217767) [Magic]
#
# Magic wind damage (2.5x, MAG) to all enemies
# Reduce DEF and SPR by 15% for 2 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sandstorm (217768) [Magic]
#
# Magic damage (2.5x, MAG) to all enemies
# Inflict Blind, Silence and Petrify (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Red Wind (217769) [Magic]
#
# Magic damage (0.04x, MAG) as MP drain (30%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Swiftwind Dance (217770) [Magic]
#
# Increase DEF and SPR by 10% and ATK and MAG by 5% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Soul Dance (217771) [Magic]
#
# Increase DEF and SPR by 15% and ATK and MAG by 10% for 3 turns to caster
# Unused parameters: [1]
# Reduce damage taken by 20% to caster for 2 turns
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Rejection Dance (217772) [Magic]
#
# Reflect all spell(s) for 3 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heavenswind (217773) [Magic]
#
# Magic wind damage (3.8x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hollow Wind (217774) [None]
#
# Remove all buffs and debuffs from all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# A violent wind blows! (217775) [None]
#
# Reduce resistance to Wind by 80% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green >= 9 and once() and self.HP < 0.8:
useSkill(5, 'random') # Cumulonimbus (217767): Magic wind damage (2.5x, MAG) to all enemies, Reduce DEF and SPR by 15% for 2 turns to all enemies
apple = True # reset next turn
elif green >= 9 and once() and self.HP < 0.6 and apple == False:
useSkill(5, 'random') # Cumulonimbus (217767): Magic wind damage (2.5x, MAG) to all enemies, Reduce DEF and SPR by 15% for 2 turns to all enemies
apple = True # reset next turn
elif green >= 9 and once() and self.HP < 0.4 and apple == False:
useSkill(5, 'random') # Cumulonimbus (217767): Magic wind damage (2.5x, MAG) to all enemies, Reduce DEF and SPR by 15% for 2 turns to all enemies
elif green >= 9 and berry == False and isTurnMod(3):
useSkill(10, 'random') # Rejection Dance (217772): Reflect all spell(s) for 3 turns to caster
berry = True # reset next turn
elif green >= 9 and peach == False and self.HP > 0.4 and isTurnMod(3):
useSkill(8, 'random') # Swiftwind Dance (217770): Increase DEF and SPR by 10% and ATK and MAG by 5% for 3 turns to caster
peach = True # reset next turn
elif green >= 9 and peach == False and self.HP < 0.4 and isTurnMod(3):
useSkill(9, 'random') # Soul Dance (217771): Increase DEF and SPR by 15% and ATK and MAG by 10% for 3 turns to caster, Reduce damage taken by 20% to caster for 2 turns
peach = True # reset next turn
elif green >= 9 and olive == False and isTurnMod(2):
useSkill(13, 'random') # A violent wind blows! (217775): Reduce resistance to Wind by 80% for 3 turns to all enemies
olive = True # reset next turn
honey = True # persistent
elif green >= 9:
endTurn()
green = 0
elif honey == True:
useSkill(11, 'random') # Heavenswind (217773): Magic wind damage (3.8x, MAG) to all enemies
honey = False # persistent
elif isTurnMod(3) and mango == False:
useSkill(7, 'random') # Red Wind (217769): Magic damage (0.04x, MAG) as MP drain (30%) to one enemy
green += 1
mango = True # reset next turn
elif random() <= 0.47 and green < 4:
useSkill(4, 'random') # Delta Scrub (217766): Physical damage (3.5x, ATK) to one enemy
green += 1
elif green < 4:
useSkill(2, 'random') # Gale Slash (217764): Magic damage (3.5x, MAG) to one enemy
green += 1
elif ramen == True and lemon == False:
useSkill(1, 'random') # Tornado (217763): Magic wind damage (3x, MAG) to all enemies, Reduce resistance to Wind by 30% for 3 turns to all enemies
green += 1
lemon = True # reset next turn
ramen = False # persistent
elif ramen == False and lemon == False:
useSkill(3, 'random') # Tornado Bomb (217765): Magic wind damage (3x, MAG) to all enemies
green += 1
lemon = True # reset next turn
ramen = True # persistent
elif once() and self.HP < 0.8:
useSkill(12, 'random') # Hollow Wind (217774): Remove all buffs and debuffs from all enemies
grape = True # reset next turn
elif once() and self.HP < 0.6 and grape == False:
useSkill(12, 'random') # Hollow Wind (217774): Remove all buffs and debuffs from all enemies
grape = True # reset next turn
elif once() and self.HP < 0.4 and grape == False:
useSkill(12, 'random') # Hollow Wind (217774): Remove all buffs and debuffs from all enemies
elif isTurnMod(3) and melon == False:
useSkill(6, 'random') # Sandstorm (217768): Magic damage (2.5x, MAG) to all enemies, Inflict Blind, Silence and Petrify (100%) on all enemies
green += 1
melon = True # reset next turn
elif self.HP < 0.4 and guava == False:
useSkill(1, 'random') # Tornado (217763): Magic wind damage (3x, MAG) to all enemies, Reduce resistance to Wind by 30% for 3 turns to all enemies
green += 1
guava = 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