Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CNY 2019 - Yearning for Peace - LGD
##
# Mission 'Yearning for Peace - LGD' (9550106)
#
# Battles
# * Big Bear, Big Bear
# * Angry Jade, Angry Jade
# * Chimera
# * Golden Bomb, Golden Bomb, Golden Bomb
# * Kanshou, Bakuya
##
##
# Monster Info
##
#
# Monster Angry Jade (900010595)
# Race Beast
# Level 80
# Actions 1-1
#
#
# Stats
# HP 780000
# MP 300
# ATK 435
# DEF 80
# MAG 380
# SPR 70
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 50%
# Water 0%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+80% / application)
# Poison 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 0%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death -
# Gravity -
#
###
###
# Skills
###
#
# Protect (130090) [Magic]
#
# Increase DEF by 20% for 3 turns to one ally
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# Charge (151390) [Physical]
#
# Physical damage (2x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.70:
useRandomSkill('random')
else:
attack('random')
##
# Monster Info
##
#
# Monster Chimera (900010597)
# Race Beast
# Level 80
# Actions 1-3
#
#
# Stats
# HP 820000
# MP 300
# ATK 378
# DEF 80
# MAG 300
# SPR 70
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 100%
# Ice 100%
# Lightning 100%
# 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 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Aqua Breath (140080) [Magic]
#
# Magic water damage (1.4x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Frost Blast (150630) [Magic]
#
# 25% HP damage to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Romp (150640) [Physical]
#
# Physical damage (1.3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if isTurnMod(4) and once():
useSkill(1, 'random') # Aqua Breath (140080): Magic water damage (1.4x, MAG) to all enemies
elif random() <= 0.50:
useSkill(2, 'random') # Frost Blast (150630): 25% HP damage to one enemy
elif random() <= 0.70:
useSkill(3, 'random') # Romp (150640): Physical damage (1.3x, ATK) to one enemy
else:
attack('random')
##
# Monster Info
##
#
# Monster Kanshou (900010602)
# Race Dragon
# Level 99
# Actions 5-5
#
#
# Stats
# HP 2800000
# MP 500
# ATK 350
# DEF 250
# MAG 100
# SPR 250
#
#
# Damage resist
# physical 0%
# magical 50%
#
#
# 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 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Black Mist (900133) [Magic]
#
# Magic damage (3x, MAG) to all enemies
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Savage Bite (900135) [Physical]
#
# Physical damage (8x, ATK) to one enemy
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Tail Swipe (900136) [Physical]
#
# Physical damage (3x, ATK) to all enemies
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Kanshou's Wrath (900137) [Hybrid]
#
# Grant Kanshou's Wrath (910805) to one enemy for one turn
# Reduce DEF by 90% for 2 turns to one enemy
# Remove DEF debuff from caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# You gained a skill! (900139) [Hybrid]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Use the dragon's favor to your advantage! (900140) [Hybrid]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.30 and apple == False:
useSkill(1, 'random') # Black Mist (900133): Magic damage (3x, MAG) to all enemies
apple = True # reset next turn
elif random() <= 0.30 and apple == False:
useSkill(2, 'random') # Savage Bite (900135): Physical damage (8x, ATK) to one enemy
apple = True # reset next turn
elif random() <= 0.40 and apple == False:
useSkill(3, 'random') # Tail Swipe (900136): Physical damage (3x, ATK) to all enemies
apple = True # reset next turn
elif random() <= 0.30 and berry == False:
useSkill(1, 'random') # Black Mist (900133): Magic damage (3x, MAG) to all enemies
berry = True # reset next turn
elif random() <= 0.30 and berry == False:
useSkill(2, 'random') # Savage Bite (900135): Physical damage (8x, ATK) to one enemy
berry = True # reset next turn
elif random() <= 0.40 and berry == False:
useSkill(3, 'random') # Tail Swipe (900136): Physical damage (3x, ATK) to all enemies
berry = True # reset next turn
elif peach == False:
useSkill(4, 'random') # Kanshou's Wrath (900137): Grant Kanshou's Wrath (910805) to one enemy for one turn, Reduce DEF by 90% for 2 turns to one enemy, Remove DEF debuff from caster
peach = True # reset next turn
elif grape == False:
useSkill(5, 'random') # You gained a skill! (900139): No effect
grape = True # reset next turn
elif melon == False:
useSkill(6, 'random') # Use the dragon's favor to your advantage! (900140): No effect
melon = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster Bakuya (900010603)
# Race Dragon
# Level 99
# Actions 5-5
#
#
# Stats
# HP 2800000
# MP 500
# ATK 200
# DEF 250
# MAG 300
# SPR 250
#
#
# Damage resist
# physical 50%
# 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 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# White Mist (900134) [Magic]
#
# Magic damage (4.5x, MAG) to all enemies
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Savage Bite (900135) [Physical]
#
# Physical damage (8x, ATK) to one enemy
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Tail Swipe (900136) [Physical]
#
# Physical damage (3x, ATK) to all enemies
#
# Sealable + Unknown1 -
# Reflect - Unknown2 -
#
##
#
# Bakuya's Vengeance (900138) [Hybrid]
#
# Grant Bakuya's Vengence (910806) to one enemy for one turn
# Reduce SPR by 90% for 2 turns to one enemy
# Remove SPR debuff from caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# You gained a skill! (900139) [Hybrid]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Use the dragon's favor to your advantage! (900140) [Hybrid]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.30 and olive == False:
useSkill(3, 'random') # Tail Swipe (900136): Physical damage (3x, ATK) to all enemies
olive = True # reset next turn
elif random() <= 0.30 and olive == False:
useSkill(2, 'random') # Savage Bite (900135): Physical damage (8x, ATK) to one enemy
olive = True # reset next turn
elif random() <= 0.40 and olive == False:
useSkill(1, 'random') # White Mist (900134): Magic damage (4.5x, MAG) to all enemies
olive = True # reset next turn
elif random() <= 0.30 and mango == False:
useSkill(3, 'random') # Tail Swipe (900136): Physical damage (3x, ATK) to all enemies
mango = True # reset next turn
elif random() <= 0.30 and mango == False:
useSkill(2, 'random') # Savage Bite (900135): Physical damage (8x, ATK) to one enemy
mango = True # reset next turn
elif random() <= 0.40 and mango == False:
useSkill(1, 'random') # White Mist (900134): Magic damage (4.5x, MAG) to all enemies
mango = True # reset next turn
elif lemon == False:
useSkill(4, 'random') # Bakuya's Vengeance (900138): Grant Bakuya's Vengence (910806) to one enemy for one turn, Reduce SPR by 90% for 2 turns to one enemy, Remove SPR debuff from caster
lemon = True # reset next turn
elif grape == False:
useSkill(5, 'random') # You gained a skill! (900139): No effect
grape = True # reset next turn
elif melon == False:
useSkill(6, 'random') # Use the dragon's favor to your advantage! (900140): No effect
melon = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster Big Bear (900010592)
# Race Beast
# Level 80
# Actions 1-1
#
#
# Stats
# HP 720000
# MP 300
# ATK 478
# DEF 80
# MAG 225
# SPR 70
#
#
# 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 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death -
# Gravity -
#
###
###
# Skills
###
#
# Hose (173460) [Physical]
#
# Physical damage (3x, ATK) to one enemy
# Reduce DEF by 50% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.70:
useRandomSkill('random')
else:
attack('random')
##
# Monster Info
##
#
# Monster Golden Bomb (900010604)
# Race Demon
# Level 6
# Actions 1-1
#
#
# Stats
# HP 700
# MP 39
# ATK 34
# DEF 20
# MAG 30
# SPR 20
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 50%
# Ice -50%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+10% / application)
# Poison 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# AI
###
if True:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.