Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created March 1, 2019 12:08
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/6972b87d6184093fe9c35f078259b2e5 to your computer and use it in GitHub Desktop.
Save aEnigmatic/6972b87d6184093fe9c35f078259b2e5 to your computer and use it in GitHub Desktop.
Revenge of the Hasikos
##
# Mission 'Shadows of Ruination - ELT' (9590101)
# Enemy has first strike!
#
# Battles
# * Hasiko
# * Awakened Hasiko, Spirit, Spirit
##
##
# Monster Info
##
#
# Monster Hasiko (900010606)
# Race Demon
# Level 99
# Actions 7-7
#
#
# Stats
# HP 15000000
# MP 10000
# ATK 350
# DEF 780
# MAG 250
# SPR 93
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 50%
# Ice 50%
# Lightning 50%
# Water 50%
# Wind 50%
# Earth 50%
# Light 0%
# Dark 100%
# Non-Elemental 0%
#
#
# 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 +
#
###
###
# Skills
###
#
# Spirit Burn (900230) [None]
#
# Magic* damage (4x, MAG) to all enemies
# Hybrid* damage (2x, ATK & MAG) as MP drain (50%) to all enemies
# Reduce ATK, DEF, MAG and SPR by 50% for 5 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Intimidating Gaze (900231) [Magic]
#
# Magic dark damage (3x, MAG) to all enemies
# Inflict Petrify (50%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Maniacal Slash (900184) [Physical]
#
# Physical damage (3x, ATK) to all enemies
# Physical damage (1x, ATK) as HP drain (150%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Deadly Thrust (900185) [None]
#
# Physical* damage (9x, ATK) to one enemy
# Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Cursed Mind (900233) [Magic]
#
# Magic damage (9x, MAG) to one enemy
# Inflict 2 random status effects (Petrify 100% and Poison, Blind, Sleep, Silence, Paralyze, Confusion and Disease 30%) to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Growl (900187) [Hybrid]
#
# Reduce magic damage taken by 100% to caster for one turn (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Sinister Gaze (900232) [Magic]
#
# Magic light damage (3x, MAG) to all enemies
# Inflict Confusion (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wail (900234) [Hybrid]
#
# Reduce physical damage taken by 100% to caster for one turn (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if once():
useSkill(1, 'random') # Spirit Burn (900230): Magic* damage (4x, MAG) to all enemies, Hybrid* damage (2x, ATK & MAG) as MP drain (50%) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 5 turns to all enemies
elif once():
useSkill(5, 'highest SPR') # Cursed Mind (900233): Magic damage (9x, MAG) to one enemy, Inflict 2 random status effects (Petrify 100% and Poison, Blind, Sleep, Silence, Paralyze, Confusion and Disease 30%) to one enemy
elif once():
useSkill(2, 'random') # Intimidating Gaze (900231): Magic dark damage (3x, MAG) to all enemies, Inflict Petrify (50%) on all enemies
elif once():
useSkill(7, 'random') # Sinister Gaze (900232): Magic light damage (3x, MAG) to all enemies, Inflict Confusion (100%) on all enemies
elif once():
endTurn()
elif apple == False and honey == False and isTurnMod(3):
useSkill(6, 'random') # Growl (900187): Reduce magic damage taken by 100% to caster for one turn (can not be removed)
apple = True # reset next turn
honey = True # persistent
elif apple == False and honey == True and isTurnMod(3):
useSkill(8, 'random') # Wail (900234): Reduce physical damage taken by 100% to caster for one turn (can not be removed)
apple = True # reset next turn
honey = False # persistent
elif self.HP < 0.3 and once():
useSkill(3, 'random') # Maniacal Slash (900184): Physical damage (3x, ATK) to all enemies, Physical damage (1x, ATK) as HP drain (150%) to all enemies
elif random() <= 0.10 and self.HP < 0.3:
useSkill(5, 'random') # Cursed Mind (900233): Magic damage (9x, MAG) to one enemy, Inflict 2 random status effects (Petrify 100% and Poison, Blind, Sleep, Silence, Paralyze, Confusion and Disease 30%) to one enemy
elif random() <= 0.15 and self.HP < 0.3:
useSkill(2, 'random') # Intimidating Gaze (900231): Magic dark damage (3x, MAG) to all enemies, Inflict Petrify (50%) on all enemies
elif random() <= 0.20 and self.HP < 0.3 and berry == False:
useSkill(1, 'random') # Spirit Burn (900230): Magic* damage (4x, MAG) to all enemies, Hybrid* damage (2x, ATK & MAG) as MP drain (50%) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 5 turns to all enemies
berry = True # reset next turn
elif random() <= 0.40 and self.HP < 0.3:
useSkill(3, 'random') # Maniacal Slash (900184): Physical damage (3x, ATK) to all enemies, Physical damage (1x, ATK) as HP drain (150%) to all enemies
elif self.HP < 0.3:
useSkill(4, 'highest MAG') # Deadly Thrust (900185): Physical* damage (9x, ATK) to one enemy, Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
elif self.HP < 0.5 and once():
useSkill(5, 'highest SPR') # Cursed Mind (900233): Magic damage (9x, MAG) to one enemy, Inflict 2 random status effects (Petrify 100% and Poison, Blind, Sleep, Silence, Paralyze, Confusion and Disease 30%) to one enemy
elif random() <= 0.10 and self.HP < 0.5:
useSkill(5, 'random') # Cursed Mind (900233): Magic damage (9x, MAG) to one enemy, Inflict 2 random status effects (Petrify 100% and Poison, Blind, Sleep, Silence, Paralyze, Confusion and Disease 30%) to one enemy
elif random() <= 0.15 and self.HP < 0.5 and berry == False:
useSkill(1, 'random') # Spirit Burn (900230): Magic* damage (4x, MAG) to all enemies, Hybrid* damage (2x, ATK & MAG) as MP drain (50%) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 5 turns to all enemies
berry = True # reset next turn
elif random() <= 0.20 and self.HP < 0.5:
useSkill(3, 'random') # Maniacal Slash (900184): Physical damage (3x, ATK) to all enemies, Physical damage (1x, ATK) as HP drain (150%) to all enemies
elif random() <= 0.20 and self.HP < 0.5:
useSkill(7, 'random') # Sinister Gaze (900232): Magic light damage (3x, MAG) to all enemies, Inflict Confusion (100%) on all enemies
elif random() <= 0.30 and self.HP < 0.5:
useSkill(4, 'highest MAG') # Deadly Thrust (900185): Physical* damage (9x, ATK) to one enemy, Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
elif self.HP < 0.5:
attack('random')
elif self.HP < 0.7 and once():
useSkill(7, 'highest SPR') # Sinister Gaze (900232): Magic light damage (3x, MAG) to all enemies, Inflict Confusion (100%) on all enemies
elif random() <= 0.30 and self.HP < 0.7:
useSkill(7, 'random') # Sinister Gaze (900232): Magic light damage (3x, MAG) to all enemies, Inflict Confusion (100%) on all enemies
elif random() <= 0.15 and self.HP < 0.7 and berry == False:
useSkill(1, 'random') # Spirit Burn (900230): Magic* damage (4x, MAG) to all enemies, Hybrid* damage (2x, ATK & MAG) as MP drain (50%) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 5 turns to all enemies
berry = True # reset next turn
elif random() <= 0.20 and self.HP < 0.7:
useSkill(3, 'random') # Maniacal Slash (900184): Physical damage (3x, ATK) to all enemies, Physical damage (1x, ATK) as HP drain (150%) to all enemies
elif random() <= 0.10 and self.HP < 0.7:
useSkill(2, 'random') # Intimidating Gaze (900231): Magic dark damage (3x, MAG) to all enemies, Inflict Petrify (50%) on all enemies
elif random() <= 0.30 and self.HP < 0.7:
useSkill(4, 'highest MAG') # Deadly Thrust (900185): Physical* damage (9x, ATK) to one enemy, Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
elif self.HP < 0.7:
attack('random')
elif random() <= 0.15 and berry == False:
useSkill(1, 'random') # Spirit Burn (900230): Magic* damage (4x, MAG) to all enemies, Hybrid* damage (2x, ATK & MAG) as MP drain (50%) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 5 turns to all enemies
berry = True # reset next turn
elif random() <= 0.20:
useSkill(2, 'random') # Intimidating Gaze (900231): Magic dark damage (3x, MAG) to all enemies, Inflict Petrify (50%) on all enemies
elif random() <= 0.30:
useSkill(7, 'random') # Sinister Gaze (900232): Magic light damage (3x, MAG) to all enemies, Inflict Confusion (100%) on all enemies
elif random() <= 0.40:
useSkill(4, 'random') # Deadly Thrust (900185): Physical* damage (9x, ATK) to one enemy, Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
else:
attack('random')
##
# Monster Info
##
#
# Monster Awakened Hasiko (900010607)
# Race Demon
# Level 99
# Actions 6-6
#
#
# Stats
# HP 25000000
# MP 10000
# ATK 400
# DEF 1200
# MAG 250
# SPR 1500
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice 100%
# Lightning 100%
# Water 100%
# Wind 100%
# Earth 100%
# Light 0%
# Dark 100%
# Non-Elemental 0%
#
#
# 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 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Spirit Burn (900230) [None]
#
# Magic* damage (4x, MAG) to all enemies
# Hybrid* damage (2x, ATK & MAG) as MP drain (50%) to all enemies
# Reduce ATK, DEF, MAG and SPR by 50% for 5 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Deadly Intimidating Gaze (900235) [Magic]
#
# Magic dark damage (3x, MAG) to all enemies
# Inflict Petrify (50%) on all enemies
# Unknown parameters: [1]
# Reduce resistance to Dark by 50% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Maniacal Slash (900184) [Physical]
#
# Physical damage (3x, ATK) to all enemies
# Physical damage (1x, ATK) as HP drain (150%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Deadly Thrust (900185) [None]
#
# Physical* damage (9x, ATK) to one enemy
# Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Deadly Cursed Mind (900237) [Magic]
#
# Magic damage (9x, MAG) to one enemy
# Inflict berserk (+0% ATK) on one enemy for one turn
# Reduce SPR by 70% for 5 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Growl (900187) [Hybrid]
#
# Reduce magic damage taken by 100% to caster for one turn (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# I will destroy you! (900197) [Magic]
#
# Magic damage (120x, MAG) to all enemies
# Reduce resistance to Light and Dark by 300% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Deadly Sinister Gaze (900236) [Magic]
#
# Magic light damage (3x, MAG) to all enemies
# Inflict Confusion (100%) on all enemies
# Unknown parameters: [1]
# Reduce resistance to Light by 50% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wail (900234) [Hybrid]
#
# Reduce physical damage taken by 100% to caster for one turn (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if unit('2:ally:900010608:Spirit').is('dead') and peach == False and once():
useSkill(7, 'random') # I will destroy you! (900197): Magic damage (120x, MAG) to all enemies, Reduce resistance to Light and Dark by 300% for 3 turns to caster
peach = True # reset next turn
elif unit('2:ally:900010609:Spirit').is('dead') and olive == False and once():
useSkill(7, 'random') # I will destroy you! (900197): Magic damage (120x, MAG) to all enemies, Reduce resistance to Light and Dark by 300% for 3 turns to caster
olive = True # reset next turn
elif once():
useSkill(1, 'random') # Spirit Burn (900230): Magic* damage (4x, MAG) to all enemies, Hybrid* damage (2x, ATK & MAG) as MP drain (50%) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 5 turns to all enemies
elif once():
useSkill(5, 'highest SPR') # Deadly Cursed Mind (900237): Magic damage (9x, MAG) to one enemy, Inflict berserk (+0% ATK) on one enemy for one turn, Reduce SPR by 70% for 5 turns to one enemy
elif once():
useSkill(2, 'random') # Deadly Intimidating Gaze (900235): Magic dark damage (3x, MAG) to all enemies, Inflict Petrify (50%) on all enemies, Reduce resistance to Dark by 50% for 3 turns to all enemies
elif once():
useSkill(8, 'random') # Deadly Sinister Gaze (900236): Magic light damage (3x, MAG) to all enemies, Inflict Confusion (100%) on all enemies, Reduce resistance to Light by 50% for 3 turns to all enemies
elif once():
endTurn()
elif apple == False and honey == False and isTurnMod(3):
useSkill(6, 'random') # Growl (900187): Reduce magic damage taken by 100% to caster for one turn (can not be removed)
apple = True # reset next turn
honey = True # persistent
elif apple == False and honey == True and isTurnMod(3):
useSkill(9, 'random') # Wail (900234): Reduce physical damage taken by 100% to caster for one turn (can not be removed)
apple = True # reset next turn
honey = False # persistent
elif self.HP < 0.3 and once():
useSkill(3, 'random') # Maniacal Slash (900184): Physical damage (3x, ATK) to all enemies, Physical damage (1x, ATK) as HP drain (150%) to all enemies
elif random() <= 0.10 and self.HP < 0.3:
useSkill(5, 'random') # Deadly Cursed Mind (900237): Magic damage (9x, MAG) to one enemy, Inflict berserk (+0% ATK) on one enemy for one turn, Reduce SPR by 70% for 5 turns to one enemy
elif random() <= 0.15 and self.HP < 0.3:
useSkill(2, 'random') # Deadly Intimidating Gaze (900235): Magic dark damage (3x, MAG) to all enemies, Inflict Petrify (50%) on all enemies, Reduce resistance to Dark by 50% for 3 turns to all enemies
elif random() <= 0.20 and self.HP < 0.3 and berry == False:
useSkill(1, 'random') # Spirit Burn (900230): Magic* damage (4x, MAG) to all enemies, Hybrid* damage (2x, ATK & MAG) as MP drain (50%) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 5 turns to all enemies
berry = True # reset next turn
elif random() <= 0.40 and self.HP < 0.3:
useSkill(3, 'random') # Maniacal Slash (900184): Physical damage (3x, ATK) to all enemies, Physical damage (1x, ATK) as HP drain (150%) to all enemies
elif self.HP < 0.3:
useSkill(4, 'highest MAG') # Deadly Thrust (900185): Physical* damage (9x, ATK) to one enemy, Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
elif self.HP < 0.5 and once():
useSkill(5, 'highest SPR') # Deadly Cursed Mind (900237): Magic damage (9x, MAG) to one enemy, Inflict berserk (+0% ATK) on one enemy for one turn, Reduce SPR by 70% for 5 turns to one enemy
elif random() <= 0.10 and self.HP < 0.5:
useSkill(5, 'random') # Deadly Cursed Mind (900237): Magic damage (9x, MAG) to one enemy, Inflict berserk (+0% ATK) on one enemy for one turn, Reduce SPR by 70% for 5 turns to one enemy
elif random() <= 0.15 and self.HP < 0.5 and berry == False:
useSkill(1, 'random') # Spirit Burn (900230): Magic* damage (4x, MAG) to all enemies, Hybrid* damage (2x, ATK & MAG) as MP drain (50%) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 5 turns to all enemies
berry = True # reset next turn
elif random() <= 0.20 and self.HP < 0.5:
useSkill(3, 'random') # Maniacal Slash (900184): Physical damage (3x, ATK) to all enemies, Physical damage (1x, ATK) as HP drain (150%) to all enemies
elif random() <= 0.20 and self.HP < 0.5:
useSkill(8, 'random') # Deadly Sinister Gaze (900236): Magic light damage (3x, MAG) to all enemies, Inflict Confusion (100%) on all enemies, Reduce resistance to Light by 50% for 3 turns to all enemies
elif random() <= 0.30 and self.HP < 0.5:
useSkill(4, 'highest MAG') # Deadly Thrust (900185): Physical* damage (9x, ATK) to one enemy, Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
elif self.HP < 0.5:
attack('random')
elif self.HP < 0.7 and once():
useSkill(8, 'highest SPR') # Deadly Sinister Gaze (900236): Magic light damage (3x, MAG) to all enemies, Inflict Confusion (100%) on all enemies, Reduce resistance to Light by 50% for 3 turns to all enemies
elif random() <= 0.30 and self.HP < 0.7:
useSkill(8, 'random') # Deadly Sinister Gaze (900236): Magic light damage (3x, MAG) to all enemies, Inflict Confusion (100%) on all enemies, Reduce resistance to Light by 50% for 3 turns to all enemies
elif random() <= 0.15 and self.HP < 0.7 and berry == False:
useSkill(1, 'random') # Spirit Burn (900230): Magic* damage (4x, MAG) to all enemies, Hybrid* damage (2x, ATK & MAG) as MP drain (50%) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 5 turns to all enemies
berry = True # reset next turn
elif random() <= 0.20 and self.HP < 0.7:
useSkill(3, 'random') # Maniacal Slash (900184): Physical damage (3x, ATK) to all enemies, Physical damage (1x, ATK) as HP drain (150%) to all enemies
elif random() <= 0.10 and self.HP < 0.7:
useSkill(2, 'random') # Deadly Intimidating Gaze (900235): Magic dark damage (3x, MAG) to all enemies, Inflict Petrify (50%) on all enemies, Reduce resistance to Dark by 50% for 3 turns to all enemies
elif random() <= 0.30 and self.HP < 0.7:
useSkill(4, 'highest MAG') # Deadly Thrust (900185): Physical* damage (9x, ATK) to one enemy, Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
elif self.HP < 0.7:
attack('random')
elif random() <= 0.15 and berry == False:
useSkill(1, 'random') # Spirit Burn (900230): Magic* damage (4x, MAG) to all enemies, Hybrid* damage (2x, ATK & MAG) as MP drain (50%) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 5 turns to all enemies
berry = True # reset next turn
elif random() <= 0.20:
useSkill(2, 'random') # Deadly Intimidating Gaze (900235): Magic dark damage (3x, MAG) to all enemies, Inflict Petrify (50%) on all enemies, Reduce resistance to Dark by 50% for 3 turns to all enemies
elif random() <= 0.30:
useSkill(8, 'random') # Deadly Sinister Gaze (900236): Magic light damage (3x, MAG) to all enemies, Inflict Confusion (100%) on all enemies, Reduce resistance to Light by 50% for 3 turns to all enemies
elif random() <= 0.40:
useSkill(4, 'random') # Deadly Thrust (900185): Physical* damage (9x, ATK) to one enemy, Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
else:
attack('random')
##
# Monster Info
##
#
# Monster Spirit (900010608)
# Race Reaper
# Level 50
# Actions 4-4
#
#
# Stats
# HP 60000
# MP 5000
# ATK 245
# DEF 800
# MAG 200
# SPR 800
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice 100%
# Lightning 100%
# Water 100%
# Wind 100%
# Earth 100%
# Light 0%
# Dark 100%
# Non-Elemental 0%
#
#
# Status resist (+30% / 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 +
#
###
###
# Skills
###
#
# Cursed Flash (900238) [Hybrid]
#
# Magic* light damage (3x, MAG) to all enemies
# Restore 5% HP to all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Malefic Sacrifice (900199) [Magic]
#
# Sacrifice 100% HP to deal 10% HP damage to all enemies
# Unused parameters: [0,0,1,1]
# Magic damage (200x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if once():
endTurn()
elif grape == False:
wait() # No action
green += 1
grape = True # reset next turn
elif random() <= 0.40 and mango == False:
useSkill(1, 'random') # Cursed Flash (900238): Magic* light damage (3x, MAG) to all enemies, Restore 5% HP to all allies
mango = True # reset next turn
elif green >= 15:
useSkill(2, 'random') # Malefic Sacrifice (900199): Sacrifice 100% HP to deal 10% HP damage to all enemies, Magic damage (200x, MAG) to all enemies
green += 1
else:
attack('random')
##
# Monster Info
##
#
# Monster Spirit (900010609)
# Race Reaper
# Level 50
# Actions 4-4
#
#
# Stats
# HP 60000
# MP 5000
# ATK 245
# DEF 800
# MAG 200
# SPR 800
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice 100%
# Lightning 100%
# Water 100%
# Wind 100%
# Earth 100%
# Light 0%
# Dark 100%
# Non-Elemental 0%
#
#
# Status resist (+30% / 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 +
#
###
###
# Skills
###
#
# Cursed Flash (900238) [Hybrid]
#
# Magic* light damage (3x, MAG) to all enemies
# Restore 5% HP to all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Malefic Sacrifice (900199) [Magic]
#
# Sacrifice 100% HP to deal 10% HP damage to all enemies
# Unused parameters: [0,0,1,1]
# Magic damage (200x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if once():
endTurn()
elif grape == False:
wait() # No action
green += 1
grape = True # reset next turn
elif random() <= 0.40 and mango == False:
useSkill(1, 'random') # Cursed Flash (900238): Magic* light damage (3x, MAG) to all enemies, Restore 5% HP to all allies
mango = True # reset next turn
elif green >= 15:
useSkill(2, 'random') # Malefic Sacrifice (900199): Sacrifice 100% HP to deal 10% HP damage to all enemies, Magic damage (200x, MAG) to all enemies
green += 1
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment