Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created August 9, 2019 16:46
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/0aa0bdc4896f75d02074a0651af30be7 to your computer and use it in GitHub Desktop.
Save aEnigmatic/0aa0bdc4896f75d02074a0651af30be7 to your computer and use it in GitHub Desktop.
Road Through Hell
##
# Mission 'Vision of Bahamut - Trial' (9750101)
# Enemy has first strike!
# BattleScript: 222010504
#
# Battles
# * Shadow Bahamut
##
##
# Monster Info
##
#
# Monster Shadow Bahamut (407031004, 407031002)
# Race Dragon
# Level 100
# Actions 4-4
#
#
# Stats
# HP 6000000
# MP 500
# ATK 480
# DEF 30
# MAG 303
# SPR 30
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 80%
# Dark 100%
# Non-Elemental 0%
#
#
# Status resist (+50% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Megaflare (157120) [Magic]
#
# Magic damage (10x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 +
#
##
#
# Frost Blast (157170) [Magic]
#
# Magic ice damage (1.8x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 +
#
##
#
# Blaze (157220) [Magic]
#
# Magic fire damage (1.6x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 +
#
##
#
# Earth Shaker (157270) [Magic]
#
# Magic earth damage (1.6x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 +
#
##
#
# Aqua Breath (157320) [Magic]
#
# Magic water damage (1.6x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 +
#
##
#
# Flash of Lightning (157370) [Magic]
#
# Magic lightning damage (1.6x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 +
#
##
#
# Icestorm (157420) [Magic]
#
# Magic ice damage (1.6x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 +
#
##
#
# Poison Breath (157470) [Magic]
#
# Inflict Poison (50%) on all enemies
# Unknown parameters: [1]
# Magic damage (1.2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 +
#
##
#
# Maelstrom (157520) [Magic]
#
# 99% HP damage to all enemies
# Unknown parameters: [99,100]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 +
#
##
#
# A massive beam of light is forming! (157900) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 +
#
##
#
# It's widely flapping its wings! (157910) [None]
#
# [Death]
# Instant KO (100%) to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 +
#
##
###
# AI
###
if apple == True:
endTurn()
elif isTurn(1) and once():
useSkill(10, 'random') # A massive beam of light is forming! (157900): No effect
apple = True # reset next turn
honey = True # persistent
elif self.HP < 0.4 and olive == False and once():
useSkill(10, 'random') # A massive beam of light is forming! (157900): No effect
green += 1
olive = True # reset next turn
elif self.HP < 0.4 and green == 1 and olive == False:
useSkill(1, 'random') # Megaflare (157120): Magic damage (10x, MAG) to all enemies
green = 0
olive = True # reset next turn
apple = True # reset next turn
elif self.HP < 0.4 and isTurnMod(3) and olive == False:
useSkill(10, 'random') # A massive beam of light is forming! (157900): No effect
green += 1
olive = True # reset next turn
elif honey == True and once():
useSkill(1, 'random') # Megaflare (157120): Magic damage (10x, MAG) to all enemies
apple = True # reset next turn
elif self.HP < 0.5 and once():
useSkill(9, 'random') # Maelstrom (157520): 99% HP damage to all enemies
apple = True # reset next turn
elif random() <= 0.25 and self.HP < 0.5 and peach == False:
useSkill(8, 'random') # Poison Breath (157470): Inflict Poison (50%) on all enemies, Magic damage (1.2x, MAG) to all enemies
peach = True # reset next turn
elif self.HP < 0.7 and once():
useSkill(8, 'random') # Poison Breath (157470): Inflict Poison (50%) on all enemies, Magic damage (1.2x, MAG) to all enemies
elif random() <= 0.25:
useSkill(3, 'random') # Blaze (157220): Magic fire damage (1.6x, MAG) to all enemies
elif random() <= 0.25:
useSkill(4, 'random') # Earth Shaker (157270): Magic earth damage (1.6x, MAG) to all enemies
elif random() <= 0.25:
useSkill(5, 'random') # Aqua Breath (157320): Magic water damage (1.6x, MAG) to all enemies
elif random() <= 0.25:
useSkill(6, 'random') # Flash of Lightning (157370): Magic lightning damage (1.6x, MAG) to all enemies
elif random() <= 0.25:
useSkill(7, 'random') # Icestorm (157420): Magic ice damage (1.6x, MAG) to all enemies
elif random() <= 0.40:
useSkill(2, 'random') # Frost Blast (157170): Magic ice damage (1.8x, MAG) to one enemy
else:
attack('random')
##
# Mission 'The Psycho Clown' (9750102)
# Enemy has first strike!
# BattleScript: 724010101
#
# Battles
# * Kefka
##
##
# Monster Info
##
#
# Monster Kefka (305081000)
# Race Human
# Level 99
# Actions 7-7
#
#
# Stats
# HP 700000
# MP 6000
# ATK 400
# DEF 5000
# MAG 350
# SPR 5000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 200%
# Ice 200%
# Lightning 200%
# Water 200%
# Wind 200%
# Earth 200%
# Light 200%
# Dark 200%
# Non-Elemental 0%
#
#
# Status resist (+50% / application)
# Poison 100%
# Blind 90%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 90%
# SPR 0%
# Stop 100%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Firaga (160760) [Magic]
#
# Magic fire damage (2.3x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Blizzaga (160770) [Magic]
#
# Magic ice damage (2.3x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Thundaga (160780) [Magic]
#
# Magic lightning damage (2.3x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Aeroga (160790) [Magic]
#
# Magic wind damage (2.3x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Kefka is skipping! (160800) [Magic]
#
# Remove all buffs and debuffs from caster
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Stonga (160810) [Magic]
#
# Magic earth damage (2.3x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Graviga (160820) [Magic]
#
# 75% HP damage to all enemies
# Unknown parameters: [75,100]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Banishga (160830) [Magic]
#
# Magic light damage (2.3x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Bioga (160840) [Magic]
#
# Magic dark damage (2.3x, MAG) to all enemies
# Inflict Poison (100%) on all enemies
# Unknown parameters: [2]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Blindga (160850) [Magic]
#
# Inflict Blind (100%) on all enemies
# Unknown parameters: [2]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Osmose (120180) [Magic]
#
# Magic damage (0.3x, MAG) as MP drain (30%) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Blizzaga Fake (160860) [Magic]
#
# Magic ice damage (2.3x, MAG) to all enemies
#
# Sealable - Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Thundaga Fake (160870) [Magic]
#
# Magic lightning damage (2.3x, MAG) to all enemies
#
# Sealable - Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Waterga Fake (160880) [Magic]
#
# Magic water damage (2.3x, MAG) to all enemies
#
# Sealable - Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Aeroga Fake (160890) [Magic]
#
# Magic wind damage (2.3x, MAG) to all enemies
#
# Sealable - Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Stonga Fake (160900) [Magic]
#
# Magic earth damage (2.3x, MAG) to all enemies
#
# Sealable - Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Banishga Fake (160910) [Magic]
#
# Magic light damage (2.3x, MAG) to all enemies
#
# Sealable - Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Puppeteer's Wheel (160920) [None]
#
# Inflict Charm (100%) on one enemy for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 +
#
##
#
# Kefka is laughing wildly! (160930) [Magic]
#
# Reduce resistance to Fire by 6000% for one turn to caster
# Unused parameters: [1]
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Kefka is laughing wildly! (160940) [Magic]
#
# Reduce resistance to Ice by 6000% for one turn to caster
# Unused parameters: [1]
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Kefka is laughing wildly! (160950) [Magic]
#
# Reduce resistance to Lightning by 6000% for one turn to caster
# Unused parameters: [1]
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Kefka is laughing wildly! (160960) [Magic]
#
# Reduce resistance to Wind by 6000% for one turn to caster
# Unused parameters: [1]
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Kefka is laughing wildly! (160970) [Magic]
#
# Reduce resistance to Water by 6000% for one turn to caster
# Unused parameters: [1]
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Kefka is laughing wildly! (160980) [Magic]
#
# Reduce resistance to Earth by 6000% for one turn to caster
# Unused parameters: [1]
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Kefka is laughing wildly! (160990) [Magic]
#
# Reduce resistance to Dark by 6000% for one turn to caster
# Unused parameters: [1]
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Kefka is laughing wildly! (161000) [Magic]
#
# Reduce resistance to Light by 6000% for one turn to caster
# Unused parameters: [1]
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# It's losing its temper! (161010) [Physical]
#
# Physical damage (4.3x, ATK) to all enemies
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Its magic power is raging! (161020) [Magic]
#
# Magic damage (5x, MAG) to all enemies
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Kefka looks sleepy! (161030) [Magic]
#
# Reduce SPR by 98% for one turn to caster
# Unused parameters: [1]
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Kefka's eyes are bloodshot! (161040) [Magic]
#
# Reduce DEF by 98% for one turn to caster
# Unused parameters: [1]
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
###
# AI
###
if green == 10 and azure == 0:
endTurn()
azure += 1
elif green == 20:
endTurn()
azure = 0
green = 0
elif pasta == True:
endTurn()
white = 0
pasta = False # persistent
elif timesExecuted() < 7:
attack('mind_min')
elif apple == False:
useSkill(5, 'random') # Kefka is skipping! (160800): Remove all buffs and debuffs from caster
mauve = 0
black = 0
apple = True # reset next turn
elif self.HP < 0.8 and once():
useSkill(27, 'random') # It's losing its temper! (161010): Physical damage (4.3x, ATK) to all enemies
pasta = True # persistent
elif self.HP < 0.6 and once():
useSkill(28, 'random') # Its magic power is raging! (161020): Magic damage (5x, MAG) to all enemies
pasta = True # persistent
elif self.HP < 0.4 and once():
useSkill(27, 'random') # It's losing its temper! (161010): Physical damage (4.3x, ATK) to all enemies
pasta = True # persistent
elif self.HP < 0.4 and once():
useSkill(28, 'random') # Its magic power is raging! (161020): Magic damage (5x, MAG) to all enemies
pasta = True # persistent
elif pizza == False and green == 8 and berry == False:
useSkill(28, 'random') # Its magic power is raging! (161020): Magic damage (5x, MAG) to all enemies
green += 1
pizza = True # persistent
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
honey = False # persistent
elif pizza == True and green == 9:
useSkill(30, 'random') # Kefka's eyes are bloodshot! (161040): Reduce DEF by 98% for one turn to caster
green += 1
sugar = False # persistent
fries = False # persistent
salad = False # persistent
steak = False # persistent
elif pizza == True and green == 18 and berry == False:
useSkill(27, 'random') # It's losing its temper! (161010): Physical damage (4.3x, ATK) to all enemies
green += 1
pizza = False # persistent
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
honey = False # persistent
elif pizza == False and green == 19:
useSkill(29, 'random') # Kefka looks sleepy! (161030): Reduce SPR by 98% for one turn to caster
green += 1
sugar = False # persistent
fries = False # persistent
salad = False # persistent
steak = False # persistent
elif random() <= 0.30 and honey == False and berry == False:
useSkill(19, 'random') # Kefka is laughing wildly! (160930): Reduce resistance to Fire by 6000% for one turn to caster
green += 1
peach = True # reset next turn
berry = True # reset next turn
honey = True # persistent
elif random() <= 0.30 and ramen == False and berry == False:
useSkill(20, 'random') # Kefka is laughing wildly! (160940): Reduce resistance to Ice by 6000% for one turn to caster
green += 1
olive = True # reset next turn
berry = True # reset next turn
ramen = True # persistent
elif random() <= 0.30 and sushi == False and berry == False:
useSkill(21, 'random') # Kefka is laughing wildly! (160950): Reduce resistance to Lightning by 6000% for one turn to caster
green += 1
mango = True # reset next turn
berry = True # reset next turn
sushi = True # persistent
elif random() <= 0.30 and bacon == False and berry == False:
useSkill(22, 'random') # Kefka is laughing wildly! (160960): Reduce resistance to Wind by 6000% for one turn to caster
green += 1
lemon = True # reset next turn
berry = True # reset next turn
bacon = True # persistent
elif random() <= 0.30 and steak == False and berry == False:
useSkill(23, 'random') # Kefka is laughing wildly! (160970): Reduce resistance to Water by 6000% for one turn to caster
green += 1
grape = True # reset next turn
berry = True # reset next turn
steak = True # persistent
elif random() <= 0.30 and salad == False and berry == False:
useSkill(24, 'random') # Kefka is laughing wildly! (160980): Reduce resistance to Earth by 6000% for one turn to caster
green += 1
melon = True # reset next turn
berry = True # reset next turn
salad = True # persistent
elif random() <= 0.30 and fries == False and berry == False:
useSkill(25, 'random') # Kefka is laughing wildly! (160990): Reduce resistance to Dark by 6000% for one turn to caster
green += 1
guava = True # reset next turn
berry = True # reset next turn
fries = True # persistent
elif random() <= 0.30 and sugar == False and berry == False:
useSkill(26, 'random') # Kefka is laughing wildly! (161000): Reduce resistance to Light by 6000% for one turn to caster
green += 1
gourd = True # reset next turn
berry = True # reset next turn
sugar = True # persistent
elif honey == False and berry == False:
useSkill(19, 'random') # Kefka is laughing wildly! (160930): Reduce resistance to Fire by 6000% for one turn to caster
green += 1
peach = True # reset next turn
berry = True # reset next turn
honey = True # persistent
elif ramen == False and berry == False:
useSkill(20, 'random') # Kefka is laughing wildly! (160940): Reduce resistance to Ice by 6000% for one turn to caster
green += 1
olive = True # reset next turn
berry = True # reset next turn
ramen = True # persistent
elif sushi == False and berry == False:
useSkill(21, 'random') # Kefka is laughing wildly! (160950): Reduce resistance to Lightning by 6000% for one turn to caster
green += 1
mango = True # reset next turn
berry = True # reset next turn
sushi = True # persistent
elif bacon == False and berry == False:
useSkill(22, 'random') # Kefka is laughing wildly! (160960): Reduce resistance to Wind by 6000% for one turn to caster
green += 1
lemon = True # reset next turn
berry = True # reset next turn
bacon = True # persistent
elif steak == False and berry == False:
useSkill(23, 'random') # Kefka is laughing wildly! (160970): Reduce resistance to Water by 6000% for one turn to caster
green += 1
grape = True # reset next turn
berry = True # reset next turn
steak = True # persistent
elif salad == False and berry == False:
useSkill(24, 'random') # Kefka is laughing wildly! (160980): Reduce resistance to Earth by 6000% for one turn to caster
green += 1
melon = True # reset next turn
berry = True # reset next turn
salad = True # persistent
elif fries == False and berry == False:
useSkill(25, 'random') # Kefka is laughing wildly! (160990): Reduce resistance to Dark by 6000% for one turn to caster
green += 1
guava = True # reset next turn
berry = True # reset next turn
fries = True # persistent
elif sugar == False and berry == False:
useSkill(26, 'random') # Kefka is laughing wildly! (161000): Reduce resistance to Light by 6000% for one turn to caster
green += 1
gourd = True # reset next turn
berry = True # reset next turn
sugar = True # persistent
elif random() <= 0.50 and peach == True:
useSkill(2, 'random') # Blizzaga (160770): Magic ice damage (2.3x, MAG) to all enemies
peach = False # reset next turn
elif peach == True:
useSkill(12, 'random') # Blizzaga Fake (160860): Magic ice damage (2.3x, MAG) to all enemies
peach = False # reset next turn
elif olive == True:
useSkill(1, 'random') # Firaga (160760): Magic fire damage (2.3x, MAG) to all enemies
olive = False # reset next turn
elif mango == True:
useSkill(14, 'random') # Waterga Fake (160880): Magic water damage (2.3x, MAG) to all enemies
mango = False # reset next turn
elif random() <= 0.50 and lemon == True:
useSkill(6, 'random') # Stonga (160810): Magic earth damage (2.3x, MAG) to all enemies
lemon = False # reset next turn
elif lemon == True:
useSkill(16, 'random') # Stonga Fake (160900): Magic earth damage (2.3x, MAG) to all enemies
lemon = False # reset next turn
elif random() <= 0.50 and grape == True:
useSkill(3, 'random') # Thundaga (160780): Magic lightning damage (2.3x, MAG) to all enemies
grape = False # reset next turn
elif grape == True:
useSkill(13, 'random') # Thundaga Fake (160870): Magic lightning damage (2.3x, MAG) to all enemies
grape = False # reset next turn
elif random() <= 0.50 and melon == True:
useSkill(4, 'random') # Aeroga (160790): Magic wind damage (2.3x, MAG) to all enemies
melon = False # reset next turn
elif melon == True:
useSkill(15, 'random') # Aeroga Fake (160890): Magic wind damage (2.3x, MAG) to all enemies
melon = False # reset next turn
elif random() <= 0.50 and guava == True:
useSkill(8, 'random') # Banishga (160830): Magic light damage (2.3x, MAG) to all enemies
guava = False # reset next turn
elif guava == True:
useSkill(17, 'random') # Banishga Fake (160910): Magic light damage (2.3x, MAG) to all enemies
guava = False # reset next turn
elif gourd == True:
useSkill(7, 'random') # Graviga (160820): 75% HP damage to all enemies
gourd = False # reset next turn
elif isTurnMod(4) and black == 0:
useSkill(11, 'random') # Osmose (120180): Magic damage (0.3x, MAG) as MP drain (30%) to one enemy
black += 1
elif random() <= 0.20 and isTurnMod(4):
useSkill(9, 'random') # Bioga (160840): Magic dark damage (2.3x, MAG) to all enemies, Inflict Poison (100%) on all enemies
elif white == 0 and isTurnMod(8):
useSkill(18, 'random') # Puppeteer's Wheel (160920): Inflict Charm (100%) on one enemy for 2 turns
white += 1
elif random() <= 0.30 and isTurnMod(3) and mauve == 0:
useSkill(10, 'random') # Blindga (160850): Inflict Blind (100%) on all enemies
mauve += 1
else:
attack('random')
##
# Mission 'The Ambitious Engineer and the Darkening Cloud' (9750103)
# Enemy has first strike!
#
# Battles
# * Doctor Cid
# * Famfrit, Doctor Cid
##
##
# Monster Info
##
#
# Monster Doctor Cid (105141000)
# Race Human
# Level 99
# Actions 9-9
#
#
# Stats
# HP 1000000
# MP 5000
# ATK 320
# DEF 52
# MAG 330
# SPR 50
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice 100%
# Lightning 100%
# Water 100%
# Wind 100%
# Earth 100%
# Light 50%
# Dark 50%
# Non-Elemental 0%
#
#
# Status resist (+30% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 70%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Protect (162010) [Magic]
#
# Increase DEF by 999% for 99 turns to one ally
# Unused parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Shell (162020) [Magic]
#
# Increase SPR by 999% for 99 turns to one ally
# Unused parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Haste (160610) [Physical]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Gatling Gun (162000) [Magic]
#
# Magic damage (2.2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if honey == False and green == 4:
endTurn()
green = 0
elif apple == True:
endTurn()
elif once():
useSkill(1, 'random') # Protect (162010): Increase DEF by 999% for 99 turns to one ally
elif once():
useSkill(2, 'random') # Shell (162020): Increase SPR by 999% for 99 turns to one ally
apple = True # reset next turn
elif self.HP < 0.5 and once():
useSkill(3, 'random') # Haste (160610): No effect
honey = True # persistent
elif self.HP < 0.5 and once():
useSkill(4, 'random') # Gatling Gun (162000): Magic damage (2.2x, MAG) to all enemies
apple = True # reset next turn
elif isTurnMod(3) and berry == False:
useSkill(1, 'random') # Protect (162010): Increase DEF by 999% for 99 turns to one ally
green += 1
berry = True # reset next turn
elif isTurnMod(3) and peach == False:
useSkill(2, 'random') # Shell (162020): Increase SPR by 999% for 99 turns to one ally
green += 1
peach = True # reset next turn
elif honey == False:
attack('random')
green += 1
else:
attack('random')
##
# Monster Info
##
#
# Monster Famfrit (304101000)
# Race Demon
# Level 99
# Actions 3-3
#
#
# Stats
# HP 2500000
# MP 10000
# ATK 450
# DEF 65
# MAG 350
# SPR 75
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -50%
# Ice 0%
# Lightning 0%
# Water 200%
# Wind 0%
# Earth 0%
# Light 100%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+50% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Famfrit has readied briny cannonade! (162040) [Physical]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Briny Cannonade (161990) [Magic]
#
# Magic water damage (6x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Waterja (161980) [Magic]
#
# Magic water damage (4x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif unit('4:ally:any').is('dead') and once():
useSkill(2, 'random') # Briny Cannonade (161990): Magic water damage (6x, MAG) to one enemy
ramen = True # persistent
elif honey == True and ramen == False:
useSkill(2, 'hp_min') # Briny Cannonade (161990): Magic water damage (6x, MAG) to one enemy
apple = True # reset next turn
honey = False # persistent
elif self.HP < 0.7 and once():
useSkill(3, 'random') # Waterja (161980): Magic water damage (4x, MAG) to all enemies
apple = True # reset next turn
elif self.HP < 0.5 and once():
useSkill(3, 'random') # Waterja (161980): Magic water damage (4x, MAG) to all enemies
apple = True # reset next turn
elif self.HP < 0.4 and once():
useSkill(3, 'random') # Waterja (161980): Magic water damage (4x, MAG) to all enemies
apple = True # reset next turn
elif ramen == True and isTurnMod(3):
useSkill(3, 'random') # Waterja (161980): Magic water damage (4x, MAG) to all enemies
apple = True # reset next turn
elif ramen == True:
useSkill(2, 'random') # Briny Cannonade (161990): Magic water damage (6x, MAG) to one enemy
elif ramen == False:
useSkill(1, 'random') # Famfrit has readied briny cannonade! (162040): No effect
apple = True # reset next turn
honey = True # persistent
else:
attack('random')
##
# Monster Info
##
#
# Monster Doctor Cid (105141001)
# Race Human
# Level 99
# Actions 13-13
#
#
# Stats
# HP 2500000
# MP 10000
# ATK 350
# DEF 70
# MAG 350
# SPR 55
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice 100%
# Lightning 100%
# Water 100%
# Wind 100%
# Earth 100%
# Light 50%
# Dark 50%
# Non-Elemental 0%
#
#
# Status resist (+30% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 70%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Protect (162010) [Magic]
#
# Increase DEF by 999% for 99 turns to one ally
# Unused parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Shell (162020) [Magic]
#
# Increase SPR by 999% for 99 turns to one ally
# Unused parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Haste (160610) [Physical]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Gatling Gun (162000) [Magic]
#
# Magic damage (2.2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Anti-Magick (162050) [Magic]
#
# Reflect all spell(s) for 3 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Doctor Cid has readied S-27 tokamak (162060) [Physical]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# S-27 Tokamak (162070) [Magic]
#
# Magic damage (2.8x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# S-85 Cyclotrone (162080) [Magic]
#
# Magic damage (3.3x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# S-27 Tokamak (162090) [Magic]
#
# Magic damage (3.3x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# S-85 Cyclotrone (162100) [Magic]
#
# Magic damage (3.6x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Gatling Gun (162110) [Magic]
#
# Magic damage (2.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
green = 0
elif honey == True and green == 12:
endTurn()
green = 0
elif honey == False and green == 8:
endTurn()
green = 0
elif once():
useSkill(1, 'random') # Protect (162010): Increase DEF by 999% for 99 turns to one ally
elif once():
useSkill(2, 'random') # Shell (162020): Increase SPR by 999% for 99 turns to one ally
elif once():
useSkill(5, 'random') # Anti-Magick (162050): Reflect all spell(s) for 3 turns to caster
apple = True # reset next turn
elif unit('2:ally:304101000:Famfrit').is('dead') and once():
useSkill(3, 'random') # Haste (160610): No effect
green += 1
honey = True # persistent
elif self.HP < 0.9 and honey == False and once():
useSkill(8, 'random') # S-85 Cyclotrone (162080): Magic damage (3.3x, MAG) to all enemies
apple = True # reset next turn
elif self.HP < 0.6 and honey == False and once():
useSkill(8, 'random') # S-85 Cyclotrone (162080): Magic damage (3.3x, MAG) to all enemies
apple = True # reset next turn
elif self.HP < 0.3 and honey == False and once():
useSkill(8, 'random') # S-85 Cyclotrone (162080): Magic damage (3.3x, MAG) to all enemies
apple = True # reset next turn
elif self.HP < 0.9 and honey == True and ramen == False and once():
useSkill(10, 'random') # S-85 Cyclotrone (162100): Magic damage (3.6x, MAG) to all enemies
apple = True # reset next turn
ramen = True # persistent
elif self.HP < 0.6 and honey == True and sushi == False and once():
useSkill(10, 'random') # S-85 Cyclotrone (162100): Magic damage (3.6x, MAG) to all enemies
apple = True # reset next turn
sushi = True # persistent
elif self.HP < 0.3 and honey == True and bacon == False and once():
useSkill(10, 'random') # S-85 Cyclotrone (162100): Magic damage (3.6x, MAG) to all enemies
apple = True # reset next turn
bacon = True # persistent
elif honey == True and steak == True and berry == False:
useSkill(9, 'random') # S-27 Tokamak (162090): Magic damage (3.3x, MAG) to all enemies
apple = True # reset next turn
steak = False # persistent
elif honey == False and steak == True and berry == False:
useSkill(7, 'random') # S-27 Tokamak (162070): Magic damage (2.8x, MAG) to all enemies
apple = True # reset next turn
steak = False # persistent
elif unit('2:ally:304101000:Famfrit').is('alive') and isTurnMod(4) and olive == False:
useSkill(1, 'random') # Protect (162010): Increase DEF by 999% for 99 turns to one ally
green += 1
olive = True # reset next turn
elif unit('2:ally:304101000:Famfrit').is('alive') and isTurnMod(4) and mango == False:
useSkill(2, 'random') # Shell (162020): Increase SPR by 999% for 99 turns to one ally
green += 1
mango = True # reset next turn
elif isTurnMod(5) and honey == True and green == 11 and berry == False:
useSkill(6, 'random') # Doctor Cid has readied S-27 tokamak (162060): No effect
green += 1
berry = True # reset next turn
steak = True # persistent
elif isTurnMod(5) and honey == False and green == 7 and berry == False:
useSkill(6, 'random') # Doctor Cid has readied S-27 tokamak (162060): No effect
green += 1
berry = True # reset next turn
steak = True # persistent
elif random() <= 0.15 and honey == True and isTurnMod(6) and peach == False:
useSkill(11, 'random') # Gatling Gun (162110): Magic damage (2.5x, MAG) to all enemies
green += 1
peach = True # reset next turn
elif random() <= 0.15 and honey == False and isTurnMod(6) and peach == False:
useSkill(4, 'random') # Gatling Gun (162000): Magic damage (2.2x, MAG) to all enemies
green += 1
peach = True # reset next turn
else:
attack('random')
green += 1
##
# Mission 'Crystal Chamber - Battle with Kain' (9750104)
# Enemy has first strike!
# BattleScript: 774010101
#
# Battles
# * Kain
##
##
# Monster Info
##
#
# Monster Kain (305261000)
# Race Human
# Level 99
# Actions 10-10
#
#
# Stats
# HP 4000000
# MP 5000
# ATK 700
# DEF 180
# MAG 480
# SPR 150
#
#
# 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 (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# DEF 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# No Need For Questions! (177380) [Physical]
#
# Physical damage (4x, ATK) to one enemy after a one turn jump delay
# Unused parameters: [0,0,1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Focus (177390) [None]
#
# Increase ATK and MAG by 50% for 3 turns to one ally
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Darkness (177400) [Magic]
#
# Magic dark damage (4x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lance (177410) [Magic]
#
# Magic damage (2.5x, MAG) as HP drain (30%) to one enemy
# Magic damage (2.5x, MAG) as MP drain (30%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ice Spear (177420) [Magic]
#
# Magic ice damage (1.4x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Copper Hourglass (177430) [Magic]
#
# Inflict Stop (100%) for 2 turns on target
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hi-Potion (177440) [None]
#
# Restore 10% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Holy Torch (177450) [Magic]
#
# Remove all buffs and debuffs from all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hermes' Shoes (177460) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Jump (177470) [Physical]
#
# Physical damage (4x, ATK) to one enemy after a one turn jump delay
# Unused parameters: [0,0,1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Doublejump (177480) [Physical]
#
# Physical damage (6x, ATK) to one enemy after a one turn jump delay
# Unused parameters: [0,0,1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if honey == False and green == 9:
endTurn()
green = 0
elif once():
useSkill(1, 'highest SPR') # No Need For Questions! (177380): Physical damage (4x, ATK) to one enemy after a one turn jump delay
elif self.HP < 0.8 and once():
useSkill(4, 'random') # Lance (177410): Magic damage (2.5x, MAG) as HP drain (30%) to one enemy, Magic damage (2.5x, MAG) as MP drain (30%) to one enemy
elif self.HP < 0.8 and once():
useSkill(2, 'random') # Focus (177390): Increase ATK and MAG by 50% for 3 turns to one ally
elif self.HP < 0.8 and once():
useSkill(10, 'random') # Jump (177470): Physical damage (4x, ATK) to one enemy after a one turn jump delay
elif self.HP < 0.6 and once():
useSkill(2, 'random') # Focus (177390): Increase ATK and MAG by 50% for 3 turns to one ally
elif self.HP < 0.6 and once():
useSkill(5, 'random') # Ice Spear (177420): Magic ice damage (1.4x, MAG) to all enemies
elif self.HP < 0.6 and once():
useSkill(7, 'random') # Hi-Potion (177440): Restore 10% HP to caster
melon = True # reset next turn
elif melon == True and once():
useSkill(10, 'random') # Jump (177470): Physical damage (4x, ATK) to one enemy after a one turn jump delay
elif self.HP < 0.4 and once():
useSkill(8, 'random') # Holy Torch (177450): Remove all buffs and debuffs from all enemies
elif self.HP < 0.4 and once():
useSkill(6, 'random') # Copper Hourglass (177430): Inflict Stop (100%) for 2 turns on target
elif self.HP < 0.4 and once():
useSkill(9, 'random') # Hermes' Shoes (177460): No effect
elif self.HP < 0.4 and once():
useSkill(7, 'random') # Hi-Potion (177440): Restore 10% HP to caster
melon = True # reset next turn
elif melon == True and once():
useSkill(11, 'random') # Doublejump (177480): Physical damage (6x, ATK) to one enemy after a one turn jump delay
honey = True # persistent
elif self.HP < 0.2 and once():
useSkill(8, 'random') # Holy Torch (177450): Remove all buffs and debuffs from all enemies
elif self.HP < 0.2 and once():
useSkill(6, 'random') # Copper Hourglass (177430): Inflict Stop (100%) for 2 turns on target
elif self.HP < 0.2 and once():
useSkill(7, 'random') # Hi-Potion (177440): Restore 10% HP to caster
melon = True # reset next turn
elif melon == True and once():
useSkill(11, 'random') # Doublejump (177480): Physical damage (6x, ATK) to one enemy after a one turn jump delay
elif isTurnMod(3) and green == 7 and berry == False:
useSkill(8, 'random') # Holy Torch (177450): Remove all buffs and debuffs from all enemies
green += 1
berry = True # reset next turn
elif isTurnMod(3) and green == 6 and lemon == False:
useSkill(2, 'random') # Focus (177390): Increase ATK and MAG by 50% for 3 turns to one ally
green += 1
lemon = True # reset next turn
elif self.HP < 0.6 and isTurnMod(2) and peach == False:
useSkill(6, 'random') # Copper Hourglass (177430): Inflict Stop (100%) for 2 turns on target
green += 1
peach = True # reset next turn
elif self.HP < 0.6 and olive == False:
useSkill(4, 'random') # Lance (177410): Magic damage (2.5x, MAG) as HP drain (30%) to one enemy, Magic damage (2.5x, MAG) as MP drain (30%) to one enemy
green += 1
olive = True # reset next turn
elif isTurnMod(3) and olive == False:
useSkill(4, 'random') # Lance (177410): Magic damage (2.5x, MAG) as HP drain (30%) to one enemy, Magic damage (2.5x, MAG) as MP drain (30%) to one enemy
green += 1
olive = True # reset next turn
elif self.HP < 0.6 and mango == False:
useSkill(3, 'random') # Darkness (177400): Magic dark damage (4x, MAG) to all enemies
green += 1
mango = True # reset next turn
elif isTurnMod(3) and mango == False:
useSkill(3, 'random') # Darkness (177400): Magic dark damage (4x, MAG) to all enemies
green += 1
mango = True # reset next turn
elif grape == False:
useSkill(5, 'random') # Ice Spear (177420): Magic ice damage (1.4x, MAG) to all enemies
green += 1
grape = True # reset next turn
else:
attack('random')
green += 1
##
# Mission 'Trial of Vengeance' (9750105)
# Enemy has first strike!
#
# Battles
# * Awakened Hasiko, Spirit, Spirit
##
##
# Monster Info
##
#
# Monster Awakened Hasiko (900010539)
# Race Demon
# Level 99
# Actions 6-6
#
#
# Stats
# HP 20000000
# MP 10000
# ATK 400
# DEF 1000
# MAG 200
# SPR 1500
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice 100%
# Lightning 100%
# Water 100%
# Wind 100%
# Earth 100%
# Light -50%
# Dark -50%
# 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 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Spirit Burn (900182) [None]
#
# Magic* damage (6x, MAG) to all enemies
# Hybrid* damage (1x, ATK & MAG) as MP drain (50%) to all enemies
# Reduce DEF, MAG and SPR by 40% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Deadly Intimidating Gaze (900195) [Magic]
#
# Magic dark damage (3x, MAG) to all enemies
# Inflict Petrify (30%) on all enemies
# Unknown parameters: [1]
# Reduce resistance to Dark by 50% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Maniacal Slash (900184) [Physical]
#
# Physical damage (3x, ATK) to all enemies
# Physical damage (1x, ATK) as HP drain (150%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Deadly Thrust (900185) [None]
#
# Physical* damage (9x, ATK) to one enemy
# Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Deadly Cursed Mind (900196) [Magic]
#
# Magic damage (5x, MAG) to one enemy
# Inflict Blind, Silence and Confusion (10%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Growl (900187) [Hybrid]
#
# Reduce magic damage taken by 100% to caster for one turn (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# I will destroy you! (900197) [Magic]
#
# Magic damage (120x, MAG) to all enemies
# Reduce resistance to Light and Dark by 300% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if unit('2:ally:900010540:Spirit').is('dead') and peach == False and once():
useSkill(7, 'random') # I will destroy you! (900197): Magic damage (120x, MAG) to all enemies, Reduce resistance to Light and Dark by 300% for 3 turns to caster
peach = True # reset next turn
elif unit('2:ally:900010541:Spirit').is('dead') and olive == False and once():
useSkill(7, 'random') # I will destroy you! (900197): Magic damage (120x, MAG) to all enemies, Reduce resistance to Light and Dark by 300% for 3 turns to caster
olive = True # reset next turn
elif once():
useSkill(1, 'random') # Spirit Burn (900182): Magic* damage (6x, MAG) to all enemies, Hybrid* damage (1x, ATK & MAG) as MP drain (50%) to all enemies, Reduce DEF, MAG and SPR by 40% for 3 turns to all enemies
elif once():
useSkill(5, 'highest SPR') # Deadly Cursed Mind (900196): Magic damage (5x, MAG) to one enemy, Inflict Blind, Silence and Confusion (10%) on one enemy
elif once():
useSkill(2, 'random') # Deadly Intimidating Gaze (900195): Magic dark damage (3x, MAG) to all enemies, Inflict Petrify (30%) on all enemies, Reduce resistance to Dark by 50% for 3 turns to all enemies
elif once():
endTurn()
elif apple == False and isTurnMod(3):
useSkill(6, 'random') # Growl (900187): Reduce magic damage taken by 100% to caster for one turn (can not be removed)
apple = True # reset next turn
elif self.HP < 0.3 and once():
useSkill(3, 'random') # Maniacal Slash (900184): Physical damage (3x, ATK) to all enemies, Physical damage (1x, ATK) as HP drain (150%) to all enemies
elif random() <= 0.10 and self.HP < 0.3:
useSkill(5, 'random') # Deadly Cursed Mind (900196): Magic damage (5x, MAG) to one enemy, Inflict Blind, Silence and Confusion (10%) on one enemy
elif random() <= 0.30 and self.HP < 0.3:
useSkill(2, 'random') # Deadly Intimidating Gaze (900195): Magic dark damage (3x, MAG) to all enemies, Inflict Petrify (30%) on all enemies, Reduce resistance to Dark by 50% for 3 turns to all enemies
elif random() <= 0.05 and self.HP < 0.3 and berry == False:
useSkill(1, 'random') # Spirit Burn (900182): Magic* damage (6x, MAG) to all enemies, Hybrid* damage (1x, ATK & MAG) as MP drain (50%) to all enemies, Reduce DEF, MAG and SPR by 40% for 3 turns to all enemies
berry = True # reset next turn
elif random() <= 0.40 and self.HP < 0.3:
useSkill(3, 'random') # Maniacal Slash (900184): Physical damage (3x, ATK) to all enemies, Physical damage (1x, ATK) as HP drain (150%) to all enemies
elif random() <= 0.30 and self.HP < 0.3:
useSkill(4, 'highest MAG') # Deadly Thrust (900185): Physical* damage (9x, ATK) to one enemy, Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
elif random() <= 0.50 and self.HP < 0.5 and once():
useSkill(5, 'highest SPR') # Deadly Cursed Mind (900196): Magic damage (5x, MAG) to one enemy, Inflict Blind, Silence and Confusion (10%) on one enemy
elif random() <= 0.10 and self.HP < 0.5:
useSkill(5, 'random') # Deadly Cursed Mind (900196): Magic damage (5x, MAG) to one enemy, Inflict Blind, Silence and Confusion (10%) on one enemy
elif random() <= 0.05 and self.HP < 0.5 and berry == False:
useSkill(1, 'random') # Spirit Burn (900182): Magic* damage (6x, MAG) to all enemies, Hybrid* damage (1x, ATK & MAG) as MP drain (50%) to all enemies, Reduce DEF, MAG and SPR by 40% for 3 turns to all enemies
berry = True # reset next turn
elif random() <= 0.20 and self.HP < 0.5:
useSkill(3, 'random') # Maniacal Slash (900184): Physical damage (3x, ATK) to all enemies, Physical damage (1x, ATK) as HP drain (150%) to all enemies
elif random() <= 0.20 and self.HP < 0.5:
useSkill(2, 'random') # Deadly Intimidating Gaze (900195): Magic dark damage (3x, MAG) to all enemies, Inflict Petrify (30%) on all enemies, Reduce resistance to Dark by 50% for 3 turns to all enemies
elif random() <= 0.10 and self.HP < 0.5:
useSkill(4, 'highest MAG') # Deadly Thrust (900185): Physical* damage (9x, ATK) to one enemy, Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
elif self.HP < 0.5:
attack('random')
elif random() <= 0.05 and berry == False:
useSkill(1, 'random') # Spirit Burn (900182): Magic* damage (6x, MAG) to all enemies, Hybrid* damage (1x, ATK & MAG) as MP drain (50%) to all enemies, Reduce DEF, MAG and SPR by 40% for 3 turns to all enemies
berry = True # reset next turn
elif random() <= 0.20:
useSkill(2, 'random') # Deadly Intimidating Gaze (900195): Magic dark damage (3x, MAG) to all enemies, Inflict Petrify (30%) on all enemies, Reduce resistance to Dark by 50% for 3 turns to all enemies
elif random() <= 0.40:
useSkill(4, 'random') # Deadly Thrust (900185): Physical* damage (9x, ATK) to one enemy, Hybrid* damage (1x, ATK & MAG) as MP drain (150%) to one enemy
else:
attack('random')
##
# Monster Info
##
#
# Monster Spirit (900010540)
# Race Reaper
# Level 50
# Actions 4-4
#
#
# Stats
# HP 50000
# MP 5000
# ATK 245
# DEF 600
# MAG 200
# SPR 650
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice 100%
# Lightning 100%
# Water 100%
# Wind 100%
# Earth 100%
# Light -50%
# Dark -50%
# Non-Elemental 0%
#
#
# Status resist (+30% / 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 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Cursed Recovery (900198) [Hybrid]
#
# Restore 5% HP to all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Malefic Sacrifice (900199) [Magic]
#
# Sacrifice 100% HP to deal 10% HP damage to all enemies
# Unused parameters: [0,0,1,1]
# Magic damage (200x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if once():
endTurn()
elif grape == False:
wait() # No action
green += 1
grape = True # reset next turn
elif random() <= 0.05 and mango == False:
useSkill(1, 'random') # Cursed Recovery (900198): Restore 5% HP to all allies
mango = True # reset next turn
elif green >= 15:
useSkill(2, 'random') # Malefic Sacrifice (900199): Sacrifice 100% HP to deal 10% HP damage to all enemies, Magic damage (200x, MAG) to all enemies
green += 1
else:
attack('random')
##
# Monster Info
##
#
# Monster Spirit (900010541, 900010540)
# Race Reaper
# Level 50
# Actions 4-4
#
#
# Stats
# HP 50000
# MP 5000
# ATK 245
# DEF 600
# MAG 200
# SPR 650
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice 100%
# Lightning 100%
# Water 100%
# Wind 100%
# Earth 100%
# Light -50%
# Dark -50%
# Non-Elemental 0%
#
#
# Status resist (+30% / 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 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Cursed Recovery (900198) [Hybrid]
#
# Restore 5% HP to all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Malefic Sacrifice (900199) [Magic]
#
# Sacrifice 100% HP to deal 10% HP damage to all enemies
# Unused parameters: [0,0,1,1]
# Magic damage (200x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if once():
endTurn()
elif grape == False:
wait() # No action
green += 1
grape = True # reset next turn
elif random() <= 0.05 and mango == False:
useSkill(1, 'random') # Cursed Recovery (900198): Restore 5% HP to all allies
mango = True # reset next turn
elif green >= 15:
useSkill(2, 'random') # Malefic Sacrifice (900199): Sacrifice 100% HP to deal 10% HP damage to all enemies, Magic damage (200x, MAG) to all enemies
green += 1
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment