Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created November 18, 2019 02: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/90f8d039388fdc10de87d9d169df3cb3 to your computer and use it in GitHub Desktop.
Save aEnigmatic/90f8d039388fdc10de87d9d169df3cb3 to your computer and use it in GitHub Desktop.
Scorn of the Legendary Stag
##
# Mission 'Scorn of the Legendary Stag' (8975101)
# Enemy has first strike!
#
# Battles
# * Elafikeras
##
##
# Monster Info
##
#
# Monster Elafikeras (410001003)
# Race Beast, Stone
# Level 99
# Actions 10-10
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 280000000
# MP 100000
# ATK 1020
# DEF 900
# MAG 1020
# SPR 750
#
#
# 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 (+25% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 50%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 物理・魔法カウンター(エラフィケラス真降臨) (100068) [Passive]
#
# 100% chance to counter physical attacks with Raging Buck (214660) to the attacker (max 3 / turn)
# 100% chance to counter magic attacks with Glowing Horn (214670) to the attacker (max 3 / turn)
#
##
#
# 攻撃魔力50% (100025) [Passive]
#
# Increase ATK and MAG by 50%
#
##
###
# Skills
###
#
# Sparkling Horn (214570) [Magic]
#
# Restore 9000 (+1x, Heal) MP split over 10 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The giant horn drains all! (214580) [Magic]
#
# Magic damage (5x, MAG) as MP drain (500%) to all enemies
# Fixed* damage (99999) to all enemies
# Restore 100% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lightspeed Destrudo (214590) [None]
#
# Instant KO (100%) to all enemies (ignores death resist)
# Remove all buffs and debuffs from all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Multi Horn (214600) [Physical]
#
# Physical damage (3.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Demon's Stone (214610) [Magic]
#
# Magic damage (3.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Menacing Stampede (214620) [None]
#
# Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Charge (214630) [Physical]
#
# Physical damage (2.2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Splendor of Deflection (214640) [None]
#
# Reduce physical damage taken by 100% to caster for one turn (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Splendor of Obliteration (214650) [None]
#
# Reduce magic damage taken by 100% to caster for one turn (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Raging Buck (214660) [Physical]
#
# Physical damage (0.9x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Glowing Horn (214670) [Magic]
#
# Magic damage (0.9x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(1, 'random') # Sparkling Horn (214570): Restore 9000 (+1x, Heal) MP split over 10 turns to all enemies
green += 1
apple = True # reset next turn
elif self.HP < 0.3 and once():
useSkill(6, 'random') # Menacing Stampede (214620): Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies
elif green == 4 and melon == False:
useSkill(8, 'random') # Splendor of Deflection (214640): Reduce physical damage taken by 100% to caster for one turn (can not be removed)
melon = True # reset next turn
elif green == 7 and guava == False:
useSkill(9, 'random') # Splendor of Obliteration (214650): Reduce magic damage taken by 100% to caster for one turn (can not be removed)
guava = True # reset next turn
elif green >= 10 and gourd == False:
useSkill(3, 'random') # Lightspeed Destrudo (214590): Instant KO (100%) to all enemies (ignores death resist), Remove all buffs and debuffs from all enemies
gourd = True # reset next turn
honey = True # persistent
elif honey == True and berry == False:
useSkill(2, 'random') # The giant horn drains all! (214580): Magic damage (5x, MAG) as MP drain (500%) to all enemies, Fixed* damage (99999) to all enemies, Restore 100% HP to caster
berry = True # reset next turn
elif honey == True and peach == False:
useSkill(2, 'random') # The giant horn drains all! (214580): Magic damage (5x, MAG) as MP drain (500%) to all enemies, Fixed* damage (99999) to all enemies, Restore 100% HP to caster
peach = True # reset next turn
apple = True # reset next turn
elif self.HP < 0.75 and olive == False and conditionNotImplemented('before_turn_limit_attack:0'):
useSkill(5, 'random') # Demon's Stone (214610): Magic damage (3.5x, MAG) to all enemies
olive = True # reset next turn
elif self.HP < 0.5 and mango == False and conditionNotImplemented('before_turn_limit_attack:0'):
useSkill(4, 'random') # Multi Horn (214600): Physical damage (3.5x, ATK) to all enemies
mango = True # reset next turn
elif self.HP < 0.75 and lemon == False:
useSkill(5, 'random') # Demon's Stone (214610): Magic damage (3.5x, MAG) to all enemies
lemon = True # reset next turn
elif self.HP < 0.5 and grape == False:
useSkill(4, 'random') # Multi Horn (214600): Physical damage (3.5x, ATK) to all enemies
grape = True # reset next turn
else:
useSkill(7, 'random') # Charge (214630): Physical damage (2.2x, ATK) to all enemies
green += 1
apple = True # reset next turn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment