Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created November 11, 2019 09: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/eadbb3b5f4bbbb58ef3a60d32ad3d6ae to your computer and use it in GitHub Desktop.
Save aEnigmatic/eadbb3b5f4bbbb58ef3a60d32ad3d6ae to your computer and use it in GitHub Desktop.
Giant Cactuar
##
# Mission '炸裂はりまんぼん・覚醒級' (8997103)
# Enemy has first strike!
#
# Battles
# * 巨大ジャボテンダー [+ ホーネット (max 99), ホーネット (max 99), ホーネット (max 99)]
##
##
# Monster Info
##
#
# Monster 巨大ジャボテンダー (511001100)
# Race Plant
# Level 99
# Actions 30-30
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 250000000
# MP 111111
# ATK 1500
# DEF 2200
# MAG 1111
# SPR 1800
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 30%
# Ice 30%
# Lightning 30%
# Water 30%
# Wind 30%
# Earth 30%
# Light 30%
# Dark 30%
# 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 +
#
###
###
# Passives
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
#
# ジャボテンダー降臨ファイナルアタック_覚醒級 (100089) [Passive]
#
# Cast ファイナルアタック (215310) and 必中・針百まんぼん (217675) upon defeat
#
##
###
# Skills
###
#
# 針千本 (217609) [Physical]
#
# Fixed* damage (1000) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# はりまんぼん (217610) [Physical]
#
# Fixed* damage (10000) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 超しびれ針 (217611) [None]
#
# Remove resistances to Paralyze from one enemy for one turn
# Inflict Paralyze (100%) on one enemy
# Unknown parameters: [1]
# Inflict Stop (100%) for 3 turns on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# しびれ針 (217612) [None]
#
# Remove resistances to Paralyze from one enemy for one turn
# Inflict Paralyze (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 超光合成 (217613) [None]
#
# Restore 10-15% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 光合成 (217614) [None]
#
# Restore 3-8% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ねらいをさだめた (217615) [None]
#
# Remove resistances to Disease from one enemy for one turn
# Inflict Disease (100%) on one enemy
# Unknown parameters: [1]
# Remove all buffs and debuffs from one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# バランスを崩した (217616) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 石につまづいた (217617) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# すってんころりん (217618) [Physical]
#
# Physical damage (20x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# まえのめりにたおれる (217619) [Physical]
#
# Physical damage (8x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 必中・針百まんぼん (217620) [None]
#
# Fixed damage (1000000) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 蜂が飛んできた (217621) [None]
#
# Summon ホーネット (109002100)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 蜂が飛んできた (217622) [None]
#
# Summon ホーネット (109001100)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 蜂が飛んできた (217623) [None]
#
# Summon ホーネット (109005100)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ファイナルアタック (215310) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 必中・針百まんぼん (217675) [None]
#
# Fixed damage (1000000) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(13, 'random') # 蜂が飛んできた (217621): Summon ホーネット (109002100)
elif once():
useSkill(14, 'random') # 蜂が飛んできた (217622): Summon ホーネット (109001100)
elif once():
useSkill(15, 'random') # 蜂が飛んできた (217623): Summon ホーネット (109005100)
apple = True # reset next turn
elif unit('3:ally:3:ホーネット').is('alive') and green >= 11 and isTurnMod(5) and olive == False:
useSkill(5, 'random') # 超光合成 (217613): Restore 10-15% HP to caster
olive = True # reset next turn
elif green >= 11 and isTurnMod(5) and olive == False:
useSkill(6, 'random') # 光合成 (217614): Restore 3-8% HP to caster
olive = True # reset next turn
elif random() <= 0.47 and unit('3:ally:2:ホーネット').is('alive') and green >= 11 and isTurnMod(3) and mango == False:
useSkill(8, 'random') # バランスを崩した (217616): No effect
mango = True # reset next turn
honey = True # persistent
elif unit('3:ally:2:ホーネット').is('alive') and green >= 11 and isTurnMod(3) and mango == False:
useSkill(9, 'random') # 石につまづいた (217617): No effect
mango = True # reset next turn
ramen = True # persistent
elif green >= 11 and isTurnMod(3) and mango == False:
useSkill(8, 'random') # バランスを崩した (217616): No effect
mango = True # reset next turn
honey = True # persistent
elif unit('1:ally:any').HP < 0.4 and green >= 11 and white >= 2 and lemon == False:
useSkill(13, 'random') # 蜂が飛んできた (217621): Summon ホーネット (109002100)
white = 0
lemon = True # reset next turn
elif unit('1:ally:any').HP < 0.4 and green >= 11 and black >= 2 and grape == False:
useSkill(14, 'random') # 蜂が飛んできた (217622): Summon ホーネット (109001100)
black = 0
grape = True # reset next turn
elif unit('1:ally:any').HP < 0.4 and green >= 11 and mauve >= 2 and melon == False:
useSkill(15, 'random') # 蜂が飛んできた (217623): Summon ホーネット (109005100)
mauve = 0
melon = True # reset next turn
elif unit('1:ally:any').HP > 0.4 and green >= 11 and white >= 3 and lemon == False:
useSkill(13, 'random') # 蜂が飛んできた (217621): Summon ホーネット (109002100)
white = 0
lemon = True # reset next turn
elif unit('1:ally:any').HP > 0.4 and green >= 11 and black >= 3 and grape == False:
useSkill(14, 'random') # 蜂が飛んできた (217622): Summon ホーネット (109001100)
black = 0
grape = True # reset next turn
elif unit('1:ally:any').HP > 0.4 and green >= 11 and mauve >= 3 and melon == False:
useSkill(15, 'random') # 蜂が飛んできた (217623): Summon ホーネット (109005100)
mauve = 0
melon = True # reset next turn
elif unit('3:ally:2:ホーネット').is('alive') and green >= 11 and lemon == False:
wait() # No action
lemon = True # reset next turn
elif green >= 11 and lemon == False:
wait() # No action
white += 1
lemon = True # reset next turn
elif unit('3:ally:3:ホーネット').is('alive') and green >= 11 and grape == False:
wait() # No action
grape = True # reset next turn
elif green >= 11 and grape == False:
wait() # No action
black += 1
grape = True # reset next turn
elif unit('3:ally:4:ホーネット').is('alive') and green >= 11 and melon == False:
wait() # No action
melon = True # reset next turn
elif green >= 11 and melon == False:
wait() # No action
mauve += 1
melon = True # reset next turn
elif unit('5:enemy:any').hasStatus('Disease') and green >= 11 and sushi == True and guava == False:
useSkill(12, 'bad_status:7') # 必中・針百まんぼん (217620): Fixed damage (1000000) to one enemy
sushi = False # persistent
elif green >= 11 and sushi == True and guava == False:
useSkill(12, 'random') # 必中・針百まんぼん (217620): Fixed damage (1000000) to one enemy
sushi = False # persistent
elif unit('1:ally:any').HP < 0.8 and green >= 11 and once():
useSkill(7, 'random') # ねらいをさだめた (217615): Remove resistances to Disease from one enemy for one turn, Inflict Disease (100%) on one enemy, Remove all buffs and debuffs from one enemy
guava = True # reset next turn
sushi = True # persistent
elif unit('1:ally:any').HP < 0.6 and green >= 11 and once() and guava == False:
useSkill(7, 'random') # ねらいをさだめた (217615): Remove resistances to Disease from one enemy for one turn, Inflict Disease (100%) on one enemy, Remove all buffs and debuffs from one enemy
guava = True # reset next turn
sushi = True # persistent
elif unit('1:ally:any').HP < 0.4 and green >= 11 and once() and guava == False:
useSkill(7, 'random') # ねらいをさだめた (217615): Remove resistances to Disease from one enemy for one turn, Inflict Disease (100%) on one enemy, Remove all buffs and debuffs from one enemy
guava = True # reset next turn
sushi = True # persistent
elif unit('1:ally:any').HP < 0.2 and green >= 11 and once() and guava == False:
useSkill(7, 'random') # ねらいをさだめた (217615): Remove resistances to Disease from one enemy for one turn, Inflict Disease (100%) on one enemy, Remove all buffs and debuffs from one enemy
guava = True # reset next turn
sushi = True # persistent
elif green >= 11 and bacon == True and steak == False:
endTurn()
green = 0
steak = True # persistent
bacon = False # persistent
elif green >= 11 and steak == True and bacon == False:
endTurn()
green = 0
steak = False # persistent
elif green >= 11 and bacon == False and steak == False:
endTurn()
green = 0
bacon = True # persistent
elif honey == True:
useSkill(10, 'random') # すってんころりん (217618): Physical damage (20x, ATK) to all enemies
honey = False # persistent
elif ramen == True:
useSkill(11, 'random') # まえのめりにたおれる (217619): Physical damage (8x, ATK) to all enemies
ramen = False # persistent
elif green < 4:
useSkill(1, 'random') # 針千本 (217609): Fixed* damage (1000) to one enemy
green += 1
elif berry == False and isTurnMod(2):
useSkill(2, 'random') # はりまんぼん (217610): Fixed* damage (10000) to one enemy
berry = True # reset next turn
elif unit('1:ally:any').HP < 0.7 and gourd == False and isTurnMod(2):
useSkill(2, 'random') # はりまんぼん (217610): Fixed* damage (10000) to one enemy
gourd = True # reset next turn
elif unit('1:ally:any').HP < 0.4 and var_61 == False and isTurnMod(2):
useSkill(2, 'random') # はりまんぼん (217610): Fixed* damage (10000) to one enemy
var_61 = True # unknown flag type
elif unit('3:ally:4:ホーネット').is('alive') and peach == False and isTurnMod(3):
useSkill(3, 'random') # 超しびれ針 (217611): Remove resistances to Paralyze from one enemy for one turn, Inflict Paralyze (100%) on one enemy, Inflict Stop (100%) for 3 turns on one enemy
peach = True # reset next turn
elif peach == False and isTurnMod(3):
useSkill(4, 'random') # しびれ針 (217612): Remove resistances to Paralyze from one enemy for one turn, Inflict Paralyze (100%) on one enemy
peach = True # reset next turn
else:
attack('random')
green += 1
##
# Monster Info
##
#
# Monster ホーネット (109002100)
# Race Insect
# Level 99
# Actions 10-10
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 45000000
# MP 88888
# ATK 1000
# DEF 1500
# MAG 1500
# SPR 1150
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice -30%
# 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 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# 即死針 (217624) [None]
#
# [Death]
# Instant KO (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# マジックフラップ (217625) [Magic]
#
# Magic damage (15x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔法針 (217630) [Magic]
#
# Magic damage (4x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
wait() # No action
apple = True # reset next turn
elif bacon == False and unit('3:ally:1:巨大ジャボテンダー').is('alive'):
guard('random') # Unknown action
apple = True # reset next turn
elif unit('3:ally:1:巨大ジャボテンダー').is('dead') and green >= 6:
endTurn()
green = 0
elif unit('3:ally:1:巨大ジャボテンダー').is('alive') and green >= 4:
endTurn()
green = 0
elif random() <= 0.47 and unit('3:ally:1:巨大ジャボテンダー').is('dead') and berry == False:
useSkill(1, 'random') # 即死針 (217624): [Death], Instant KO (100%) to one enemy
green += 1
berry = True # reset next turn
elif unit('3:ally:1:巨大ジャボテンダー').is('dead') and berry == False:
useSkill(2, 'random') # マジックフラップ (217625): Magic damage (15x, MAG) to one enemy
green += 1
berry = True # reset next turn
elif unit('3:ally:1:巨大ジャボテンダー').is('dead'):
useSkill(3, 'random') # 魔法針 (217630): Magic damage (4x, MAG) to one enemy
green += 1
elif random() <= 0.47 and bacon == True and berry == False:
useSkill(1, 'random') # 即死針 (217624): [Death], Instant KO (100%) to one enemy
green += 1
berry = True # reset next turn
elif bacon == True and berry == False:
useSkill(2, 'random') # マジックフラップ (217625): Magic damage (15x, MAG) to one enemy
green += 1
berry = True # reset next turn
elif bacon == True:
useSkill(3, 'random') # 魔法針 (217630): Magic damage (4x, MAG) to one enemy
green += 1
else:
attack('random')
##
# Monster Info
##
#
# Monster ホーネット (109001100)
# Race Insect
# Level 99
# Actions 10-10
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 45000000
# MP 88888
# ATK 1000
# DEF 1500
# MAG 1500
# SPR 1150
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth -30%
# 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 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# はちみつ散布 (217626) [None]
#
# Restore 8880000 HP to all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 硬化フェロモン散布 (217627) [None]
#
# Reduce physical damage taken by 35% to all allies for 2 turns (can not be removed)
# Unused parameters: [1]
# Reduce magic damage taken by 35% to all allies for 2 turns (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔法針 (217630) [Magic]
#
# Magic damage (4x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
wait() # No action
apple = True # reset next turn
elif steak == False and unit('3:ally:1:巨大ジャボテンダー').is('alive'):
guard('random') # Unknown action
apple = True # reset next turn
elif unit('3:ally:1:巨大ジャボテンダー').is('dead') and green >= 6:
endTurn()
green = 0
elif unit('3:ally:1:巨大ジャボテンダー').is('alive') and green >= 4:
endTurn()
green = 0
elif random() <= 0.47 and unit('3:ally:1:巨大ジャボテンダー').is('dead') and berry == False:
useSkill(1, 'random') # はちみつ散布 (217626): Restore 8880000 HP to all allies
green += 1
berry = True # reset next turn
elif unit('3:ally:1:巨大ジャボテンダー').is('dead') and berry == False:
useSkill(2, 'random') # 硬化フェロモン散布 (217627): Reduce physical damage taken by 35% to all allies for 2 turns (can not be removed), Reduce magic damage taken by 35% to all allies for 2 turns (can not be removed)
green += 1
berry = True # reset next turn
elif unit('3:ally:1:巨大ジャボテンダー').is('dead'):
useSkill(3, 'random') # 魔法針 (217630): Magic damage (4x, MAG) to one enemy
green += 1
elif random() <= 0.47 and steak == True and berry == False:
useSkill(1, 'random') # はちみつ散布 (217626): Restore 8880000 HP to all allies
green += 1
berry = True # reset next turn
elif steak == True and berry == False:
useSkill(2, 'random') # 硬化フェロモン散布 (217627): Reduce physical damage taken by 35% to all allies for 2 turns (can not be removed), Reduce magic damage taken by 35% to all allies for 2 turns (can not be removed)
green += 1
berry = True # reset next turn
elif steak == True:
useSkill(3, 'random') # 魔法針 (217630): Magic damage (4x, MAG) to one enemy
green += 1
else:
attack('random')
##
# Monster Info
##
#
# Monster ホーネット (109005100)
# Race Insect
# Level 99
# Actions 10-10
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 45000000
# MP 88888
# ATK 1000
# DEF 1500
# MAG 1500
# SPR 1150
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning -30%
# 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 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# 強毒針 (217628) [None]
#
# Remove resistances to Poison from one enemy for one turn
# Inflict Poison (100%) on one enemy
# Unknown parameters: [1]
# Remove all buffs and debuffs from one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 軟化フェロモン散布 (217629) [None]
#
# Reduce DEF and SPR by 20% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔法針 (217630) [Magic]
#
# Magic damage (4x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
wait() # No action
apple = True # reset next turn
elif bacon == True and unit('3:ally:1:巨大ジャボテンダー').is('alive'):
guard('random') # Unknown action
apple = True # reset next turn
elif steak == True and unit('3:ally:1:巨大ジャボテンダー').is('alive'):
guard('random') # Unknown action
apple = True # reset next turn
elif unit('3:ally:1:巨大ジャボテンダー').is('dead') and green >= 6:
endTurn()
green = 0
elif unit('3:ally:1:巨大ジャボテンダー').is('alive') and green >= 4:
endTurn()
green = 0
elif random() <= 0.47 and unit('3:ally:1:巨大ジャボテンダー').is('dead') and berry == False:
useSkill(1, 'random') # 強毒針 (217628): Remove resistances to Poison from one enemy for one turn, Inflict Poison (100%) on one enemy, Remove all buffs and debuffs from one enemy
green += 1
berry = True # reset next turn
elif unit('3:ally:1:巨大ジャボテンダー').is('dead') and berry == False:
useSkill(2, 'random') # 軟化フェロモン散布 (217629): Reduce DEF and SPR by 20% for 3 turns to all enemies
green += 1
berry = True # reset next turn
elif unit('3:ally:1:巨大ジャボテンダー').is('dead'):
useSkill(3, 'random') # 魔法針 (217630): Magic damage (4x, MAG) to one enemy
green += 1
elif random() <= 0.47 and bacon == False and steak == False and berry == False:
useSkill(1, 'random') # 強毒針 (217628): Remove resistances to Poison from one enemy for one turn, Inflict Poison (100%) on one enemy, Remove all buffs and debuffs from one enemy
green += 1
berry = True # reset next turn
elif bacon == False and steak == False and berry == False:
useSkill(2, 'random') # 軟化フェロモン散布 (217629): Reduce DEF and SPR by 20% for 3 turns to all enemies
green += 1
berry = True # reset next turn
elif bacon == False and steak == False:
useSkill(3, 'random') # 魔法針 (217630): Magic damage (4x, MAG) to one enemy
green += 1
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment