Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active October 26, 2018 10:40
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/efee4ae90309fb0a2134b20ad14d16b4 to your computer and use it in GitHub Desktop.
Save aEnigmatic/efee4ae90309fb0a2134b20ad14d16b4 to your computer and use it in GitHub Desktop.
Halloween 2018 - Great Vampire Lord
##
# Mission 'Challenge the Great Count - ELT' (9430101)
# Enemy has first strike!
#
# Battles
# * Great Vampire Lord
##
##
# Monster Info
##
#
# Monster Great Vampire Lord (900010502)
# Race Reaper
# Level 99
# Actions 7-7
#
#
# Stats
# HP 19900000
# MP 9900
# ATK 480
# DEF 70
# MAG 435
# SPR 780
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
# 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 +
# Unknown (7) +
#
###
###
# Skills
###
#
# Death Drain (900194) [None]
#
# Instant KO (100%) to one enemy (ignores death resist)
# Restore 25% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Time for a Feast (900189) [None]
#
# Hybrid* damage (1x, ATK & MAG) as MP drain (50%) to all enemies
# Remove all buffs and debuffs from all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Seductive Gesture (900190) [Magic]
#
# Magic damage (5x, MAG) to all enemies
# Inflict Charm (15%) on all enemies for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Intense Glare (900191) [Physical]
#
# Physical damage (9x, ATK) to one enemy
# Inflict one random status effect (Petrify 100% and Poison, Blind, Sleep, Silence, Paralyze, Confusion and Disease 30%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Menacing Swarm (900192) [Magic]
#
# Magic damage (3x, MAG) to all enemies
# Reduce ATK by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Welcome to the Party (900193) [Hybrid]
#
# Inflict Charm (100%) on one enemy for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if once():
useSkill(2, 'random') # Time for a Feast (900189): Hybrid* damage (1x, ATK & MAG) as MP drain (50%) to all enemies, Remove all buffs and debuffs from all enemies
elif once():
useSkill(6, 'random') # Welcome to the Party (900193): Inflict Charm (100%) on one enemy for 2 turns
elif once():
useSkill(5, 'random') # Menacing Swarm (900192): Magic damage (3x, MAG) to all enemies, Reduce ATK by 50% for 3 turns to all enemies
elif once():
endTurn()
elif self.lastTurnHitBy('ability') and apple == False and isTurnMod(3):
useSkill(1, 'highest ATK') # Death Drain (900194): Instant KO (100%) to one enemy (ignores death resist), Restore 25% HP to caster
apple = True # reset next turn
elif self.lastTurnHitBy('attack') and apple == False and isTurnMod(3):
useSkill(1, 'highest ATK') # Death Drain (900194): Instant KO (100%) to one enemy (ignores death resist), Restore 25% HP to caster
apple = True # reset next turn
elif self.lastTurnHitBy('spell') and apple == False and isTurnMod(3):
useSkill(1, 'highest ATK') # Death Drain (900194): Instant KO (100%) to one enemy (ignores death resist), Restore 25% HP to caster
apple = True # reset next turn
elif self.HP < 0.3 and once() and apple == False:
useSkill(1, 'highest SPR') # Death Drain (900194): Instant KO (100%) to one enemy (ignores death resist), Restore 25% HP to caster
apple = True # reset next turn
elif random() <= 0.10 and self.HP < 0.3 and peach == False:
useSkill(2, 'random') # Time for a Feast (900189): Hybrid* damage (1x, ATK & MAG) as MP drain (50%) to all enemies, Remove all buffs and debuffs from all enemies
peach = True # reset next turn
elif random() <= 0.15 and self.HP < 0.3 and apple == False:
useSkill(1, 'random') # Death Drain (900194): Instant KO (100%) to one enemy (ignores death resist), Restore 25% HP to caster
apple = True # reset next turn
elif random() <= 0.20 and self.HP < 0.3 and berry == False:
useSkill(3, 'random') # Seductive Gesture (900190): Magic damage (5x, MAG) to all enemies, Inflict Charm (15%) on all enemies for 2 turns
berry = True # reset next turn
elif random() <= 0.40 and self.HP < 0.3:
useSkill(5, 'random') # Menacing Swarm (900192): Magic damage (3x, MAG) to all enemies, Reduce ATK by 50% for 3 turns to all enemies
elif self.HP < 0.3:
useSkill(4, 'random') # Intense Glare (900191): Physical damage (9x, ATK) to one enemy, Inflict one random status effect (Petrify 100% and Poison, Blind, Sleep, Silence, Paralyze, Confusion and Disease 30%) to one enemy
elif self.HP < 0.5 and once() and peach == False:
useSkill(2, 'random') # Time for a Feast (900189): Hybrid* damage (1x, ATK & MAG) as MP drain (50%) to all enemies, Remove all buffs and debuffs from all enemies
peach = True # reset next turn
elif random() <= 0.10 and self.HP < 0.5 and peach == False:
useSkill(2, 'random') # Time for a Feast (900189): Hybrid* damage (1x, ATK & MAG) as MP drain (50%) to all enemies, Remove all buffs and debuffs from all enemies
peach = True # reset next turn
elif random() <= 0.10 and self.HP < 0.5 and apple == False:
useSkill(1, 'random') # Death Drain (900194): Instant KO (100%) to one enemy (ignores death resist), Restore 25% HP to caster
peach = True # reset next turn
apple = True # reset next turn
elif random() <= 0.15 and self.HP < 0.5 and berry == False:
useSkill(3, 'random') # Seductive Gesture (900190): Magic damage (5x, MAG) to all enemies, Inflict Charm (15%) on all enemies for 2 turns
peach = True # reset next turn
berry = True # reset next turn
elif random() <= 0.20 and self.HP < 0.5:
useSkill(5, 'random') # Menacing Swarm (900192): Magic damage (3x, MAG) to all enemies, Reduce ATK by 50% for 3 turns to all enemies
peach = True # reset next turn
elif random() <= 0.30 and self.HP < 0.5:
useSkill(4, 'random') # Intense Glare (900191): Physical damage (9x, ATK) to one enemy, Inflict one random status effect (Petrify 100% and Poison, Blind, Sleep, Silence, Paralyze, Confusion and Disease 30%) to one enemy
peach = True # reset next turn
elif self.HP < 0.5:
attack('random')
peach = True # reset next turn
elif random() <= 0.15 and berry == False:
useSkill(3, 'random') # Seductive Gesture (900190): Magic damage (5x, MAG) to all enemies, Inflict Charm (15%) on all enemies for 2 turns
berry = True # reset next turn
elif random() <= 0.20:
useSkill(5, 'random') # Menacing Swarm (900192): Magic damage (3x, MAG) to all enemies, Reduce ATK by 50% for 3 turns to all enemies
elif random() <= 0.40:
useSkill(4, 'random') # Intense Glare (900191): Physical damage (9x, ATK) to one enemy, Inflict one random status effect (Petrify 100% and Poison, Blind, Sleep, Silence, Paralyze, Confusion and Disease 30%) to one enemy
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment