Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created December 20, 2019 08:26
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/cec8e43195e17dae78bfa0a2d8090d79 to your computer and use it in GitHub Desktop.
Save aEnigmatic/cec8e43195e17dae78bfa0a2d8090d79 to your computer and use it in GitHub Desktop.
Group of Giants?
##
# Mission '涌きだす巨蟲の群れ 真降臨1' (8997201)
#
# Battles
# * 飛甲虫・群生相, 飛甲虫・群生相, 飛甲虫・群生相, 飛甲虫・群生相, 飛甲虫・群生相, 飛甲虫・群生相, 飛甲虫・群生相, 飛甲虫・群生相, 飛甲虫・群生相, 飛甲虫・群生相
# * ブラックマンティス, ホワイトマンティス
# * ノヅチ
##
##
# Monster Info
##
#
# Monster 飛甲虫・群生相 (109021100)
# Race Insect
# Level 99
# Actions 10-10
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 1000000
# MP 10000
# ATK 350
# DEF 200
# MAG 100
# SPR 200
#
#
# 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 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# AI
###
if apple == True:
endTurn()
else:
attack('random')
apple = -1 # reset next turn [?]
##
# Monster Info
##
#
# Monster ブラックマンティス (209007100)
# Race Insect
# Level 99
# Actions 12-12
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 90000000
# MP 50000
# ATK 1400
# DEF 4000
# MAG 400
# SPR 2000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 25%
# Ice 0%
# Lightning 25%
# Water 25%
# Wind 25%
# Earth 25%
# Light 0%
# Dark 25%
# 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
###
#
# 巨鎌切りつけ (217869) [Physical]
#
# Physical damage (2x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 黒き泥鎌 (217870) [Physical]
#
# Physical earth damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 切り裂き鎌 (217871) [Physical]
#
# Physical damage (5.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 旋回切り (217872) [Physical]
#
# Physical damage (4.8x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# まとめ切り (217873) [Physical]
#
# Physical damage (1.8x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 鎌乱舞 (217874) [Physical]
#
# Physical damage (3x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 黒鎌振り上げ (217875) [None]
#
# Increase DEF by 50% and ATK by 10% for 5 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ブラックマンティスはカマを擦り合わせた (217876) [None]
#
# Increase DEF, MAG and SPR by 100% and ATK by 20% for 99999 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ブラックマンティスは傷を舐めた (217877) [None]
#
# Restore 90000000 HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ブラックマンティスは身震いした (217878) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 黒き威嚇鎌 (217879) [Physical]
#
# Physical damage (4.8x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if mango == True:
endTurn()
elif unit('3:ally:2:ブラックマンティス').is('dead') and honey == False and once():
useSkill(10, 'random') # ブラックマンティスは身震いした (217878): No effect
honey = True # persistent
elif honey == True and once():
useSkill(8, 'random') # ブラックマンティスはカマを擦り合わせた (217876): Increase DEF, MAG and SPR by 100% and ATK by 20% for 99999 turns to caster (can not be removed)
elif honey == True and once():
useSkill(9, 'random') # ブラックマンティスは傷を舐めた (217877): Restore 90000000 HP to caster
elif honey == True and apple == False:
useSkill(4, 'random') # 旋回切り (217872): Physical damage (4.8x, ATK) to one enemy
apple = True # reset next turn
elif honey == True and peach == False:
useSkill(6, 'random') # 鎌乱舞 (217874): Physical damage (3x, ATK) to all enemies
peach = True # reset next turn
elif unit('1:ally:any').HP > 0.99 and unit('3:ally:2:ブラックマンティス').HP < 0.8 and grape == False:
useSkill(11, 'random') # 黒き威嚇鎌 (217879): Physical damage (4.8x, ATK) to one enemy
grape = True # reset next turn
elif unit('3:ally:2:ブラックマンティス').HP < 0.6 and grape == False:
useSkill(11, 'random') # 黒き威嚇鎌 (217879): Physical damage (4.8x, ATK) to one enemy
grape = True # reset next turn
elif melon == False:
useSkill(5, 'random') # まとめ切り (217873): Physical damage (1.8x, ATK) to all enemies
melon = True # reset next turn
elif olive == False:
useSkill(2, 'random') # 黒き泥鎌 (217870): Physical earth damage (2.5x, ATK) to one enemy
olive = True # reset next turn
elif guava == False and honey == True:
useSkill(6, 'random') # 鎌乱舞 (217874): Physical damage (3x, ATK) to all enemies
guava = True # reset next turn
elif random() <= 0.50 and honey == True:
useSkill(4, 'random') # 旋回切り (217872): Physical damage (4.8x, ATK) to one enemy
elif random() <= 0.50 and honey == True:
useSkill(3, 'random') # 切り裂き鎌 (217871): Physical damage (5.5x, ATK) to one enemy
elif peach == False:
useSkill(5, 'random') # まとめ切り (217873): Physical damage (1.8x, ATK) to all enemies
peach = True # reset next turn
elif random() <= 0.60 and honey == False:
useSkill(1, 'random') # 巨鎌切りつけ (217869): Physical damage (2x, ATK) to one enemy
elif unit('3:ally:2:ブラックマンティス').HP < 0.6 and lemon == False:
useSkill(11, 'random') # 黒き威嚇鎌 (217879): Physical damage (4.8x, ATK) to one enemy
lemon = True # reset next turn
elif berry == False and honey == False:
useSkill(7, 'random') # 黒鎌振り上げ (217875): Increase DEF by 50% and ATK by 10% for 5 turns to caster
berry = True # reset next turn
elif honey == False:
useSkill(5, 'random') # まとめ切り (217873): Physical damage (1.8x, ATK) to all enemies
mango = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster ホワイトマンティス (209008100)
# Race Insect
# Level 99
# Actions 12-12
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 90000000
# MP 50000
# ATK 1400
# DEF 2000
# MAG 400
# SPR 4000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 25%
# Ice 0%
# Lightning 25%
# Water 25%
# Wind 25%
# Earth 25%
# Light 0%
# Dark 25%
# 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
###
#
# 巨鎌叩き切り (217880) [Physical]
#
# Physical damage (2x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 白き泥鎌 (217881) [Physical]
#
# Physical earth damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 鎌落とし (217882) [Physical]
#
# Physical damage (5.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 袈裟切り鎌 (217883) [Physical]
#
# Physical damage (4.8x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 粗刻み (217884) [Physical]
#
# Physical damage (1.8x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 乱れ鎌 (217885) [Physical]
#
# Physical damage (3x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 白鎌振り上げ (217886) [None]
#
# Reduce ATK, DEF, MAG and SPR by 20% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ホワイトマンティスはカマを擦り合わせた (217887) [None]
#
# Increase DEF, MAG and SPR by 100% and ATK by 20% for 99999 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ホワイトマンティスは傷を舐めた (217888) [None]
#
# Restore 90000000 HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ホワイトマンティスは身震いした (217889) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 白き威嚇鎌 (217890) [Physical]
#
# Physical damage (4.8x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if mango == True:
endTurn()
elif unit('3:ally:1:飛甲虫・群生相').is('dead') and honey == False and once():
useSkill(10, 'random') # ホワイトマンティスは身震いした (217889): No effect
honey = True # persistent
elif honey == True and once():
useSkill(8, 'random') # ホワイトマンティスはカマを擦り合わせた (217887): Increase DEF, MAG and SPR by 100% and ATK by 20% for 99999 turns to caster (can not be removed)
elif honey == True and once():
useSkill(9, 'random') # ホワイトマンティスは傷を舐めた (217888): Restore 90000000 HP to caster
elif honey == True and apple == False:
useSkill(4, 'random') # 袈裟切り鎌 (217883): Physical damage (4.8x, ATK) to one enemy
apple = True # reset next turn
elif honey == True and peach == False:
useSkill(6, 'random') # 乱れ鎌 (217885): Physical damage (3x, ATK) to all enemies
peach = True # reset next turn
elif unit('1:ally:any').HP > 0.99 and unit('3:ally:1:飛甲虫・群生相').HP < 0.8 and grape == False:
useSkill(11, 'random') # 白き威嚇鎌 (217890): Physical damage (4.8x, ATK) to one enemy
grape = True # reset next turn
elif unit('3:ally:1:飛甲虫・群生相').HP < 0.6 and grape == False:
useSkill(11, 'random') # 白き威嚇鎌 (217890): Physical damage (4.8x, ATK) to one enemy
grape = True # reset next turn
elif melon == False:
useSkill(5, 'random') # 粗刻み (217884): Physical damage (1.8x, ATK) to all enemies
melon = True # reset next turn
elif olive == False:
useSkill(2, 'random') # 白き泥鎌 (217881): Physical earth damage (2.5x, ATK) to one enemy
olive = True # reset next turn
elif guava == False and honey == True:
useSkill(6, 'random') # 乱れ鎌 (217885): Physical damage (3x, ATK) to all enemies
guava = True # reset next turn
elif random() <= 0.50 and honey == True:
useSkill(4, 'random') # 袈裟切り鎌 (217883): Physical damage (4.8x, ATK) to one enemy
elif random() <= 0.50 and honey == True:
useSkill(3, 'random') # 鎌落とし (217882): Physical damage (5.5x, ATK) to one enemy
elif peach == False:
useSkill(5, 'random') # 粗刻み (217884): Physical damage (1.8x, ATK) to all enemies
peach = True # reset next turn
elif random() <= 0.60 and honey == False:
useSkill(1, 'random') # 巨鎌叩き切り (217880): Physical damage (2x, ATK) to one enemy
elif unit('3:ally:1:飛甲虫・群生相').HP < 0.6 and lemon == False:
useSkill(11, 'random') # 白き威嚇鎌 (217890): Physical damage (4.8x, ATK) to one enemy
lemon = True # reset next turn
elif berry == False and honey == False:
useSkill(7, 'random') # 白鎌振り上げ (217886): Reduce ATK, DEF, MAG and SPR by 20% for 3 turns to all enemies
berry = True # reset next turn
elif honey == False:
useSkill(5, 'random') # 粗刻み (217884): Physical damage (1.8x, ATK) to all enemies
mango = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster ノヅチ (309065100)
# Race Insect
# Level 99
# Actions 10-10
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 300000000
# MP 100000
# ATK 1500
# DEF 1800
# MAG 850
# SPR 1800
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 50%
# Ice 25%
# Lightning 50%
# Water 50%
# Wind 50%
# Earth 50%
# Light 25%
# 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 100%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# ノヅチの口に吸い込まれた! (217891) [None]
#
# Remove one enemy from the fight
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ノヅチが息を吸い込みはじめた (217892) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ノヅチの息が止まった (217893) [None]
#
# No effect
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 巣穴潜り (217894) [None]
#
# Increase DEF by 50% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# とぐろ巻き (217895) [None]
#
# Increase SPR by 50% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 丸呑み (217896) [Physical]
#
# Physical damage (4x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 消化液分泌 (217897) [Physical]
#
# Physical damage (3.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔蟲のうねり (217898) [Magic]
#
# Magic damage (4x, MAG) to all enemies
# Unknown parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 嫌な鳴き声 (217899) [None]
#
# Remove all buffs from all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔力吸い込み (217900) [None]
#
# Hybrid* damage (0.05x, ATK & MAG) as MP drain (20%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 強酸液分泌 (217901) [Physical]
#
# Physical damage (3.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 消化液分泌 (217902) [Physical]
#
# Physical damage (1.8x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔蟲のうねり (217903) [Magic]
#
# Magic damage (2.5x, MAG) to all enemies
# Unknown parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 強酸液分泌 (217904) [Physical]
#
# Physical damage (1.7x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif unit('1:ally:any').hitByLastTurn('esper') and honey == True:
useSkill(3, 'random') # ノヅチの息が止まった (217893): No effect
guava = True # reset next turn
honey = False # persistent
elif honey == True:
useSkill(1, 'random') # ノヅチの口に吸い込まれた! (217891): Remove one enemy from the fight
guava = True # reset next turn
honey = False # persistent
elif self.HP < 0.3 and melon == False and isTurnMod(3):
useSkill(9, 'random') # 嫌な鳴き声 (217899): Remove all buffs from all enemies
var_62 = True # unknown flag type
melon = True # reset next turn
elif self.HP < 0.5 and isTurnMod(3) and olive == False:
useSkill(13, 'random') # 魔蟲のうねり (217903): Magic damage (2.5x, MAG) to all enemies
olive = True # reset next turn
elif gourd == False and olive == True:
useSkill(14, 'random') # 強酸液分泌 (217904): Physical damage (1.7x, ATK) to all enemies
gourd = True # reset next turn
elif lemon == False and olive == True and var_62 == False:
useSkill(12, 'random') # 消化液分泌 (217902): Physical damage (1.8x, ATK) to all enemies
lemon = True # reset next turn
elif grape == False and olive == True and var_62 == False:
useSkill(13, 'random') # 魔蟲のうねり (217903): Magic damage (2.5x, MAG) to all enemies
grape = True # reset next turn
elif gourd == False and var_62 == False:
useSkill(11, 'random') # 強酸液分泌 (217901): Physical damage (3.5x, ATK) to all enemies
gourd = True # reset next turn
elif var_61 == False and self.HP < 0.6 and isTurnMod(2) and var_62 == False:
useSkill(14, 'random') # 強酸液分泌 (217904): Physical damage (1.7x, ATK) to all enemies
var_61 = True # unknown flag type
elif mango == False:
useSkill(6, 'random') # 丸呑み (217896): Physical damage (4x, ATK) to one enemy
mango = True # reset next turn
elif lemon == False and var_62 == False:
useSkill(7, 'random') # 消化液分泌 (217897): Physical damage (3.5x, ATK) to all enemies
lemon = True # reset next turn
elif grape == False and var_62 == False:
useSkill(8, 'random') # 魔蟲のうねり (217898): Magic damage (4x, MAG) to all enemies
grape = True # reset next turn
elif self.HP < 0.5 and peach == False:
useSkill(10, 'random') # 魔力吸い込み (217900): Hybrid* damage (0.05x, ATK & MAG) as MP drain (20%) to one enemy
peach = True # reset next turn
elif random() <= 0.50 and berry == False and isTurnMod(3):
useSkill(4, 'random') # 巣穴潜り (217894): Increase DEF by 50% for 3 turns to caster
berry = True # reset next turn
elif berry == False and isTurnMod(3):
useSkill(5, 'random') # とぐろ巻き (217895): Increase SPR by 50% for 3 turns to caster
berry = True # reset next turn
elif self.HP < 0.8 and once() and guava == False:
useSkill(2, 'random') # ノヅチが息を吸い込みはじめた (217892): No effect
apple = True # reset next turn
honey = True # persistent
elif self.HP < 0.5 and isTurnMod(4) and guava == False:
useSkill(2, 'random') # ノヅチが息を吸い込みはじめた (217892): No effect
apple = True # reset next turn
honey = True # persistent
elif random() <= 0.25 and melon == False:
useSkill(9, 'random') # 嫌な鳴き声 (217899): Remove all buffs from all enemies
apple = True # reset next turn
else:
useSkill(6, 'random') # 丸呑み (217896): Physical damage (4x, ATK) 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