Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created August 22, 2020 12:00
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/963c7809645e3ef4da974dcd93383a6e to your computer and use it in GitHub Desktop.
Save aEnigmatic/963c7809645e3ef4da974dcd93383a6e to your computer and use it in GitHub Desktop.
Challenge of the Brave: Guardians of the Planet
##
# Mission 'Challenge of the Brave: Guardians of the Planet - INT' (31520101)
#
# Battles
# * Necrolizard
##
##
# Monster Info
##
#
# Monster Necrolizard (312059000)
# Race Reaper
# Level 80
# Actions 9-9
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 50000000
# MP 20000
# ATK 750
# DEF 20000
# MAG 750
# SPR 20000
#
#
# 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 (+100% / 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 +
# Unknown (7) +
#
###
# Break
###
#
# Hit points 1500 (+300 after first BREAK)
# Duration 4
#
# Damage
# Dagger 5
# Sword 5
# Great Sword 100
# Katana 5
# Staff 5
# Rod 5
# Bow 5
# Axe 5
# Hammer 5
# Spear 5
# Instrument 5
# Whip 5
# Throwing 5
# Gun 5
# Mace 5
# Fist 100
#
###
# Broken Form
###
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 0
# MP 0
# ATK 170
# DEF 100
# MAG 170
# SPR 300
#
#
# 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 +
# Unknown (7) +
#
###
###
# Skills
###
#
# Soul Rancor (219225) [Magic]
#
# Magic damage (3x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wicked Horn Flash (219226) [Physical]
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Soul Fury (219227) [Magic]
#
# Magic damage (2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Infernal Judgment (219228) [Physical]
#
# Physical fire damage (2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Soul Bind (219229) [Magic]
#
# Magic damage (2x, MAG) to all enemies
# Reduce ATK and MAG by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Earthen Burial (219230) [Physical]
#
# Physical earth damage (2x, ATK) to all enemies
# Reduce resistance to Earth by 80% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The grudges of the dead gather. (219231) [None]
#
# Increase ATK and MAG by 50% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hades's Call (219232) [Magic]
#
# Magic damage (5x, MAG) to all enemies
# Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies
# Increase ATK and MAG by 50% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Forsaken Scorched Earth (219233) [Physical]
#
# Physical fire and earth damage (5x, ATK) to all enemies
# Reduce DEF by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The necrolizard's style of attack changed. (219234) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif self.HP < 0.5 and once():
useSkill(10, 'random') # The necrolizard's style of attack changed. (219234): No effect
honey = True # persistent
elif honey == True and ramen == True:
useSkill(9, 'random') # Forsaken Scorched Earth (219233): Physical fire and earth damage (5x, ATK) to all enemies, Reduce DEF by 50% for 3 turns to all enemies
apple = True # reset next turn
ramen = False # persistent
elif honey == False and ramen == True:
useSkill(8, 'random') # Hades's Call (219232): Magic damage (5x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies, Increase ATK and MAG by 50% for 3 turns to caster
apple = True # reset next turn
ramen = False # persistent
elif green == 2:
useSkill(7, 'random') # The grudges of the dead gather. (219231): Increase ATK and MAG by 50% for 2 turns to caster
green = 0
apple = True # reset next turn
ramen = True # persistent
elif honey == True and berry == False:
useSkill(4, 'random') # Infernal Judgment (219228): Physical fire damage (2x, ATK) to all enemies
berry = True # reset next turn
elif honey == True and peach == False:
useSkill(4, 'random') # Infernal Judgment (219228): Physical fire damage (2x, ATK) to all enemies
peach = True # reset next turn
elif honey == True and green == 0 and olive == False:
useSkill(2, 'random') # Wicked Horn Flash (219226): Physical damage (3x, ATK) to one enemy
green += 1
olive = True # reset next turn
elif honey == True and green == 1 and olive == False:
useSkill(6, 'random') # Earthen Burial (219230): Physical earth damage (2x, ATK) to all enemies, Reduce resistance to Earth by 80% for 3 turns to all enemies
green += 1
olive = True # reset next turn
elif random() <= 0.50 and honey == True:
useSkill(2, 'random') # Wicked Horn Flash (219226): Physical damage (3x, ATK) to one enemy
elif honey == False and berry == False:
useSkill(3, 'random') # Soul Fury (219227): Magic damage (2x, MAG) to all enemies
berry = True # reset next turn
elif honey == False and peach == False:
useSkill(3, 'random') # Soul Fury (219227): Magic damage (2x, MAG) to all enemies
peach = True # reset next turn
elif honey == False and green == 0 and olive == False:
useSkill(1, 'random') # Soul Rancor (219225): Magic damage (3x, MAG) to one enemy
green += 1
olive = True # reset next turn
elif honey == False and green == 1 and olive == False:
useSkill(5, 'random') # Soul Bind (219229): Magic damage (2x, MAG) to all enemies, Reduce ATK and MAG by 50% for 3 turns to all enemies
green += 1
olive = True # reset next turn
elif random() <= 0.50 and honey == False:
useSkill(1, 'random') # Soul Rancor (219225): Magic damage (3x, MAG) to one enemy
else:
attack('random')
##
# Mission 'Challenge of the Brave: Guardians of the Planet - ADV' (31520102)
#
# Battles
# * Necrolizard
##
##
# Monster Info
##
#
# Monster Necrolizard (312059001, 312059000)
# Race Reaper
# Level 99
# Actions 9-9
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 150000000
# MP 10000
# ATK 1000
# DEF 20000
# MAG 1000
# SPR 20000
#
#
# 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 (+100% / 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 +
# Unknown (7) +
#
###
# Break
###
#
# Hit points 2500 (+300 after first BREAK)
# Duration 3
#
# Damage
# Dagger 5
# Sword 5
# Great Sword 100
# Katana 5
# Staff 5
# Rod 5
# Bow 5
# Axe 5
# Hammer 5
# Spear 5
# Instrument 5
# Whip 5
# Throwing 5
# Gun 5
# Mace 5
# Fist 100
#
###
# Broken Form
###
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 0
# MP 0
# ATK 500
# DEF 1000
# MAG 500
# SPR 3000
#
#
# 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 +
# Unknown (7) +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Soul Rancor (219225) [Magic]
#
# Magic damage (3x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wicked Horn Flash (219226) [Physical]
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Soul Fury (219227) [Magic]
#
# Magic damage (2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Infernal Judgment (219228) [Physical]
#
# Physical fire damage (2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Soul Bind (219229) [Magic]
#
# Magic damage (2x, MAG) to all enemies
# Reduce ATK and MAG by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Earthen Burial (219230) [Physical]
#
# Physical earth damage (2x, ATK) to all enemies
# Reduce resistance to Earth by 80% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The grudges of the dead gather. (219231) [None]
#
# Increase ATK and MAG by 50% for 2 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hades's Call (219232) [Magic]
#
# Magic damage (5x, MAG) to all enemies
# Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies
# Increase ATK and MAG by 50% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Forsaken Scorched Earth (219233) [Physical]
#
# Physical fire and earth damage (5x, ATK) to all enemies
# Reduce DEF by 50% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# The necrolizard's style of attack changed. (219234) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif self.HP < 0.5 and once():
useSkill(10, 'random') # The necrolizard's style of attack changed. (219234): No effect
honey = True # persistent
elif honey == True and ramen == True:
useSkill(9, 'random') # Forsaken Scorched Earth (219233): Physical fire and earth damage (5x, ATK) to all enemies, Reduce DEF by 50% for 3 turns to all enemies
apple = True # reset next turn
ramen = False # persistent
elif honey == False and ramen == True:
useSkill(8, 'random') # Hades's Call (219232): Magic damage (5x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies, Increase ATK and MAG by 50% for 3 turns to caster
apple = True # reset next turn
ramen = False # persistent
elif green == 2:
useSkill(7, 'random') # The grudges of the dead gather. (219231): Increase ATK and MAG by 50% for 2 turns to caster
green = 0
apple = True # reset next turn
ramen = True # persistent
elif honey == True and berry == False:
useSkill(4, 'random') # Infernal Judgment (219228): Physical fire damage (2x, ATK) to all enemies
berry = True # reset next turn
elif honey == True and peach == False:
useSkill(4, 'random') # Infernal Judgment (219228): Physical fire damage (2x, ATK) to all enemies
peach = True # reset next turn
elif honey == True and green == 0 and olive == False:
useSkill(2, 'random') # Wicked Horn Flash (219226): Physical damage (3x, ATK) to one enemy
green += 1
olive = True # reset next turn
elif honey == True and green == 1 and olive == False:
useSkill(6, 'random') # Earthen Burial (219230): Physical earth damage (2x, ATK) to all enemies, Reduce resistance to Earth by 80% for 3 turns to all enemies
green += 1
olive = True # reset next turn
elif random() <= 0.50 and honey == True:
useSkill(2, 'random') # Wicked Horn Flash (219226): Physical damage (3x, ATK) to one enemy
elif honey == False and berry == False:
useSkill(3, 'random') # Soul Fury (219227): Magic damage (2x, MAG) to all enemies
berry = True # reset next turn
elif honey == False and peach == False:
useSkill(3, 'random') # Soul Fury (219227): Magic damage (2x, MAG) to all enemies
peach = True # reset next turn
elif honey == False and green == 0 and olive == False:
useSkill(1, 'random') # Soul Rancor (219225): Magic damage (3x, MAG) to one enemy
green += 1
olive = True # reset next turn
elif honey == False and green == 1 and olive == False:
useSkill(5, 'random') # Soul Bind (219229): Magic damage (2x, MAG) to all enemies, Reduce ATK and MAG by 50% for 3 turns to all enemies
green += 1
olive = True # reset next turn
elif random() <= 0.50 and honey == False:
useSkill(1, 'random') # Soul Rancor (219225): Magic damage (3x, MAG) to one enemy
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment