Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created March 1, 2019 13:26
Show Gist options
  • Save aEnigmatic/059708a4e8ac1dc5abdd30b5f4f701f2 to your computer and use it in GitHub Desktop.
Save aEnigmatic/059708a4e8ac1dc5abdd30b5f4f701f2 to your computer and use it in GitHub Desktop.
FF1 MK - Blue Dragon
##
# Mission 'FF1wave・極級' (8760104)
#
# Battles
# * ブルードラゴン
##
##
# Monster Info
##
#
# Monster ブルードラゴン (307211014)
# Race Dragon
# Level 99
# Actions 7-7
#
#
# Stats
# HP 60000000
# MP 100000
# ATK 1100
# DEF 350
# MAG 910
# SPR 280
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 50%
# Water 0%
# Wind 0%
# Earth 50%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# いなずま (216375) [Magic]
#
# Magic lightning damage (1.7x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# らいげき (216376) [Magic]
#
# Magic lightning damage (1.7x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# かみつく (216377) [Physical]
#
# Physical damage (1.8x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# とっしん (216378) [Physical]
#
# Physical damage (1.6x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# かみなりよび (216379) [None]
#
# Increase ATK, DEF, MAG and SPR by 30% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if honey == True:
endTurn()
honey = False # persistent
elif self.HP < 0.5 and once():
useSkill(5, 'random') # かみなりよび (216379): Increase ATK, DEF, MAG and SPR by 30% for 3 turns to caster
ramen = True # persistent
honey = True # persistent
elif ramen == True and once():
useSkill(1, 'random') # いなずま (216375): Magic lightning damage (1.7x, MAG) to all enemies
honey = True # persistent
elif random() <= 0.50 and ramen == True and apple == False:
useSkill(1, 'random') # いなずま (216375): Magic lightning damage (1.7x, MAG) to all enemies
apple = True # reset next turn
elif ramen == True and apple == False:
useSkill(4, 'random') # とっしん (216378): Physical damage (1.6x, ATK) to all enemies
apple = True # reset next turn
elif random() <= 0.20 and ramen == False and isTurnMod(2) and apple == False:
useSkill(1, 'random') # いなずま (216375): Magic lightning damage (1.7x, MAG) to all enemies
apple = True # reset next turn
elif ramen == False and isTurnMod(2) and apple == False:
useSkill(4, 'random') # とっしん (216378): Physical damage (1.6x, ATK) to all enemies
apple = True # reset next turn
elif random() <= 0.30 and berry == False:
useSkill(2, 'random') # らいげき (216376): Magic lightning damage (1.7x, MAG) to one enemy
berry = True # reset next turn
elif random() <= 0.10 and olive == False:
useSkill(2, 'random') # らいげき (216376): Magic lightning damage (1.7x, MAG) to one enemy
olive = True # reset next turn
elif random() <= 0.30 and peach == False:
useSkill(3, 'random') # かみつく (216377): Physical damage (1.8x, ATK) to one enemy
peach = 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