Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created December 27, 2019 06:15
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/9de5ddf5ee70288223a94068b0235d04 to your computer and use it in GitHub Desktop.
Save aEnigmatic/9de5ddf5ee70288223a94068b0235d04 to your computer and use it in GitHub Desktop.
SBB - Ardyn
##
# Mission 'Ardyn' (9091107)
# Enemy has first strike!
# BattleScript: 909110701
#
# Battles
# * Ardyn
##
##
# Monster Info
##
#
# Monster Ardyn (305611000)
# Race Human
# Level 99
# Actions 12-12
#
#
# Stats
# HP 306000000
# MP 155000
# ATK 1130
# DEF 1500
# MAG 800
# SPR 1540
#
#
# 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 +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# No place in the battle of kings! (216744) [None]
#
# Inflict Paralyze (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Let it be done! (216745) [None]
#
# Reduce damage taken by 100% to caster for one turn
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dark Aura (216746) [None]
#
# Increase ATK and MAG by 100% for 10 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Warp-Strike (216747) [Physical]
#
# Physical damage (4x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Raise Weapon (216748) [Magic]
#
# Magic damage (30x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Royal Retribution (216749) [Hybrid]
#
# Hybrid damage (40x, ATK & MAG) to all enemies
# Unused parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Spectral Charge (216750) [None]
#
# Restore 15% HP to caster
# Increase ATK by 50% for 999 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
white = 0
elif white == 8:
endTurn()
white = 0
elif once():
useSkill(1, 'random') # No place in the battle of kings! (216744): Inflict Paralyze (100%) on all enemies
white += 1
apple = True # reset next turn
elif self.HP < 0.5 and once():
useSkill(3, 'random') # Dark Aura (216746): Increase ATK and MAG by 100% for 10 turns to caster
white += 1
green += 1
apple = True # reset next turn
elif self.HP < 0.1 and once():
useSkill(7, 'random') # Spectral Charge (216750): Restore 15% HP to caster, Increase ATK by 50% for 999 turns to caster (can not be removed)
white += 1
green += 1
berry = True # reset next turn
elif green == 2:
attack('random')
elif green == 1 and isTurnMod(1) and peach == False:
useSkill(6, 'random') # Royal Retribution (216749): Hybrid damage (40x, ATK & MAG) to all enemies
white += 1
peach = True # reset next turn
elif green == 1 and isTurnMod(3) and olive == False:
useSkill(6, 'random') # Royal Retribution (216749): Hybrid damage (40x, ATK & MAG) to all enemies
white += 1
olive = True # reset next turn
elif green == 0 and isTurnMod(4) and berry == False:
useSkill(2, 'random') # Let it be done! (216745): Reduce damage taken by 100% to caster for one turn
white += 1
berry = True # reset next turn
elif green == 0 and isTurnMod(1) and peach == False:
useSkill(5, 'random') # Raise Weapon (216748): Magic damage (30x, MAG) to all enemies
white += 1
peach = True # reset next turn
else:
useSkill(4, 'random') # Warp-Strike (216747): Physical damage (4x, ATK) to one enemy
white += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment