Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active June 7, 2019 09:28
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/b793cfe42d94898915361388a05921d1 to your computer and use it in GitHub Desktop.
Save aEnigmatic/b793cfe42d94898915361388a05921d1 to your computer and use it in GitHub Desktop.
Malboro Reborn
##
# Mission '超猛毒性異形植物 真降臨' (8979101)
# Enemy has first strike!
#
# Battles
# * モルボルグレート
# * モルボルクイーン [+ ミニモルボル (max 99), ミニモルボル (max 99), ミニモルボル (max 99)]
##
##
# Monster Info
##
#
# Monster モルボルグレート (411041003)
# Race Plant
# Level 99
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 150000000
# MP 100000
# ATK 1550
# DEF 1800
# MAG 1400
# SPR 1350
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 300%
# Lightning -50%
# Water 300%
# Wind 0%
# Earth 300%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+100% / 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
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# くさい息 (216761) [Magic]
#
# Magic damage (4x, MAG) to all enemies
# Inflict all status effects (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 消化液 (216762) [Magic]
#
# Magic damage (5x, MAG) to all enemies
# Reduce ATK, DEF, MAG and SPR by 100% for 10 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 触手 (216763) [Physical]
#
# Physical damage (5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# みだれうち (216764) [Physical]
#
# Physical damage (4.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 冷凍光線 (216765) [Magic]
#
# Magic ice damage (4.5x, MAG) to one enemy
# Unknown parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 灼熱光線&冷凍光線 (216766) [Magic]
#
# Magic fire and ice damage (4x, MAG) to one enemy
# Unknown parameters: [0]
# Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 捕食キープ (216767) [None]
#
# Inflict Stop (100%) for 2 turns on one enemy
# Reflect all spell(s) for one turn to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# モルボルソング (216768) [Magic]
#
# Magic damage (6x, MAG) to one enemy
# Unknown parameters: [0]
# Inflict berserk (+0% ATK) on one enemy for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# のみこむ (216769) [None]
#
# [Death]
# Instant KO (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# よだれ (216772) [None]
#
# Magic* damage (4.5x, SPR) per turn to all enemies for 2 turns
# Unused parameters: [0,0,100]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 烈風光線&土砂光線 (216773) [Magic]
#
# Magic wind and earth damage (4.5x, MAG) to one enemy
# Unknown parameters: [0]
# Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if var_90 == True:
endTurn()
elif once():
useSkill(10, 'random') # よだれ (216772): Magic* damage (4.5x, SPR) per turn to all enemies for 2 turns
var_90 = True # unknown flag type
elif unit('1:ally:any').HP > 0.6 and green >= 10 and var_62 == False and isTurnMod(4):
useSkill(10, 'random') # よだれ (216772): Magic* damage (4.5x, SPR) per turn to all enemies for 2 turns
var_62 = True # unknown flag type
elif unit('1:ally:any').HP < 0.6 and green >= 10 and var_62 == False and isTurnMod(3):
useSkill(10, 'random') # よだれ (216772): Magic* damage (4.5x, SPR) per turn to all enemies for 2 turns
var_62 = True # unknown flag type
elif unit('1:ally:any').HP > 0.6 and green >= 10 and var_61 == False and isTurnMod(3):
useSkill(7, 'random') # 捕食キープ (216767): Inflict Stop (100%) for 2 turns on one enemy, Reflect all spell(s) for one turn to one enemy
var_61 = True # unknown flag type
honey = True # persistent
elif unit('1:ally:any').HP < 0.6 and green >= 10 and var_61 == False and isTurnMod(2):
useSkill(7, 'random') # 捕食キープ (216767): Inflict Stop (100%) for 2 turns on one enemy, Reflect all spell(s) for one turn to one enemy
var_61 = True # unknown flag type
honey = True # persistent
elif unit('1:ally:any').HP < 0.75 and once() and green >= 10:
wait() # No action
elif unit('1:ally:any').HP < 0.75 and once() and green >= 10:
wait() # No action
elif unit('1:ally:any').HP < 0.75 and once() and green >= 10 and var_63 == False:
useSkill(2, 'random') # 消化液 (216762): Magic damage (5x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 100% for 10 turns to all enemies
var_63 = True # unknown flag type
elif unit('1:ally:any').HP < 0.5 and once() and green >= 10:
wait() # No action
elif unit('1:ally:any').HP < 0.5 and once() and green >= 10:
wait() # No action
elif unit('1:ally:any').HP < 0.5 and once() and green >= 10 and var_63 == False:
useSkill(2, 'random') # 消化液 (216762): Magic damage (5x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 100% for 10 turns to all enemies
var_63 = True # unknown flag type
elif unit('1:ally:any').HP < 0.25 and once() and green >= 10:
wait() # No action
elif unit('1:ally:any').HP < 0.25 and once() and green >= 10:
wait() # No action
elif unit('1:ally:any').HP < 0.25 and once() and green >= 10 and var_63 == False:
useSkill(2, 'random') # 消化液 (216762): Magic damage (5x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 100% for 10 turns to all enemies
var_63 = True # unknown flag type
elif green >= 10:
endTurn()
green = 0
elif unit('7:enemy:1').hasReflect() and apple == False and honey == True:
useSkill(9, 'slot:1') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
apple = True # reset next turn
honey = False # persistent
elif unit('7:enemy:2').hasReflect() and apple == False and honey == True:
useSkill(9, 'slot:2') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
apple = True # reset next turn
honey = False # persistent
elif unit('7:enemy:3').hasReflect() and apple == False and honey == True:
useSkill(9, 'slot:3') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
apple = True # reset next turn
honey = False # persistent
elif unit('7:enemy:4').hasReflect() and apple == False and honey == True:
useSkill(9, 'slot:4') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
apple = True # reset next turn
honey = False # persistent
elif unit('7:enemy:5').hasReflect() and apple == False and honey == True:
useSkill(9, 'slot:5') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
apple = True # reset next turn
honey = False # persistent
elif unit('7:enemy:6').hasReflect() and apple == False and honey == True:
useSkill(9, 'slot:6') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
apple = True # reset next turn
honey = False # persistent
elif berry == False and isTurnMod(2):
useSkill(1, 'random') # くさい息 (216761): Magic damage (4x, MAG) to all enemies, Inflict all status effects (100%) on all enemies
berry = True # reset next turn
elif green <= 2:
useSkill(6, 'random') # 灼熱光線&冷凍光線 (216766): Magic fire and ice damage (4x, MAG) to one enemy, Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
green += 1
elif green <= 5:
useSkill(5, 'random') # 冷凍光線 (216765): Magic ice damage (4.5x, MAG) to one enemy
green += 1
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and green <= 8:
useSkill(11, 'random') # 烈風光線&土砂光線 (216773): Magic wind and earth damage (4.5x, MAG) to one enemy, Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
green += 1
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and green <= 8:
useSkill(11, 'random') # 烈風光線&土砂光線 (216773): Magic wind and earth damage (4.5x, MAG) to one enemy, Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
green += 1
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and green <= 8:
useSkill(11, 'random') # 烈風光線&土砂光線 (216773): Magic wind and earth damage (4.5x, MAG) to one enemy, Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
green += 1
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and green <= 8:
useSkill(11, 'random') # 烈風光線&土砂光線 (216773): Magic wind and earth damage (4.5x, MAG) to one enemy, Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
green += 1
elif peach == False and isTurnMod(2):
useSkill(4, 'random') # みだれうち (216764): Physical damage (4.5x, ATK) to all enemies
green += 1
peach = True # reset next turn
elif unit('1:ally:any').HP < 0.3 and olive == False:
useSkill(4, 'random') # みだれうち (216764): Physical damage (4.5x, ATK) to all enemies
green += 1
olive = True # reset next turn
elif unit('1:ally:any').HP < 0.4 and mango == False and isTurnMod(3):
useSkill(8, 'random') # モルボルソング (216768): Magic damage (6x, MAG) to one enemy, Inflict berserk (+0% ATK) on one enemy for 2 turns
green += 1
mango = True # reset next turn
else:
useSkill(3, 'random') # 触手 (216763): Physical damage (5x, ATK) to one enemy
green += 1
##
# Monster Info
##
#
# Monster モルボルクイーン (411051003)
# Race Plant
# Level 99
# Actions 50-50
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 200000000
# MP 100000
# ATK 1350
# DEF 1400
# MAG 1700
# SPR 2000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 300%
# Lightning -50%
# Water 300%
# Wind 300%
# Earth 0%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+100% / 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
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# くさい息 (216761) [Magic]
#
# Magic damage (4x, MAG) to all enemies
# Inflict all status effects (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 消化液 (216762) [Magic]
#
# Magic damage (5x, MAG) to all enemies
# Reduce ATK, DEF, MAG and SPR by 100% for 10 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 触手 (216763) [Physical]
#
# Physical damage (5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# みだれうち (216764) [Physical]
#
# Physical damage (4.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 冷凍光線 (216765) [Magic]
#
# Magic ice damage (4.5x, MAG) to one enemy
# Unknown parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 灼熱光線&冷凍光線 (216766) [Magic]
#
# Magic fire and ice damage (4x, MAG) to one enemy
# Unknown parameters: [0]
# Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 捕食キープ (216767) [None]
#
# Inflict Stop (100%) for 2 turns on one enemy
# Reflect all spell(s) for one turn to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 怪音波 (216775) [None]
#
# Magic* damage (3.5x * 1.18 = 4.12x, MAG) to all enemies (ignore reflect)
# Inflict Charm (100%) on all enemies for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# のみこむ (216769) [None]
#
# [Death]
# Instant KO (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 烈風光線&土砂光線 (216773) [Magic]
#
# Magic wind and earth damage (4.5x, MAG) to one enemy
# Unknown parameters: [0]
# Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 超光合成 (216774) [None]
#
# Restore 10% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 仲間を呼ぶ (216776) [None]
#
# Summon モルボルクイーン (411051003)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 仲間を呼ぶ (216777) [None]
#
# Summon ミニモルボル (211051006)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 仲間を呼ぶ (216778) [None]
#
# Summon ミニモルボル (211051007)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if var_90 == True:
endTurn()
elif once():
useSkill(12, 'random') # 仲間を呼ぶ (216776): Summon モルボルクイーン (411051003)
elif once():
useSkill(13, 'random') # 仲間を呼ぶ (216777): Summon ミニモルボル (211051006)
elif once():
useSkill(14, 'random') # 仲間を呼ぶ (216778): Summon ミニモルボル (211051007)
var_90 = True # unknown flag type
elif unit('1:ally:any').HP > 0.4 and green >= 9 and var_62 == False and isTurnMod(4):
useSkill(8, 'random') # 怪音波 (216775): Magic* damage (3.5x * 1.18 = 4.12x, MAG) to all enemies (ignore reflect), Inflict Charm (100%) on all enemies for 2 turns
var_62 = True # unknown flag type
elif unit('1:ally:any').HP < 0.4 and green >= 9 and var_62 == False and isTurnMod(2):
useSkill(8, 'random') # 怪音波 (216775): Magic* damage (3.5x * 1.18 = 4.12x, MAG) to all enemies (ignore reflect), Inflict Charm (100%) on all enemies for 2 turns
var_62 = True # unknown flag type
elif unit('1:ally:any').HP > 0.6 and green >= 9 and var_61 == False and isTurnMod(3):
useSkill(7, 'random') # 捕食キープ (216767): Inflict Stop (100%) for 2 turns on one enemy, Reflect all spell(s) for one turn to one enemy
var_61 = True # unknown flag type
honey = True # persistent
elif unit('1:ally:any').HP < 0.6 and green >= 9 and var_61 == False and isTurnMod(2):
useSkill(7, 'random') # 捕食キープ (216767): Inflict Stop (100%) for 2 turns on one enemy, Reflect all spell(s) for one turn to one enemy
var_61 = True # unknown flag type
honey = True # persistent
elif unit('1:ally:any').HP < 0.4 and green >= 9 and var_69 == False and isTurnMod(2):
useSkill(7, 'refrect_up') # 捕食キープ (216767): Inflict Stop (100%) for 2 turns on one enemy, Reflect all spell(s) for one turn to one enemy
var_69 = True # unknown flag type
ramen = True # persistent
elif unit('1:ally:any').HP < 0.75 and once() and green >= 9 and var_63 == False:
wait() # No action
var_63 = True # unknown flag type
elif unit('1:ally:any').HP < 0.75 and once() and green >= 9 and var_64 == False:
wait() # No action
var_64 = True # unknown flag type
elif unit('1:ally:any').HP < 0.75 and once() and green >= 9 and var_65 == False:
useSkill(2, 'random') # 消化液 (216762): Magic damage (5x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 100% for 10 turns to all enemies
var_65 = True # unknown flag type
elif unit('1:ally:any').HP < 0.5 and once() and green >= 9 and var_63 == False:
wait() # No action
var_63 = True # unknown flag type
elif unit('1:ally:any').HP < 0.5 and once() and green >= 9 and var_64 == False:
wait() # No action
var_64 = True # unknown flag type
elif unit('1:ally:any').HP < 0.5 and once() and green >= 9 and var_65 == False:
useSkill(2, 'random') # 消化液 (216762): Magic damage (5x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 100% for 10 turns to all enemies
var_65 = True # unknown flag type
elif unit('1:ally:any').HP < 0.25 and once() and green >= 9 and var_63 == False:
wait() # No action
var_63 = True # unknown flag type
elif unit('1:ally:any').HP < 0.25 and once() and green >= 9 and var_64 == False:
wait() # No action
var_64 = True # unknown flag type
elif unit('1:ally:any').HP < 0.25 and once() and green >= 9 and var_65 == False:
useSkill(2, 'random') # 消化液 (216762): Magic damage (5x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 100% for 10 turns to all enemies
var_65 = True # unknown flag type
elif unit('3:ally:2:モルボルクイーン').is('alive') and green >= 9 and var_66 == False and isTurnMod(5) and gourd == False:
wait() # No action
var_66 = True # unknown flag type
elif unit('3:ally:2:モルボルクイーン').is('dead') and green >= 9 and var_66 == False and isTurnMod(5) and gourd == False:
useSkill(12, 'random') # 仲間を呼ぶ (216776): Summon モルボルクイーン (411051003)
var_66 = True # unknown flag type
gourd = True # reset next turn
elif unit('3:ally:4:ミニモルボル').is('alive') and green >= 9 and var_67 == False and isTurnMod(5) and gourd == False:
wait() # No action
var_67 = True # unknown flag type
elif unit('3:ally:4:ミニモルボル').is('dead') and green >= 9 and var_67 == False and isTurnMod(5) and gourd == False:
useSkill(14, 'random') # 仲間を呼ぶ (216778): Summon ミニモルボル (211051007)
var_67 = True # unknown flag type
gourd = True # reset next turn
elif unit('3:ally:3:ミニモルボル').is('alive') and green >= 9 and var_68 == False and isTurnMod(5) and gourd == False:
wait() # No action
var_68 = True # unknown flag type
elif unit('3:ally:3:ミニモルボル').is('dead') and green >= 9 and var_68 == False and isTurnMod(5) and gourd == False:
useSkill(13, 'random') # 仲間を呼ぶ (216777): Summon ミニモルボル (211051006)
var_68 = True # unknown flag type
gourd = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and green >= 9 and var_70 == False and isTurnMod(8):
wait() # No action
var_70 = True # unknown flag type
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and green >= 9 and var_70 == False and isTurnMod(8):
wait() # No action
var_70 = True # unknown flag type
elif green >= 9 and var_70 == False and isTurnMod(8):
useSkill(11, 'random') # 超光合成 (216774): Restore 10% HP to caster
var_70 = True # unknown flag type
elif unit('7:enemy:1').hasReflect() and green >= 9 and var_61 == False and honey == True:
useSkill(9, 'slot:1') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
var_61 = True # unknown flag type
olive = True # reset next turn
honey = False # persistent
elif unit('7:enemy:2').hasReflect() and green >= 9 and var_61 == False and honey == True:
useSkill(9, 'slot:2') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
var_61 = True # unknown flag type
mango = True # reset next turn
honey = False # persistent
elif unit('7:enemy:3').hasReflect() and green >= 9 and var_61 == False and honey == True:
useSkill(9, 'slot:3') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
var_61 = True # unknown flag type
lemon = True # reset next turn
honey = False # persistent
elif unit('7:enemy:4').hasReflect() and green >= 9 and var_61 == False and honey == True:
useSkill(9, 'slot:4') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
var_61 = True # unknown flag type
grape = True # reset next turn
honey = False # persistent
elif unit('7:enemy:5').hasReflect() and green >= 9 and var_61 == False and honey == True:
useSkill(9, 'slot:5') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
var_61 = True # unknown flag type
melon = True # reset next turn
honey = False # persistent
elif unit('7:enemy:6').hasReflect() and green >= 9 and var_61 == False and honey == True:
useSkill(9, 'slot:6') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
var_61 = True # unknown flag type
guava = True # reset next turn
honey = False # persistent
elif unit('7:enemy:1').hasReflect() and green >= 9 and var_69 == False and ramen == True and olive == False:
useSkill(9, 'slot:1') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
var_69 = True # unknown flag type
ramen = False # persistent
elif unit('7:enemy:2').hasReflect() and green >= 9 and var_69 == False and ramen == True and mango == False:
useSkill(9, 'slot:2') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
var_69 = True # unknown flag type
ramen = False # persistent
elif unit('7:enemy:3').hasReflect() and green >= 9 and var_69 == False and ramen == True and lemon == False:
useSkill(9, 'slot:3') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
var_69 = True # unknown flag type
ramen = False # persistent
elif unit('7:enemy:4').hasReflect() and green >= 9 and var_69 == False and ramen == True and grape == False:
useSkill(9, 'slot:4') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
var_69 = True # unknown flag type
ramen = False # persistent
elif unit('7:enemy:5').hasReflect() and green >= 9 and var_69 == False and ramen == True and melon == False:
useSkill(9, 'slot:5') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
var_69 = True # unknown flag type
ramen = False # persistent
elif unit('7:enemy:6').hasReflect() and green >= 9 and var_69 == False and ramen == True and guava == False:
useSkill(9, 'slot:6') # のみこむ (216769): [Death], Instant KO (100%) to one enemy
var_69 = True # unknown flag type
ramen = False # persistent
elif green >= 9:
endTurn()
white = 0
green = 0
elif apple == False and isTurnMod(2):
useSkill(1, 'random') # くさい息 (216761): Magic damage (4x, MAG) to all enemies, Inflict all status effects (100%) on all enemies
apple = True # reset next turn
elif green <= 2:
useSkill(6, 'random') # 灼熱光線&冷凍光線 (216766): Magic fire and ice damage (4x, MAG) to one enemy, Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
green += 1
elif green <= 4:
useSkill(5, 'random') # 冷凍光線 (216765): Magic ice damage (4.5x, MAG) to one enemy
green += 1
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and green <= 6:
useSkill(10, 'random') # 烈風光線&土砂光線 (216773): Magic wind and earth damage (4.5x, MAG) to one enemy, Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
green += 1
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and green <= 6:
useSkill(10, 'random') # 烈風光線&土砂光線 (216773): Magic wind and earth damage (4.5x, MAG) to one enemy, Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
green += 1
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and green <= 6:
useSkill(10, 'random') # 烈風光線&土砂光線 (216773): Magic wind and earth damage (4.5x, MAG) to one enemy, Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
green += 1
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and green <= 6:
useSkill(10, 'random') # 烈風光線&土砂光線 (216773): Magic wind and earth damage (4.5x, MAG) to one enemy, Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
green += 1
elif berry == False and isTurnMod(2):
useSkill(4, 'random') # みだれうち (216764): Physical damage (4.5x, ATK) to all enemies
green += 1
berry = True # reset next turn
elif unit('1:ally:any').HP < 0.4 and peach == False:
useSkill(4, 'random') # みだれうち (216764): Physical damage (4.5x, ATK) to all enemies
green += 1
peach = True # reset next turn
else:
useSkill(3, 'random') # 触手 (216763): Physical damage (5x, ATK) to one enemy
green += 1
##
# Monster Info
##
#
# Monster ミニモルボル (211051006, 211051005)
# Race Plant
# Level 99
# Actions 30-30
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 45000000
# MP 50000
# ATK 1200
# DEF 1600
# MAG 2500
# SPR 2100
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 300%
# Lightning 0%
# Water 300%
# Wind 0%
# Earth 300%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+100% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 0%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# くさい息 (216761) [Magic]
#
# Magic damage (4x, MAG) to all enemies
# Inflict all status effects (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 烈風光線&土砂光線 (216773) [Magic]
#
# Magic wind and earth damage (4.5x, MAG) to one enemy
# Unknown parameters: [0]
# Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# あまい息 (216770) [Magic]
#
# Magic damage (8.5x, MAG) to one enemy
# Unknown parameters: [0]
# Inflict Charm (100%) on one enemy for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
wait() # No action
apple = True # reset next turn
elif unit('3:ally:1:モルボルグレート').is('alive') and green <= 19:
wait() # No action
green += 1
elif unit('3:ally:1:モルボルグレート').is('alive') and green >= 20:
endTurn()
green = 0
elif unit('3:ally:1:モルボルグレート').is('dead') and green >= 2:
endTurn()
green = 0
elif isTurnMod(4) and mango == False:
useSkill(3, 'random') # あまい息 (216770): Magic damage (8.5x, MAG) to one enemy, Inflict Charm (100%) on one enemy for 2 turns
green += 1
mango = True # reset next turn
elif isTurnMod(3) and lemon == False:
useSkill(1, 'random') # くさい息 (216761): Magic damage (4x, MAG) to all enemies, Inflict all status effects (100%) on all enemies
green += 1
lemon = True # reset next turn
elif unit('3:ally:1:モルボルグレート').is('dead') and berry == False:
useSkill(1, 'random') # くさい息 (216761): Magic damage (4x, MAG) to all enemies, Inflict all status effects (100%) on all enemies
berry = True # reset next turn
elif unit('3:ally:1:モルボルグレート').is('dead') and peach == False:
useSkill(2, 'random') # 烈風光線&土砂光線 (216773): Magic wind and earth damage (4.5x, MAG) to one enemy, Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
peach = True # reset next turn
elif unit('3:ally:1:モルボルグレート').is('dead') and olive == False:
useSkill(2, 'random') # 烈風光線&土砂光線 (216773): Magic wind and earth damage (4.5x, MAG) to one enemy, Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
olive = True # reset next turn
else:
useSkill(2, 'random') # 烈風光線&土砂光線 (216773): Magic wind and earth damage (4.5x, MAG) to one enemy, Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
green += 1
##
# Monster Info
##
#
# Monster ミニモルボル (211051007, 211051006)
# Race Plant
# Level 99
# Actions 30-30
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 45000000
# MP 50000
# ATK 1200
# DEF 2100
# MAG 2500
# SPR 1600
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 300%
# Lightning 0%
# Water 300%
# Wind 300%
# Earth 0%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+100% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 0%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 0%
# SPR 100%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
###
# Skills
###
#
# くさい息 (216761) [Magic]
#
# Magic damage (4x, MAG) to all enemies
# Inflict all status effects (100%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 烈風光線&土砂光線 (216773) [Magic]
#
# Magic wind and earth damage (4.5x, MAG) to one enemy
# Unknown parameters: [0]
# Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 愛の歌 (216771) [None]
#
# Restore 10% HP to all allies
# Cure all status effects for all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
wait() # No action
apple = True # reset next turn
elif unit('3:ally:1:モルボルグレート').is('alive') and green <= 19:
wait() # No action
green += 1
elif unit('3:ally:1:モルボルグレート').is('alive') and green >= 20:
endTurn()
green = 0
elif unit('3:ally:1:モルボルグレート').is('dead') and green >= 2:
endTurn()
green = 0
elif isTurnMod(3) and mango == False:
useSkill(3, 'random') # 愛の歌 (216771): Restore 10% HP to all allies, Cure all status effects for all allies
green += 1
mango = True # reset next turn
elif unit('3:ally:1:モルボルグレート').is('dead') and berry == False:
useSkill(1, 'random') # くさい息 (216761): Magic damage (4x, MAG) to all enemies, Inflict all status effects (100%) on all enemies
berry = True # reset next turn
elif unit('3:ally:1:モルボルグレート').is('dead') and peach == False:
useSkill(1, 'random') # くさい息 (216761): Magic damage (4x, MAG) to all enemies, Inflict all status effects (100%) on all enemies
peach = True # reset next turn
elif unit('3:ally:1:モルボルグレート').is('dead') and olive == False:
useSkill(2, 'random') # 烈風光線&土砂光線 (216773): Magic wind and earth damage (4.5x, MAG) to one enemy, Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
olive = True # reset next turn
else:
useSkill(2, 'random') # 烈風光線&土砂光線 (216773): Magic wind and earth damage (4.5x, MAG) to one enemy, Reduce resistance to Wind and Earth by 50% for 3 turns to one enemy
green += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment