Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created March 9, 2018 15:47
Show Gist options
  • Save aEnigmatic/0a273923494be642ea7ee1a2b49feb9f to your computer and use it in GitHub Desktop.
Save aEnigmatic/0a273923494be642ea7ee1a2b49feb9f to your computer and use it in GitHub Desktop.
Al Pherg - JP - Hard
##
# Mission '影従する絶望の守護者' (8980124)
# BattleScript: 898012401
##
##
# Monster Info
##
#
# Monster アルフェーグ (403021001)
# Race Aquatic, Stone
# Level 99
# Actions 12-12
#
#
# Stats
# HP 17000000
# MP 30000
# ATK 500
# DEF 500
# MAG 500
# SPR 300
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 50%
# Light 0%
# Dark 50%
# Non-Elemental 50%
#
#
# Status resist (+10% / 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
###
#
# アルフェーグ(強) (100036) [Physical]
#
# 100% chance to counter physical attacks with 影の守り手 (195040) to the attacker
#
##
#
# 水属性吸収 (100006) [Physical]
#
# Absorb Water elemental attacks
#
##
#
# 攻撃魔力50% (100025) [Physical]
#
# Increase ATK and MAG by 50%
#
##
###
# Skills
###
#
# 殻にこもる (194940) [None]
#
# Reduce physical damage taken by 99% to caster for one turn
# Reduce magic damage taken by 99% to caster for one turn
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ビッグシザース (194950) [Physical]
#
# Physical damage (13x, ATK) to all enemies
# Reduce DEF by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ミューカスバブル (194960) [Magic]
#
# Magic water damage (5x, MAG) to all enemies
# Reduce resistance to Water by 50% for 3 turns to all enemies
# Inflict Paralyze (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# アクアトルネード (194970) [Magic]
#
# Magic water and wind damage (7x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# バブルスクワッシュ (194980) [None]
#
# Magic* damage (5x, MAG) to one enemy
# Reduce SPR by 50% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# コーラル・火 (194990) [None]
#
# Add Fire element to physical attacks for 5 turn(s) to all enemies
# Set Fire resistance to 200% for 5 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# コーラル・雷 (195000) [None]
#
# Add Lightning element to physical attacks for 5 turn(s) to all enemies
# Set Lightning resistance to 200% for 5 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# コーラル・光 (195010) [None]
#
# Add Light element to physical attacks for 5 turn(s) to all enemies
# Set Light resistance to 200% for 5 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 大行進 (195020) [Physical]
#
# Physical damage (15x, ATK) to all enemies
# Reduce ATK and DEF by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# パグラスレボリュート (195030) [Magic]
#
# Magic damage (10x, MAG) to all enemies
# Reduce MAG and SPR by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 影の守り手 (195040) [Physical]
#
# Physical damage (12x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# かじりつく (195050) [None]
#
# 150% HP damage to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# アビサルゾーン (195060) [Magic]
#
# Magic damage (9x, MAG) to one enemy
# Reduce DEF by 50% for one turn to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 超水圧 (195070) [Magic]
#
# 50% HP damage to all enemies
# Inflict Stop (100%) for 2 turns on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ハイドロブレス (195080) [Magic]
#
# Magic water damage (11x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# スケールスカッター (195090) [Physical]
#
# Physical damage (5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 石化ブレス (195100) [None]
#
# Inflict Petrify (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 汚濁入水 (195110) [Magic]
#
# Magic damage (9x, MAG) to all enemies
# Inflict Poison and Disease (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 超咆哮 (195120) [Magic]
#
# Magic damage (14x, MAG) to all enemies
# Reduce ATK and MAG by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 大発狂 (195130) [Physical]
#
# Physical damage (15x, ATK) to all enemies
# Reduce DEF and SPR by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
end_turn()
elif self.HP < 0.5 and once():
useSkill(19, 'random') # 超咆哮 (195120): Magic damage (14x, MAG) to all enemies, Reduce ATK and MAG by 50% for 3 turns to all enemies
honey = True # persistent
elif honey == True and self.HP < 0.5 and once():
useSkill(20, 'random') # 大発狂 (195130): Physical damage (15x, ATK) to all enemies, Reduce DEF and SPR by 50% for 3 turns to all enemies
elif honey == True and self.HP < 0.5 and once():
useSkill(17, 'random') # 石化ブレス (195100): Inflict Petrify (100%) on all enemies
apple = True # reset next turn
elif honey == True and self.HP < 0.3 and once():
useSkill(14, 'random') # 超水圧 (195070): 50% HP damage to all enemies, Inflict Stop (100%) for 2 turns on all enemies
elif honey == True and self.HP < 0.3 and once():
useSkill(15, 'random') # ハイドロブレス (195080): Magic water damage (11x, MAG) to all enemies
elif honey == True and self.HP < 0.3 and once():
useSkill(17, 'random') # 石化ブレス (195100): Inflict Petrify (100%) on all enemies
apple = True # reset next turn
elif honey == True and self.HP < 0.2 and once():
useSkill(19, 'random') # 超咆哮 (195120): Magic damage (14x, MAG) to all enemies, Reduce ATK and MAG by 50% for 3 turns to all enemies
elif honey == True and self.HP < 0.2 and once():
useSkill(19, 'random') # 超咆哮 (195120): Magic damage (14x, MAG) to all enemies, Reduce ATK and MAG by 50% for 3 turns to all enemies
elif honey == True and self.HP < 0.2 and once():
useSkill(19, 'random') # 超咆哮 (195120): Magic damage (14x, MAG) to all enemies, Reduce ATK and MAG by 50% for 3 turns to all enemies
apple = True # reset next turn
elif honey == True and isTurnMod(2) and berry == False:
useSkill(12, 'hp_max') # かじりつく (195050): 150% HP damage to one enemy
berry = True # reset next turn
elif random() <= 0.33 and honey == True and self.HP < 0.2 and olive == False:
useSkill(14, 'random') # 超水圧 (195070): 50% HP damage to all enemies, Inflict Stop (100%) for 2 turns on all enemies
olive = True # reset next turn
elif random() <= 0.50 and honey == True and self.HP < 0.2 and olive == False:
useSkill(15, 'random') # ハイドロブレス (195080): Magic water damage (11x, MAG) to all enemies
olive = True # reset next turn
elif honey == True and self.HP < 0.2 and olive == False:
useSkill(16, 'random') # スケールスカッター (195090): Physical damage (5x, ATK) to all enemies
olive = True # reset next turn
elif random() <= 0.33 and honey == True and peach == False:
useSkill(14, 'random') # 超水圧 (195070): 50% HP damage to all enemies, Inflict Stop (100%) for 2 turns on all enemies
peach = True # reset next turn
elif random() <= 0.50 and honey == True and peach == False:
useSkill(15, 'random') # ハイドロブレス (195080): Magic water damage (11x, MAG) to all enemies
peach = True # reset next turn
elif honey == True and peach == False:
useSkill(18, 'random') # 汚濁入水 (195110): Magic damage (9x, MAG) to all enemies, Inflict Poison and Disease (100%) on all enemies
peach = True # reset next turn
elif random() <= 0.30 and honey == True:
useSkill(13, 'random') # アビサルゾーン (195060): Magic damage (9x, MAG) to one enemy, Reduce DEF by 50% for one turn to one enemy
elif honey == False and self.HP > 0.5 and once():
useSkill(6, 'random') # コーラル・火 (194990): Add Fire element to physical attacks for 5 turn(s) to all enemies, Set Fire resistance to 200% for 5 turns to caster
elif honey == False and self.HP > 0.5 and once():
useSkill(7, 'random') # コーラル・雷 (195000): Add Lightning element to physical attacks for 5 turn(s) to all enemies, Set Lightning resistance to 200% for 5 turns to caster
elif honey == False and self.HP > 0.5 and once():
useSkill(8, 'random') # コーラル・光 (195010): Add Light element to physical attacks for 5 turn(s) to all enemies, Set Light resistance to 200% for 5 turns to caster
elif honey == False and self.HP > 0.5 and once():
useSkill(9, 'random') # 大行進 (195020): Physical damage (15x, ATK) to all enemies, Reduce ATK and DEF by 50% for 3 turns to all enemies
elif honey == False and self.HP > 0.5 and once():
useSkill(1, 'random') # 殻にこもる (194940): Reduce physical damage taken by 99% to caster for one turn, Reduce magic damage taken by 99% to caster for one turn
apple = True # reset next turn
elif honey == False and self.HP < 0.9 and once():
useSkill(6, 'random') # コーラル・火 (194990): Add Fire element to physical attacks for 5 turn(s) to all enemies, Set Fire resistance to 200% for 5 turns to caster
elif honey == False and self.HP < 0.9 and once():
useSkill(10, 'random') # パグラスレボリュート (195030): Magic damage (10x, MAG) to all enemies, Reduce MAG and SPR by 50% for 3 turns to all enemies
berry = True # reset next turn
elif honey == False and self.HP < 0.7 and once():
useSkill(7, 'random') # コーラル・雷 (195000): Add Lightning element to physical attacks for 5 turn(s) to all enemies, Set Lightning resistance to 200% for 5 turns to caster
elif honey == False and self.HP < 0.7 and once():
useSkill(8, 'random') # コーラル・光 (195010): Add Light element to physical attacks for 5 turn(s) to all enemies, Set Light resistance to 200% for 5 turns to caster
elif honey == False and self.HP < 0.7 and once():
useSkill(9, 'random') # 大行進 (195020): Physical damage (15x, ATK) to all enemies, Reduce ATK and DEF by 50% for 3 turns to all enemies
elif honey == False and self.HP < 0.7 and once():
useSkill(10, 'random') # パグラスレボリュート (195030): Magic damage (10x, MAG) to all enemies, Reduce MAG and SPR by 50% for 3 turns to all enemies
berry = True # reset next turn
elif honey == False and berry == True:
useSkill(1, 'random') # 殻にこもる (194940): Reduce physical damage taken by 99% to caster for one turn, Reduce magic damage taken by 99% to caster for one turn
apple = True # reset next turn
elif random() <= 0.33 and honey == False and isTurnMod(4) and peach == False:
useSkill(6, 'random') # コーラル・火 (194990): Add Fire element to physical attacks for 5 turn(s) to all enemies, Set Fire resistance to 200% for 5 turns to caster
peach = True # reset next turn
elif random() <= 0.50 and honey == False and isTurnMod(4) and peach == False:
useSkill(7, 'random') # コーラル・雷 (195000): Add Lightning element to physical attacks for 5 turn(s) to all enemies, Set Lightning resistance to 200% for 5 turns to caster
peach = True # reset next turn
elif honey == False and isTurnMod(4) and peach == False:
useSkill(8, 'random') # コーラル・光 (195010): Add Light element to physical attacks for 5 turn(s) to all enemies, Set Light resistance to 200% for 5 turns to caster
peach = True # reset next turn
elif honey == False and isTurnMod(5) and olive == False:
useSkill(1, 'random') # 殻にこもる (194940): Reduce physical damage taken by 99% to caster for one turn, Reduce magic damage taken by 99% to caster for one turn
olive = True # reset next turn
elif honey == False and mango == False:
useSkill(2, 'random') # ビッグシザース (194950): Physical damage (13x, ATK) to all enemies, Reduce DEF by 50% for 3 turns to all enemies
mango = True # reset next turn
elif honey == False and isTurnMod(2) and lemon == False:
useSkill(3, 'random') # ミューカスバブル (194960): Magic water damage (5x, MAG) to all enemies, Reduce resistance to Water by 50% for 3 turns to all enemies, Inflict Paralyze (100%) on all enemies
lemon = True # reset next turn
elif honey == False and lemon == False:
useSkill(4, 'random') # アクアトルネード (194970): Magic water and wind damage (7x, MAG) to all enemies
lemon = True # reset next turn
elif honey == False and self.HP < 0.7 and grape == False:
useSkill(5, 'random') # バブルスクワッシュ (194980): Magic* damage (5x, MAG) to one enemy, Reduce SPR by 50% for 3 turns to one enemy
grape = True # reset next turn
elif honey == False and self.HP < 0.7 and melon == False:
useSkill(5, 'random') # バブルスクワッシュ (194980): Magic* damage (5x, MAG) to one enemy, Reduce SPR by 50% for 3 turns to one enemy
melon = True # reset next turn
elif random() <= 0.25 and honey == False:
useSkill(5, 'random') # バブルスクワッシュ (194980): Magic* damage (5x, MAG) to one enemy, Reduce SPR by 50% for 3 turns to one enemy
else:
attack('random')
###
# Related Skills
###
#
# 影の守り手 (195040) [Physical]
#
# Physical damage (12x, ATK) to one enemy
#
# Sealable - Unknown1 -
# Reflect - Unknown2 -
#
##
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment