Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created May 24, 2018 16:28
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/ae84a9cc30dbec2607ecdf491c66a294 to your computer and use it in GitHub Desktop.
Save aEnigmatic/ae84a9cc30dbec2607ecdf491c66a294 to your computer and use it in GitHub Desktop.
Scorn of the Brachiosaur - GL
##
# Mission 'Scorn of the Brachiosaur' (8993001)
# Enemy has first strike!
##
##
# Monster Info
##
#
# Monster Brachiosaur (307001002)
# Race Dragon
# Level 100
# Actions 4-4
#
#
# Stats
# HP 1200000
# MP 3000
# ATK 710
# DEF 560
# MAG 440
# SPR 448
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice -50%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# 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 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 0%
# Berserk? 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 真降臨ブラキオレイドス (100001) [Passive]
#
# 100% chance to counter physical attacks with カウンター (173350) to the attacker (max 5 / turn)
#
##
###
# Skills
###
#
# Snort (151230) [None]
#
# Remove one enemy from the fight
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Spin (173290) [Physical]
#
# Physical damage (5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Disaster (173300) [Magic]
#
# Inflict Blind, Sleep and Confusion (100%) on all enemies
# Magic damage (0.1x) as MP drain (100%) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Meteor (173310) [Magic]
#
# Magic damage (4x, MAG) to all enemies (ignore cover and reflect)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ultima (173320) [Magic]
#
# Magic damage (10.67x, MAG) to all enemies (ignore cover and reflect)
#
# Sealable + Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focusing magic power! (173330) [None]
#
# Reduce physical damage taken by 99% to one ally for one turn
# Reduce magic damage taken by 99% to one ally for one turn
# Increase ATK and MAG by 200% for 3 turns to one ally
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Strike (173340) [Physical]
#
# Physical damage (5x, ATK) to one enemy
# Reduce DEF and SPR by 50% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Counter (173350) [Physical]
#
# Physical damage (2x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
end_turn()
elif once():
useSkill(6, 'random') # Focusing magic power! (173330): Reduce physical damage taken by 99% to one ally for one turn, Reduce magic damage taken by 99% to one ally for one turn, Increase ATK and MAG by 200% for 3 turns to one ally
apple = True # reset next turn
honey = True # persistent
elif honey == True and berry == False:
useSkill(5, 'random') # Ultima (173320): Magic damage (10.67x, MAG) to all enemies (ignore cover and reflect)
honey = False # persistent
elif self.HP < 0.7 and once() and grape == False:
useSkill(6, 'random') # Focusing magic power! (173330): Reduce physical damage taken by 99% to one ally for one turn, Reduce magic damage taken by 99% to one ally for one turn, Increase ATK and MAG by 200% for 3 turns to one ally
grape = True # reset next turn
apple = True # reset next turn
honey = True # persistent
elif self.HP < 0.5 and once() and berry == False:
useSkill(6, 'random') # Focusing magic power! (173330): Reduce physical damage taken by 99% to one ally for one turn, Reduce magic damage taken by 99% to one ally for one turn, Increase ATK and MAG by 200% for 3 turns to one ally
berry = True # reset next turn
honey = True # persistent
elif self.HP < 0.3 and once() and berry == False:
useSkill(6, 'random') # Focusing magic power! (173330): Reduce physical damage taken by 99% to one ally for one turn, Reduce magic damage taken by 99% to one ally for one turn, Increase ATK and MAG by 200% for 3 turns to one ally
berry = True # reset next turn
honey = True # persistent
elif uses() < 2 and berry == True and peach == False:
useSkill(1, 'random') # Snort (151230): Remove one enemy from the fight
peach = True # reset next turn
apple = True # reset next turn
honey = True # persistent
elif isTurnMod(4) and olive == False:
useSkill(3, 'random') # Disaster (173300): Inflict Blind, Sleep and Confusion (100%) on all enemies, Magic damage (0.1x) as MP drain (100%) to all enemies
olive = True # reset next turn
elif isTurnMod(4) and mango == False:
useSkill(4, 'random') # Meteor (173310): Magic damage (4x, MAG) to all enemies (ignore cover and reflect)
mango = True # reset next turn
elif isTurnMod(2) and mango == False and lemon == False:
useSkill(2, 'random') # Spin (173290): Physical damage (5x, ATK) to all enemies
lemon = True # reset next turn
elif random() <= 0.20 and mango == False and lemon == False:
useSkill(7, 'random') # Strike (173340): Physical damage (5x, ATK) to one enemy, Reduce DEF and SPR by 50% for 3 turns to one enemy
lemon = 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