Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active July 2, 2019 01:03
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/dbfc033c23e3702064417269cc6d5ba4 to your computer and use it in GitHub Desktop.
Save aEnigmatic/dbfc033c23e3702064417269cc6d5ba4 to your computer and use it in GitHub Desktop.
Necron / Eternal Darkness (FF 9 Series Advent) [AI only]
##
# Mission '永遠の闇' (9091109)
# Enemy has first strike!
# BattleScript: 909110901
#
# Battles
# * 永遠の闇
##
##
# Monster Info
##
#
# Monster 永遠の闇 (408071000)
# Race Avian
# Level 99
# Actions 5-5
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 356000000
# MP 155000
# ATK 2200
# DEF 1600
# MAG 1550
# SPR 1640
#
#
# 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
###
#
# グランドクロス (216861) [Magic]
#
# Magic damage (32x, MAG) to all enemies
# Inflict one random status effect (100%) to all enemies
# Unused parameters: [1]
# Inflict berserk (+100% ATK) on one enemy for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ニュートンリング (216862) [Magic]
#
# Magic damage (32x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 青の衝撃 (216863) [None]
#
# 99% HP damage to one enemy
# Unknown parameters: [99,100]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ホーリー (216864) [Magic]
#
# Magic light damage (10x, MAG) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# メテオ (216865) [Magic]
#
# Magic damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ファイガ (216866) [Magic]
#
# Magic fire damage (8x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# サンダガ (216867) [Magic]
#
# Magic lightning damage (8x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# ブリザガ (216868) [Magic]
#
# Magic ice damage (8x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# ケアルガ (216869) [Magic]
#
# Restore 10% HP to all allies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# 円環の回転速度が上がった! (216870) [None]
#
# Reduce damage taken by 99% to caster for one turn
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if honey == True and ramen == True and apple == True:
endTurn()
ramen = False # persistent
honey = False # persistent
elif apple == True:
endTurn()
elif isTurn(1) and once():
useSkill(3, 'slot:1') # 青の衝撃 (216863): 99% HP damage to one enemy
elif isTurn(1) and once():
useSkill(3, 'slot:2') # 青の衝撃 (216863): 99% HP damage to one enemy
elif isTurn(1) and once():
useSkill(3, 'slot:3') # 青の衝撃 (216863): 99% HP damage to one enemy
apple = True # reset next turn
elif green == 3 and berry == True:
useSkill(9, 'random') # ケアルガ (216869): Restore 10% HP to all allies
green = 0
apple = True # reset next turn
elif green == 2 and berry == False:
useSkill(1, 'random') # グランドクロス (216861): Magic damage (32x, MAG) to all enemies, Inflict one random status effect (100%) to all enemies, Inflict berserk (+100% ATK) on one enemy for 3 turns
green += 1
berry = True # reset next turn
elif honey == True and berry == False:
useSkill(2, 'random') # ニュートンリング (216862): Magic damage (32x, MAG) to all enemies
green += 1
berry = True # reset next turn
apple = True # reset next turn
ramen = True # persistent
elif self.HP < 0.5 and isTurnMod(5) and berry == False:
useSkill(10, 'random') # 円環の回転速度が上がった! (216870): Reduce damage taken by 99% to caster for one turn
green += 1
berry = True # reset next turn
apple = True # reset next turn
honey = True # persistent
elif self.HP > 0.5 and isTurnMod(8) and berry == False:
useSkill(10, 'random') # 円環の回転速度が上がった! (216870): Reduce damage taken by 99% to caster for one turn
green += 1
berry = True # reset next turn
apple = True # reset next turn
honey = True # persistent
elif black == 1 and lemon == False:
useSkill(3, 'random') # 青の衝撃 (216863): 99% HP damage to one enemy
black = 0
grape = True # reset next turn
lemon = True # reset next turn
elif lemon == False:
useSkill(4, 'random') # ホーリー (216864): Magic light damage (10x, MAG) to one enemy
lemon = True # reset next turn
elif grape == False:
useSkill(4, 'random') # ホーリー (216864): Magic light damage (10x, MAG) to one enemy
black += 1
grape = True # reset next turn
elif white == 8 and olive == False:
useSkill(8, 'random') # ブリザガ (216868): Magic ice damage (8x, MAG) to all enemies
olive = True # reset next turn
elif white == 8 and mango == False:
useSkill(5, 'random') # メテオ (216865): Magic damage (10x, MAG) to all enemies
white = 0
mango = True # reset next turn
elif white == 7 and olive == False:
useSkill(8, 'random') # ブリザガ (216868): Magic ice damage (8x, MAG) to all enemies
olive = True # reset next turn
elif white == 7 and mango == False:
useSkill(8, 'random') # ブリザガ (216868): Magic ice damage (8x, MAG) to all enemies
white += 1
mango = True # reset next turn
elif white == 6 and olive == False:
useSkill(8, 'random') # ブリザガ (216868): Magic ice damage (8x, MAG) to all enemies
olive = True # reset next turn
elif white == 6 and mango == False:
useSkill(8, 'random') # ブリザガ (216868): Magic ice damage (8x, MAG) to all enemies
white += 1
mango = True # reset next turn
elif white == 5 and olive == False:
useSkill(7, 'random') # サンダガ (216867): Magic lightning damage (8x, MAG) to all enemies
olive = True # reset next turn
elif white == 5 and mango == False:
useSkill(5, 'random') # メテオ (216865): Magic damage (10x, MAG) to all enemies
white += 1
mango = True # reset next turn
elif white == 4 and olive == False:
useSkill(7, 'random') # サンダガ (216867): Magic lightning damage (8x, MAG) to all enemies
olive = True # reset next turn
elif white == 4 and mango == False:
useSkill(7, 'random') # サンダガ (216867): Magic lightning damage (8x, MAG) to all enemies
white += 1
mango = True # reset next turn
elif white == 3 and olive == False:
useSkill(7, 'random') # サンダガ (216867): Magic lightning damage (8x, MAG) to all enemies
olive = True # reset next turn
elif white == 3 and mango == False:
useSkill(7, 'random') # サンダガ (216867): Magic lightning damage (8x, MAG) to all enemies
white += 1
mango = True # reset next turn
elif white == 2 and olive == False:
useSkill(6, 'random') # ファイガ (216866): Magic fire damage (8x, MAG) to all enemies
olive = True # reset next turn
elif white == 2 and mango == False:
useSkill(5, 'random') # メテオ (216865): Magic damage (10x, MAG) to all enemies
white += 1
mango = True # reset next turn
elif white == 1 and olive == False:
useSkill(6, 'random') # ファイガ (216866): Magic fire damage (8x, MAG) to all enemies
olive = True # reset next turn
elif white == 1 and mango == False:
useSkill(6, 'random') # ファイガ (216866): Magic fire damage (8x, MAG) to all enemies
white += 1
mango = True # reset next turn
elif white == 0 and olive == False:
useSkill(6, 'random') # ファイガ (216866): Magic fire damage (8x, MAG) to all enemies
olive = True # reset next turn
elif white == 0 and mango == False:
useSkill(6, 'random') # ファイガ (216866): Magic fire damage (8x, MAG) to all enemies
white += 1
mango = True # reset next turn
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment