Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created September 15, 2020 11:51
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/28688f7fe846ec170affe197db659ae8 to your computer and use it in GitHub Desktop.
Save aEnigmatic/28688f7fe846ec170affe197db659ae8 to your computer and use it in GitHub Desktop.
Devil Chimera - Mid + Extreme
##
# Mission 'デビルキマイラ 真降臨・上級' (8992902)
# Enemy has first strike!
#
# Battles
# * デビルキマイラ
##
##
# Monster Info
##
#
# Monster デビルキマイラ (301003004)
# Race Beast, Demon
# Level 99
# Actions 15-15
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 900000000
# MP 10000
# ATK 1500
# DEF 4500
# MAG 1500
# SPR 4500
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 75%
# Ice -75%
# Lightning -50%
# Water 75%
# Wind 75%
# Earth 75%
# Light 75%
# Dark 75%
# Non-Elemental 75%
#
#
# Status resist (+0% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 0%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# 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
###
#
# 魔なる空間 (220465) [None]
#
# Unknown active effect type '160': [100000002]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 空間の効果で属性耐性が大幅ダウン! (220466) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# キマイラボディ (220467) [None]
#
# Increase DEF by 200% for 3 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 防御がアップした (220468) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 切り裂く (220469) [Physical]
#
# Physical damage (4x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# なぎ払い (220470) [Physical]
#
# Physical damage (4x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ダークタックル (220471) [Physical]
#
# Physical dark damage (6x, ATK) to all enemies
# Reduce resistance to Dark by 200% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ストーンタックル (220472) [Physical]
#
# Physical earth damage (6x, ATK) to all enemies
# Reduce resistance to Earth by 200% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 体力減少により生存本能が活発になっている! (220474) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ケアルジャ (220475) [Magic]
#
# Restore 30% HP to all allies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# ソニックボイス (220476) [Magic]
#
# Magic damage (4x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ソニックボム (220477) [Magic]
#
# Magic damage (4x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ウォーターブラスト (220478) [Magic]
#
# Magic water damage (6x, MAG) to all enemies
# Reduce resistance to Water by 200% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# エアロブラスト (220479) [Magic]
#
# Magic wind damage (6x, MAG) to all enemies
# Reduce resistance to Wind by 200% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# キマイラの邪眼 (220480) [None]
#
# Increase Accuracy by -50% to all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 即死の邪眼 (220481) [None]
#
# [Death]
# Instant KO (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔力を吸い取った! (220482) [None]
#
# Hybrid* damage (1x, ATK & MAG) as MP drain (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# サイレガ (219850) [Magic]
#
# Inflict Silence (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# 病気状態で生存本能が鈍くなっている! (220473) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(1, 'random') # 魔なる空間 (220465): Unknown active effect type '160': [100000002]
elif once():
useSkill(2, 'random') # 空間の効果で属性耐性が大幅ダウン! (220466): No effect
apple = True # reset next turn
elif self.HP < 0.5 and berry == False:
useSkill(9, 'random') # 体力減少により生存本能が活発になっている! (220474): No effect
berry = True # reset next turn
elif self.HP < 0.5 and peach == False and self.hasStatus('Disease'):
useSkill(19, 'random') # 病気状態で生存本能が鈍くなっている! (220473): No effect
peach = True # reset next turn
elif self.HP < 0.5 and peach == False:
useSkill(10, 'random') # ケアルジャ (220475): Restore 30% HP to all allies
peach = True # reset next turn
elif olive == False:
useSkill(3, 'random') # キマイラボディ (220467): Increase DEF by 200% for 3 turns to caster (can not be removed)
olive = True # reset next turn
elif mango == False:
useSkill(4, 'random') # 防御がアップした (220468): No effect
mango = True # reset next turn
elif lemon == False and green == 3:
wait() # No action
green = 0
lemon = True # reset next turn
elif lemon == False:
wait() # No action
green += 1
elif random() <= 0.33 and white == 0 and grape == False:
useSkill(6, 'random') # なぎ払い (220470): Physical damage (4x, ATK) to all enemies
grape = True # reset next turn
elif random() <= 0.33 and white == 0 and grape == False:
useSkill(7, 'random') # ダークタックル (220471): Physical dark damage (6x, ATK) to all enemies, Reduce resistance to Dark by 200% for 3 turns to all enemies
grape = True # reset next turn
elif white == 0 and grape == False:
useSkill(8, 'random') # ストーンタックル (220472): Physical earth damage (6x, ATK) to all enemies, Reduce resistance to Earth by 200% for 3 turns to all enemies
grape = True # reset next turn
elif white == 0 and melon == False and black == 2:
useSkill(5, 'random') # 切り裂く (220469): Physical damage (4x, ATK) to one enemy
black = 0
melon = True # reset next turn
elif white == 0 and melon == False:
useSkill(5, 'random') # 切り裂く (220469): Physical damage (4x, ATK) to one enemy
black += 1
elif random() <= 0.50 and white == 0 and guava == False:
useSkill(7, 'random') # ダークタックル (220471): Physical dark damage (6x, ATK) to all enemies, Reduce resistance to Dark by 200% for 3 turns to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif white == 0 and guava == False:
useSkill(8, 'random') # ストーンタックル (220472): Physical earth damage (6x, ATK) to all enemies, Reduce resistance to Earth by 200% for 3 turns to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif random() <= 0.33 and white == 1 and grape == False:
useSkill(12, 'random') # ソニックボム (220477): Magic damage (4x, MAG) to all enemies
grape = True # reset next turn
elif random() <= 0.33 and white == 1 and grape == False:
useSkill(13, 'random') # ウォーターブラスト (220478): Magic water damage (6x, MAG) to all enemies, Reduce resistance to Water by 200% for 3 turns to all enemies
grape = True # reset next turn
elif white == 1 and grape == False:
useSkill(14, 'random') # エアロブラスト (220479): Magic wind damage (6x, MAG) to all enemies, Reduce resistance to Wind by 200% for 3 turns to all enemies
grape = True # reset next turn
elif white == 1 and melon == False and black == 2:
useSkill(11, 'random') # ソニックボイス (220476): Magic damage (4x, MAG) to one enemy
black = 0
melon = True # reset next turn
elif white == 1 and melon == False:
useSkill(11, 'random') # ソニックボイス (220476): Magic damage (4x, MAG) to one enemy
black += 1
elif random() <= 0.33 and white == 1 and guava == False:
useSkill(14, 'random') # エアロブラスト (220479): Magic wind damage (6x, MAG) to all enemies, Reduce resistance to Wind by 200% for 3 turns to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif random() <= 0.33 and white == 1 and guava == False:
useSkill(13, 'random') # ウォーターブラスト (220478): Magic water damage (6x, MAG) to all enemies, Reduce resistance to Water by 200% for 3 turns to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif white == 1 and guava == False:
useSkill(12, 'random') # ソニックボム (220477): Magic damage (4x, MAG) to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif random() <= 0.33 and white == 2 and grape == False:
useSkill(6, 'random') # なぎ払い (220470): Physical damage (4x, ATK) to all enemies
grape = True # reset next turn
elif random() <= 0.33 and white == 2 and grape == False:
useSkill(7, 'random') # ダークタックル (220471): Physical dark damage (6x, ATK) to all enemies, Reduce resistance to Dark by 200% for 3 turns to all enemies
grape = True # reset next turn
elif white == 2 and grape == False:
useSkill(8, 'random') # ストーンタックル (220472): Physical earth damage (6x, ATK) to all enemies, Reduce resistance to Earth by 200% for 3 turns to all enemies
grape = True # reset next turn
elif white == 2 and melon == False and black == 2:
useSkill(5, 'random') # 切り裂く (220469): Physical damage (4x, ATK) to one enemy
black = 0
melon = True # reset next turn
elif white == 2 and melon == False:
useSkill(5, 'random') # 切り裂く (220469): Physical damage (4x, ATK) to one enemy
black += 1
elif random() <= 0.50 and white == 2 and guava == False:
useSkill(7, 'random') # ダークタックル (220471): Physical dark damage (6x, ATK) to all enemies, Reduce resistance to Dark by 200% for 3 turns to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif white == 2 and guava == False:
useSkill(8, 'random') # ストーンタックル (220472): Physical earth damage (6x, ATK) to all enemies, Reduce resistance to Earth by 200% for 3 turns to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif random() <= 0.33 and white == 3 and grape == False:
useSkill(12, 'random') # ソニックボム (220477): Magic damage (4x, MAG) to all enemies
grape = True # reset next turn
elif random() <= 0.33 and white == 3 and grape == False:
useSkill(13, 'random') # ウォーターブラスト (220478): Magic water damage (6x, MAG) to all enemies, Reduce resistance to Water by 200% for 3 turns to all enemies
grape = True # reset next turn
elif white == 3 and grape == False:
useSkill(14, 'random') # エアロブラスト (220479): Magic wind damage (6x, MAG) to all enemies, Reduce resistance to Wind by 200% for 3 turns to all enemies
grape = True # reset next turn
elif white == 3 and melon == False and black == 2:
useSkill(11, 'random') # ソニックボイス (220476): Magic damage (4x, MAG) to one enemy
black = 0
melon = True # reset next turn
elif white == 3 and melon == False:
useSkill(11, 'random') # ソニックボイス (220476): Magic damage (4x, MAG) to one enemy
black += 1
elif random() <= 0.33 and white == 3 and guava == False:
useSkill(14, 'random') # エアロブラスト (220479): Magic wind damage (6x, MAG) to all enemies, Reduce resistance to Wind by 200% for 3 turns to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif random() <= 0.33 and white == 3 and guava == False:
useSkill(13, 'random') # ウォーターブラスト (220478): Magic water damage (6x, MAG) to all enemies, Reduce resistance to Water by 200% for 3 turns to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif white == 3 and guava == False:
useSkill(12, 'random') # ソニックボム (220477): Magic damage (4x, MAG) to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif white == 4 and grape == False:
useSkill(15, 'random') # キマイラの邪眼 (220480): Increase Accuracy by -50% to all enemies for 3 turns
grape = True # reset next turn
elif white == 4 and melon == False and black == 2:
useSkill(16, 'random') # 即死の邪眼 (220481): [Death], Instant KO (100%) to one enemy
black = 0
melon = True # reset next turn
elif white == 4 and melon == False:
useSkill(16, 'random') # 即死の邪眼 (220481): [Death], Instant KO (100%) to one enemy
black += 1
elif white == 4 and guava == False:
useSkill(17, 'random') # 魔力を吸い取った! (220482): Hybrid* damage (1x, ATK & MAG) as MP drain (100%) to one enemy
guava = True # reset next turn
elif white == 4 and gourd == False:
useSkill(18, 'random') # サイレガ (219850): Inflict Silence (100%) on all enemies
white = 0
gourd = True # reset next turn
apple = True # reset next turn
else:
attack('random')
##
# Mission 'デビルキマイラ 真降臨・極級' (8992903)
# Enemy has first strike!
#
# Battles
# * デビルキマイラ
##
##
# Monster Info
##
#
# Monster デビルキマイラ (301003005, 301003004)
# Race Beast, Demon
# Level 99
# Actions 15-15
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 2100000000
# MP 2000000
# ATK 3000
# DEF 24000
# MAG 3000
# SPR 24000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 75%
# Ice -75%
# Lightning -50%
# Water 75%
# Wind 75%
# Earth 75%
# Light 75%
# Dark 75%
# Non-Elemental 75%
#
#
# Status resist (+0% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 0%
# Petrify 100%
#
#
# Debuff resist
# ATK 100%
# 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
###
#
# 魔なる空間 (220465) [None]
#
# Unknown active effect type '160': [100000002]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 空間の効果で属性耐性が大幅ダウン! (220466) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# キマイラボディ (220467) [None]
#
# Increase DEF by 200% for 3 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 防御がアップした (220468) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 切り裂く (220469) [Physical]
#
# Physical damage (4x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# なぎ払い (220470) [Physical]
#
# Physical damage (4x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ダークタックル (220471) [Physical]
#
# Physical dark damage (6x, ATK) to all enemies
# Reduce resistance to Dark by 200% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ストーンタックル (220472) [Physical]
#
# Physical earth damage (6x, ATK) to all enemies
# Reduce resistance to Earth by 200% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 体力減少により生存本能が活発になっている! (220474) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ケアルジャ (220475) [Magic]
#
# Restore 30% HP to all allies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# ソニックボイス (220476) [Magic]
#
# Magic damage (4x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ソニックボム (220477) [Magic]
#
# Magic damage (4x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ウォーターブラスト (220478) [Magic]
#
# Magic water damage (6x, MAG) to all enemies
# Reduce resistance to Water by 200% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# エアロブラスト (220479) [Magic]
#
# Magic wind damage (6x, MAG) to all enemies
# Reduce resistance to Wind by 200% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# キマイラの邪眼 (220480) [None]
#
# Increase Accuracy by -50% to all enemies for 3 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 即死の邪眼 (220481) [None]
#
# [Death]
# Instant KO (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔力を吸い取った! (220482) [None]
#
# Hybrid* damage (1x, ATK & MAG) as MP drain (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# サイレガ (219850) [Magic]
#
# Inflict Silence (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# 病気状態で生存本能が鈍くなっている! (220473) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(1, 'random') # 魔なる空間 (220465): Unknown active effect type '160': [100000002]
elif once():
useSkill(2, 'random') # 空間の効果で属性耐性が大幅ダウン! (220466): No effect
apple = True # reset next turn
elif self.HP < 0.5 and berry == False:
useSkill(9, 'random') # 体力減少により生存本能が活発になっている! (220474): No effect
berry = True # reset next turn
elif self.HP < 0.5 and peach == False and self.hasStatus('Disease'):
useSkill(19, 'random') # 病気状態で生存本能が鈍くなっている! (220473): No effect
peach = True # reset next turn
elif self.HP < 0.5 and peach == False:
useSkill(10, 'random') # ケアルジャ (220475): Restore 30% HP to all allies
peach = True # reset next turn
elif olive == False:
useSkill(3, 'random') # キマイラボディ (220467): Increase DEF by 200% for 3 turns to caster (can not be removed)
olive = True # reset next turn
elif mango == False:
useSkill(4, 'random') # 防御がアップした (220468): No effect
mango = True # reset next turn
elif lemon == False and green == 3:
wait() # No action
green = 0
lemon = True # reset next turn
elif lemon == False:
wait() # No action
green += 1
elif random() <= 0.33 and white == 0 and grape == False:
useSkill(6, 'random') # なぎ払い (220470): Physical damage (4x, ATK) to all enemies
grape = True # reset next turn
elif random() <= 0.33 and white == 0 and grape == False:
useSkill(7, 'random') # ダークタックル (220471): Physical dark damage (6x, ATK) to all enemies, Reduce resistance to Dark by 200% for 3 turns to all enemies
grape = True # reset next turn
elif white == 0 and grape == False:
useSkill(8, 'random') # ストーンタックル (220472): Physical earth damage (6x, ATK) to all enemies, Reduce resistance to Earth by 200% for 3 turns to all enemies
grape = True # reset next turn
elif white == 0 and melon == False and black == 2:
useSkill(5, 'random') # 切り裂く (220469): Physical damage (4x, ATK) to one enemy
black = 0
melon = True # reset next turn
elif white == 0 and melon == False:
useSkill(5, 'random') # 切り裂く (220469): Physical damage (4x, ATK) to one enemy
black += 1
elif random() <= 0.50 and white == 0 and guava == False:
useSkill(7, 'random') # ダークタックル (220471): Physical dark damage (6x, ATK) to all enemies, Reduce resistance to Dark by 200% for 3 turns to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif white == 0 and guava == False:
useSkill(8, 'random') # ストーンタックル (220472): Physical earth damage (6x, ATK) to all enemies, Reduce resistance to Earth by 200% for 3 turns to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif random() <= 0.33 and white == 1 and grape == False:
useSkill(12, 'random') # ソニックボム (220477): Magic damage (4x, MAG) to all enemies
grape = True # reset next turn
elif random() <= 0.33 and white == 1 and grape == False:
useSkill(13, 'random') # ウォーターブラスト (220478): Magic water damage (6x, MAG) to all enemies, Reduce resistance to Water by 200% for 3 turns to all enemies
grape = True # reset next turn
elif white == 1 and grape == False:
useSkill(14, 'random') # エアロブラスト (220479): Magic wind damage (6x, MAG) to all enemies, Reduce resistance to Wind by 200% for 3 turns to all enemies
grape = True # reset next turn
elif white == 1 and melon == False and black == 2:
useSkill(11, 'random') # ソニックボイス (220476): Magic damage (4x, MAG) to one enemy
black = 0
melon = True # reset next turn
elif white == 1 and melon == False:
useSkill(11, 'random') # ソニックボイス (220476): Magic damage (4x, MAG) to one enemy
black += 1
elif random() <= 0.33 and white == 1 and guava == False:
useSkill(14, 'random') # エアロブラスト (220479): Magic wind damage (6x, MAG) to all enemies, Reduce resistance to Wind by 200% for 3 turns to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif random() <= 0.33 and white == 1 and guava == False:
useSkill(13, 'random') # ウォーターブラスト (220478): Magic water damage (6x, MAG) to all enemies, Reduce resistance to Water by 200% for 3 turns to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif white == 1 and guava == False:
useSkill(12, 'random') # ソニックボム (220477): Magic damage (4x, MAG) to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif random() <= 0.33 and white == 2 and grape == False:
useSkill(6, 'random') # なぎ払い (220470): Physical damage (4x, ATK) to all enemies
grape = True # reset next turn
elif random() <= 0.33 and white == 2 and grape == False:
useSkill(7, 'random') # ダークタックル (220471): Physical dark damage (6x, ATK) to all enemies, Reduce resistance to Dark by 200% for 3 turns to all enemies
grape = True # reset next turn
elif white == 2 and grape == False:
useSkill(8, 'random') # ストーンタックル (220472): Physical earth damage (6x, ATK) to all enemies, Reduce resistance to Earth by 200% for 3 turns to all enemies
grape = True # reset next turn
elif white == 2 and melon == False and black == 2:
useSkill(5, 'random') # 切り裂く (220469): Physical damage (4x, ATK) to one enemy
black = 0
melon = True # reset next turn
elif white == 2 and melon == False:
useSkill(5, 'random') # 切り裂く (220469): Physical damage (4x, ATK) to one enemy
black += 1
elif random() <= 0.50 and white == 2 and guava == False:
useSkill(7, 'random') # ダークタックル (220471): Physical dark damage (6x, ATK) to all enemies, Reduce resistance to Dark by 200% for 3 turns to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif white == 2 and guava == False:
useSkill(8, 'random') # ストーンタックル (220472): Physical earth damage (6x, ATK) to all enemies, Reduce resistance to Earth by 200% for 3 turns to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif random() <= 0.33 and white == 3 and grape == False:
useSkill(12, 'random') # ソニックボム (220477): Magic damage (4x, MAG) to all enemies
grape = True # reset next turn
elif random() <= 0.33 and white == 3 and grape == False:
useSkill(13, 'random') # ウォーターブラスト (220478): Magic water damage (6x, MAG) to all enemies, Reduce resistance to Water by 200% for 3 turns to all enemies
grape = True # reset next turn
elif white == 3 and grape == False:
useSkill(14, 'random') # エアロブラスト (220479): Magic wind damage (6x, MAG) to all enemies, Reduce resistance to Wind by 200% for 3 turns to all enemies
grape = True # reset next turn
elif white == 3 and melon == False and black == 2:
useSkill(11, 'random') # ソニックボイス (220476): Magic damage (4x, MAG) to one enemy
black = 0
melon = True # reset next turn
elif white == 3 and melon == False:
useSkill(11, 'random') # ソニックボイス (220476): Magic damage (4x, MAG) to one enemy
black += 1
elif random() <= 0.33 and white == 3 and guava == False:
useSkill(14, 'random') # エアロブラスト (220479): Magic wind damage (6x, MAG) to all enemies, Reduce resistance to Wind by 200% for 3 turns to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif random() <= 0.33 and white == 3 and guava == False:
useSkill(13, 'random') # ウォーターブラスト (220478): Magic water damage (6x, MAG) to all enemies, Reduce resistance to Water by 200% for 3 turns to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif white == 3 and guava == False:
useSkill(12, 'random') # ソニックボム (220477): Magic damage (4x, MAG) to all enemies
white += 1
guava = True # reset next turn
apple = True # reset next turn
elif white == 4 and grape == False:
useSkill(15, 'random') # キマイラの邪眼 (220480): Increase Accuracy by -50% to all enemies for 3 turns
grape = True # reset next turn
elif white == 4 and melon == False and black == 2:
useSkill(16, 'random') # 即死の邪眼 (220481): [Death], Instant KO (100%) to one enemy
black = 0
melon = True # reset next turn
elif white == 4 and melon == False:
useSkill(16, 'random') # 即死の邪眼 (220481): [Death], Instant KO (100%) to one enemy
black += 1
elif white == 4 and guava == False:
useSkill(17, 'random') # 魔力を吸い取った! (220482): Hybrid* damage (1x, ATK & MAG) as MP drain (100%) to one enemy
guava = True # reset next turn
elif white == 4 and gourd == False:
useSkill(18, 'random') # サイレガ (219850): Inflict Silence (100%) on all enemies
white = 0
gourd = True # reset next turn
apple = True # reset next turn
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment