Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created July 21, 2020 11:31
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/b87dff0aa61f3930f337aaa11fb663a5 to your computer and use it in GitHub Desktop.
Save aEnigmatic/b87dff0aa61f3930f337aaa11fb663a5 to your computer and use it in GitHub Desktop.
Tonberry?
##
# Mission 'みんなのうらみ・覚醒級' (8997703)
#
# Battles
# * トンベリマスター, トンベリ, トンベリ
##
##
# Monster Info
##
#
# Monster トンベリマスター (212042002, 212042000)
# Race Demon
# Level 99
# Actions 30-30
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 800000000
# MP 100000
# ATK 2500
# DEF 5000
# MAG 3500
# SPR 5000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 50%
# Ice 50%
# Lightning 50%
# Water 50%
# Wind 99%
# Earth 50%
# Light 40%
# 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 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ65% (100096) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 65%
#
##
###
# Skills
###
#
# 包丁! (220168) [None]
#
# Remove all buffs from all enemies
# Instant KO (100%) to all enemies (ignores death resist)
# Unknown parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# みんなのうらみ (220169) [Magic]
#
# Magic damage (10x, MAG) to all enemies
# Unknown parameters: [0]
# Magic damage (1x, MAG) per turn to all enemies for 2 turns
# Unused parameters: [0,0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# おんねん突き (220170) [Physical]
#
# Physical damage (3.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# おんねん突き・土 (220171) [Physical]
#
# Physical earth damage (3.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# うらみの波動 (220172) [Magic]
#
# Magic damage (9x, MAG) to all enemies
# Unknown parameters: [0]
# Reduce resistance to Water by 200% for 6 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# うらみの波動・水 (220173) [Magic]
#
# Magic water damage (9x, MAG) to all enemies
# Unknown parameters: [0]
# Reduce resistance to Earth by 200% for 6 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# うらみの波動・土 (220174) [Magic]
#
# Magic earth damage (9x, MAG) to all enemies
# Unknown parameters: [0]
# Reduce resistance to Light by 200% for 6 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# うらみの波動・光 (220175) [Magic]
#
# Magic light damage (9x, MAG) to all enemies
# Unknown parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# のろいのランタン (220176) [None]
#
# Remove all buffs from all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# のろいの眼差し (220177) [None]
#
# Reduce DEF and SPR by 20% and ATK and MAG by 50% for 2 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 向かい風で進めないようだ (220178) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 包丁があと1歩まで迫っている……! (220179) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 包丁があと2歩まで迫っている……! (220180) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 包丁があと3歩まで迫っている……! (220181) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# トンベリマスターが1歩近づいてきた…… (220182) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# トンベリマスターが1歩近づいてきた…… (220183) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# トンベリマスターが1歩近づいてきた…… (220184) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# トンベリマスターが1歩近づいてきた…… (220185) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# トンベリマスターが1歩近づいてきた…… (220186) [None]
#
# Force all enemies to return to the battlefield
# Unknown parameters: [0]
# No effect
# Unused parameters: [1]
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif green == 4:
useSkill(1, 'random') # 包丁! (220168): Remove all buffs from all enemies, Instant KO (100%) to all enemies (ignores death resist)
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and berry == False and honey == True:
useSkill(11, 'random') # 向かい風で進めないようだ (220178): No effect
berry = True # reset next turn
honey = False # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and berry == False and honey == True:
useSkill(11, 'random') # 向かい風で進めないようだ (220178): No effect
berry = True # reset next turn
honey = False # persistent
elif unit('5:enemy:any').inBattlefield() and berry == False and green == 3:
useSkill(19, 'random') # トンベリマスターが1歩近づいてきた…… (220186): Force all enemies to return to the battlefield, No effect, No effect
green += 1
berry = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and berry == False and green == 2:
useSkill(17, 'random') # トンベリマスターが1歩近づいてきた…… (220184): No effect
green += 1
berry = True # reset next turn
honey = True # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and berry == False and green == 2:
useSkill(17, 'random') # トンベリマスターが1歩近づいてきた…… (220184): No effect
green += 1
berry = True # reset next turn
honey = True # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and berry == False and green == 1:
useSkill(16, 'random') # トンベリマスターが1歩近づいてきた…… (220183): No effect
green += 1
berry = True # reset next turn
honey = True # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and berry == False and green == 1:
useSkill(16, 'random') # トンベリマスターが1歩近づいてきた…… (220183): No effect
green += 1
berry = True # reset next turn
honey = True # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and berry == False and green == 0:
useSkill(15, 'random') # トンベリマスターが1歩近づいてきた…… (220182): No effect
green += 1
berry = True # reset next turn
honey = True # persistent
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and berry == False and green == 0:
useSkill(15, 'random') # トンベリマスターが1歩近づいてきた…… (220182): No effect
green += 1
berry = True # reset next turn
honey = True # persistent
elif berry == False and green == 3:
useSkill(18, 'random') # トンベリマスターが1歩近づいてきた…… (220185): No effect
green += 1
berry = True # reset next turn
honey = False # persistent
elif berry == False and green == 2:
useSkill(17, 'random') # トンベリマスターが1歩近づいてきた…… (220184): No effect
green += 1
berry = True # reset next turn
honey = False # persistent
elif berry == False and green == 1:
useSkill(16, 'random') # トンベリマスターが1歩近づいてきた…… (220183): No effect
green += 1
berry = True # reset next turn
honey = False # persistent
elif berry == False and green == 0:
useSkill(15, 'random') # トンベリマスターが1歩近づいてきた…… (220182): No effect
green += 1
berry = True # reset next turn
honey = False # persistent
elif unit('3:ally:2:トンベリ').is('dead') and unit('3:ally:3:トンベリ').is('dead') and once():
useSkill(2, 'random') # みんなのうらみ (220169): Magic damage (10x, MAG) to all enemies, Magic damage (1x, MAG) per turn to all enemies for 2 turns
olive = True # reset next turn
ramen = True # persistent
elif unit('3:ally:2:トンベリ').is('dead') and once() and ramen == False:
useSkill(2, 'random') # みんなのうらみ (220169): Magic damage (10x, MAG) to all enemies, Magic damage (1x, MAG) per turn to all enemies for 2 turns
olive = True # reset next turn
elif unit('3:ally:3:トンベリ').is('dead') and once() and ramen == False:
useSkill(2, 'random') # みんなのうらみ (220169): Magic damage (10x, MAG) to all enemies, Magic damage (1x, MAG) per turn to all enemies for 2 turns
olive = True # reset next turn
elif peach == False and white == 0:
useSkill(5, 'random') # うらみの波動 (220172): Magic damage (9x, MAG) to all enemies, Reduce resistance to Water by 200% for 6 turns to all enemies
white += 1
peach = True # reset next turn
elif peach == False and white == 1:
useSkill(6, 'random') # うらみの波動・水 (220173): Magic water damage (9x, MAG) to all enemies, Reduce resistance to Earth by 200% for 6 turns to all enemies
white += 1
peach = True # reset next turn
elif peach == False and white == 2:
useSkill(7, 'random') # うらみの波動・土 (220174): Magic earth damage (9x, MAG) to all enemies, Reduce resistance to Light by 200% for 6 turns to all enemies
white += 1
peach = True # reset next turn
elif peach == False and white == 3:
useSkill(8, 'random') # うらみの波動・光 (220175): Magic light damage (9x, MAG) to all enemies
white = 0
peach = True # reset next turn
elif olive == False and sushi == True:
useSkill(3, 'random') # おんねん突き (220170): Physical damage (3.5x, ATK) to one enemy
olive = True # reset next turn
sushi = False # persistent
elif olive == False and sushi == False:
useSkill(4, 'random') # おんねん突き・土 (220171): Physical earth damage (3.5x, ATK) to one enemy
olive = True # reset next turn
sushi = True # persistent
elif mango == False and self.HP < 0.7 and once():
useSkill(9, 'random') # のろいのランタン (220176): Remove all buffs from all enemies
mango = True # reset next turn
elif mango == False and self.HP < 0.5 and once():
useSkill(9, 'random') # のろいのランタン (220176): Remove all buffs from all enemies
mango = True # reset next turn
elif mango == False and self.HP < 0.3 and once():
useSkill(9, 'random') # のろいのランタン (220176): Remove all buffs from all enemies
mango = True # reset next turn
elif mango == False:
useSkill(10, 'random') # のろいの眼差し (220177): Reduce DEF and SPR by 20% and ATK and MAG by 50% for 2 turns to one enemy
mango = True # reset next turn
elif lemon == False:
wait() # No action
lemon = True # reset next turn
elif grape == False:
wait() # No action
grape = True # reset next turn
elif green == 1:
useSkill(14, 'random') # 包丁があと3歩まで迫っている……! (220181): No effect
apple = True # reset next turn
elif green == 2:
useSkill(13, 'random') # 包丁があと2歩まで迫っている……! (220180): No effect
apple = True # reset next turn
elif green == 3:
useSkill(12, 'random') # 包丁があと1歩まで迫っている……! (220179): No effect
apple = True # reset next turn
else:
wait() # No action
apple = True # reset next turn
##
# Monster Info
##
#
# Monster トンベリ (212041004, 212041000)
# Race Demon
# Level 99
# Actions 8-8
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 200000000
# MP 100000
# ATK 1000
# DEF 1000
# MAG 1000
# SPR 1000
#
#
# 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 +
#
###
###
# Passives
###
#
# 全ステ50% (100065) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# トンベリマスターのHPを回復 (220187) [None]
#
# Restore 1-3% HP to one ally
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif berry == False:
wait() # No action
berry = True # reset next turn
elif peach == False:
wait() # No action
peach = True # reset next turn
elif olive == False:
wait() # No action
olive = True # reset next turn
elif mango == False:
wait() # No action
mango = True # reset next turn
elif unit('3:ally:1:トンベリマスター').is('alive'):
useSkill(1, 'random') # トンベリマスターのHPを回復 (220187): Restore 1-3% HP to one ally
apple = True # reset next turn
else:
wait() # No action
apple = True # reset next turn
##
# Monster Info
##
#
# Monster トンベリ (212041005, 212041001)
# Race Demon
# Level 99
# Actions 8-8
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 200000000
# MP 100000
# ATK 1000
# DEF 1000
# MAG 1000
# SPR 1000
#
#
# 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 +
#
###
###
# Passives
###
#
# 全ステ50% (100065) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# アスピル (220188) [Magic]
#
# Magic damage (0.05x, MAG) as MP drain (15%) to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif berry == False:
wait() # No action
berry = True # reset next turn
elif peach == False:
wait() # No action
peach = True # reset next turn
elif olive == False:
wait() # No action
olive = True # reset next turn
elif mango == False:
wait() # No action
mango = True # reset next turn
else:
useSkill(1, 'random') # アスピル (220188): Magic damage (0.05x, MAG) as MP drain (15%) to one enemy
apple = True # reset next turn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment