Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Created September 11, 2018 15:22
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/a4f8f787a0011a2f8d37a2d6b3795110 to your computer and use it in GitHub Desktop.
Save aEnigmatic/a4f8f787a0011a2f8d37a2d6b3795110 to your computer and use it in GitHub Desktop.
Great Malboro - JP
##
# Mission 'Venomous Vines of Death - ELT' (8995503)
##
##
# Monster Info
##
#
# Monster Great Malboro (411041002)
# Race Plant
# Level 99
# Actions 8-8
#
#
# Stats
# HP 90000000
# MP 100000
# ATK 1500
# DEF 2000
# MAG 900
# SPR 200
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -100%
# Ice 300%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 300%
# Dark 300%
# 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
###
#
# 水属性吸収 (100006) [Passive]
#
# Absorb Water elemental attacks
#
##
#
# 土属性吸収 (100007) [Passive]
#
# Absorb Earth elemental attacks
#
##
###
# Skills
###
#
# Bad Breath (189260) [Magic]
#
# Magic damage (4x, MAG) to all enemies
# Inflict all status effects (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Bile (189270) [Magic]
#
# Magic damage (10x, MAG) to all enemies
# Reduce ATK, DEF, MAG and SPR by 100% for 10 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tentacle (189280) [Physical]
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Barrage (189290) [Physical]
#
# Physical damage (3.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Freeze Ray (189300) [Magic]
#
# Magic ice damage (6x, MAG) to one enemy
# Unused parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heat Ray & Freeze Ray (189310) [Magic]
#
# Magic fire and ice damage (11x, MAG) to one enemy
# Unused parameters: [0]
# Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Freeze Prey (189320) [Magic]
#
# Magic damage (3x, MAG) to one enemy
# Unused parameters: [0]
# Inflict Stop (100%) for 2 turns on one enemy
# Reflect all spell(s) for one turn to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Malboro Song (189330) [Magic]
#
# Magic damage (3x, MAG) to one enemy
# Unused parameters: [0]
# Inflict berserk (+0% ATK) on one enemy for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Swallow (189340) [Magic]
#
# [Death]
# Instant KO (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif isTurnMod(2) and berry == False:
useSkill(1, 'random') # Bad Breath (189260): Magic damage (4x, MAG) to all enemies, Inflict all status effects (100%) on all enemies
berry = True # reset next turn
elif self.HP < 0.8 and once():
useSkill(2, 'random') # Bile (189270): Magic damage (10x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 100% for 10 turns to all enemies
apple = True # reset next turn
elif self.HP < 0.6 and once():
useSkill(2, 'random') # Bile (189270): Magic damage (10x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 100% for 10 turns to all enemies
white += 1
green += 1
apple = True # reset next turn
elif self.HP < 0.4 and once():
useSkill(2, 'random') # Bile (189270): Magic damage (10x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 100% for 10 turns to all enemies
apple = True # reset next turn
elif peach == False:
useSkill(4, 'random') # Barrage (189290): Physical damage (3.5x, ATK) to all enemies
peach = True # reset next turn
elif random() <= 0.33 and white == 1 and isTurnMod(3) and mango == False:
useSkill(7, 'random') # Freeze Prey (189320): Magic damage (3x, MAG) to one enemy, Inflict Stop (100%) for 2 turns on one enemy, Reflect all spell(s) for one turn to one enemy
mango = True # reset next turn
elif random() <= 0.33 and white == 1 and isTurnMod(2) and mango == False:
useSkill(8, 'random') # Malboro Song (189330): Magic damage (3x, MAG) to one enemy, Inflict berserk (+0% ATK) on one enemy for 2 turns
mango = True # reset next turn
elif white == 1 and mango == False:
useSkill(9, 'random') # Swallow (189340): [Death], Instant KO (100%) to one enemy
mango = True # reset next turn
elif unit('1:player?_any').sufferedDamageLastTurn('fire', 'phys') and green == 1 and olive == False:
useSkill(6, 'random') # Heat Ray & Freeze Ray (189310): Magic fire and ice damage (11x, MAG) to one enemy, Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
olive = True # reset next turn
elif unit('1:player?_any').sufferedDamageLastTurn('fire', 'mag') and green == 1 and olive == False:
useSkill(6, 'random') # Heat Ray & Freeze Ray (189310): Magic fire and ice damage (11x, MAG) to one enemy, Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
olive = True # reset next turn
elif unit('1:player?_any').sufferedDamageLastTurn('fire', 'phys') and green == 1:
useSkill(6, 'random') # Heat Ray & Freeze Ray (189310): Magic fire and ice damage (11x, MAG) to one enemy, Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
lemon = True # reset next turn
elif unit('1:player?_any').sufferedDamageLastTurn('fire', 'mag') and green == 1:
useSkill(6, 'random') # Heat Ray & Freeze Ray (189310): Magic fire and ice damage (11x, MAG) to one enemy, Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
lemon = True # reset next turn
elif random() <= 0.30 and green == 1 and lemon == False:
useSkill(5, 'random') # Freeze Ray (189300): Magic ice damage (6x, MAG) to one enemy
elif unit('1:player?_any').sufferedDamageLastTurn('fire', 'phys') and green == 0 and olive == False:
useSkill(6, 'random') # Heat Ray & Freeze Ray (189310): Magic fire and ice damage (11x, MAG) to one enemy, Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
olive = True # reset next turn
elif unit('1:player?_any').sufferedDamageLastTurn('fire', 'mag') and green == 0 and olive == False:
useSkill(6, 'random') # Heat Ray & Freeze Ray (189310): Magic fire and ice damage (11x, MAG) to one enemy, Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
olive = True # reset next turn
elif green == 0 and olive == False:
useSkill(5, 'random') # Freeze Ray (189300): Magic ice damage (6x, MAG) to one enemy
olive = True # reset next turn
else:
useSkill(3, 'random') # Tentacle (189280): Physical damage (3x, ATK) to one enemy
##
# Monster Info
##
#
# Monster Malboro Queen (411051002)
# Race Plant
# Level 99
# Actions 7-7
#
#
# Stats
# HP 90000000
# MP 100000
# ATK 1500
# DEF 200
# MAG 900
# SPR 2000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -100%
# Ice 300%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 300%
# Dark 300%
# 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
###
#
# 水属性吸収 (100006) [Passive]
#
# Absorb Water elemental attacks
#
##
#
# 土属性吸収 (100007) [Passive]
#
# Absorb Earth elemental attacks
#
##
###
# Skills
###
#
# Bad Breath (189260) [Magic]
#
# Magic damage (4x, MAG) to all enemies
# Inflict all status effects (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Bile (189270) [Magic]
#
# Magic damage (10x, MAG) to all enemies
# Reduce ATK, DEF, MAG and SPR by 100% for 10 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Tentacle (189280) [Physical]
#
# Physical damage (3x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Barrage (189290) [Physical]
#
# Physical damage (3.5x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Freeze Ray (189300) [Magic]
#
# Magic ice damage (6x, MAG) to one enemy
# Unused parameters: [0]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Heat Ray & Freeze Ray (189310) [Magic]
#
# Magic fire and ice damage (11x, MAG) to one enemy
# Unused parameters: [0]
# Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Cloying Breath (189350) [Magic]
#
# Magic damage (3x, MAG) to one enemy
# Unused parameters: [0]
# Inflict Charm (100%) on one enemy for 2 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Love Song (189360) [None]
#
# Restore 10% HP to all allies
# Cure all status effects for all allies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif isTurnMod(2) and berry == False:
useSkill(1, 'random') # Bad Breath (189260): Magic damage (4x, MAG) to all enemies, Inflict all status effects (100%) on all enemies
berry = True # reset next turn
elif self.HP < 0.9 and once():
useSkill(2, 'random') # Bile (189270): Magic damage (10x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 100% for 10 turns to all enemies
elif self.HP < 0.9 and once():
useSkill(8, 'random') # Love Song (189360): Restore 10% HP to all allies, Cure all status effects for all allies
apple = True # reset next turn
elif self.HP < 0.7 and once():
useSkill(2, 'random') # Bile (189270): Magic damage (10x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 100% for 10 turns to all enemies
elif self.HP < 0.7 and once():
useSkill(8, 'random') # Love Song (189360): Restore 10% HP to all allies, Cure all status effects for all allies
white += 1
green += 1
apple = True # reset next turn
elif self.HP < 0.4 and once():
useSkill(2, 'random') # Bile (189270): Magic damage (10x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 100% for 10 turns to all enemies
elif self.HP < 0.4 and once():
useSkill(8, 'random') # Love Song (189360): Restore 10% HP to all allies, Cure all status effects for all allies
apple = True # reset next turn
elif peach == False:
useSkill(4, 'random') # Barrage (189290): Physical damage (3.5x, ATK) to all enemies
peach = True # reset next turn
elif white == 1 and isTurnMod(2) and mango == False:
useSkill(7, 'random') # Cloying Breath (189350): Magic damage (3x, MAG) to one enemy, Inflict Charm (100%) on one enemy for 2 turns
mango = True # reset next turn
elif unit('1:player?_any').sufferedDamageLastTurn('fire', 'phys') and green == 1 and olive == False:
useSkill(6, 'random') # Heat Ray & Freeze Ray (189310): Magic fire and ice damage (11x, MAG) to one enemy, Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
olive = True # reset next turn
elif unit('1:player?_any').sufferedDamageLastTurn('fire', 'mag') and green == 1 and olive == False:
useSkill(6, 'random') # Heat Ray & Freeze Ray (189310): Magic fire and ice damage (11x, MAG) to one enemy, Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
olive = True # reset next turn
elif unit('1:player?_any').sufferedDamageLastTurn('fire', 'phys') and green == 1:
useSkill(6, 'random') # Heat Ray & Freeze Ray (189310): Magic fire and ice damage (11x, MAG) to one enemy, Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
lemon = True # reset next turn
elif unit('1:player?_any').sufferedDamageLastTurn('fire', 'mag') and green == 1:
useSkill(6, 'random') # Heat Ray & Freeze Ray (189310): Magic fire and ice damage (11x, MAG) to one enemy, Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
lemon = True # reset next turn
elif random() <= 0.30 and green == 1 and lemon == False:
useSkill(5, 'random') # Freeze Ray (189300): Magic ice damage (6x, MAG) to one enemy
elif unit('1:player?_any').sufferedDamageLastTurn('fire', 'phys') and green == 0 and olive == False:
useSkill(6, 'random') # Heat Ray & Freeze Ray (189310): Magic fire and ice damage (11x, MAG) to one enemy, Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
olive = True # reset next turn
elif unit('1:player?_any').sufferedDamageLastTurn('fire', 'mag') and green == 0 and olive == False:
useSkill(6, 'random') # Heat Ray & Freeze Ray (189310): Magic fire and ice damage (11x, MAG) to one enemy, Reduce resistance to Fire and Ice by 50% for 3 turns to one enemy
olive = True # reset next turn
elif green == 0 and olive == False:
useSkill(5, 'random') # Freeze Ray (189300): Magic ice damage (6x, MAG) to one enemy
olive = True # reset next turn
else:
useSkill(3, 'random') # Tentacle (189280): Physical damage (3x, ATK) to one enemy
##
# Monster Info
##
#
# Monster Mini Malboro (211051002)
# Race Plant
# Level 99
# Actions 5-5
#
#
# Stats
# HP 25000000
# MP 100000
# ATK 1800
# DEF 2000
# MAG 700
# SPR 200
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 300%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 300%
# Dark 300%
# Non-Elemental 0%
#
#
# Status resist (+100% / application)
# Poison 100%
# Blind 70%
# 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
###
#
# 水属性吸収 (100006) [Passive]
#
# Absorb Water elemental attacks
#
##
#
# 土属性吸収 (100007) [Passive]
#
# Absorb Earth elemental attacks
#
##
###
# Skills
###
#
# Bad Breath (189260) [Magic]
#
# Magic damage (4x, MAG) to all enemies
# Inflict all status effects (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Explosive Thrust (189370) [Physical]
#
# Physical damage (3x, ATK) to one enemy after a one turn jump delay
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Photosynthesis (189380) [None]
#
# Restore 5% HP to caster
# Cure all status effects for caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green == 2:
endTurn()
green = 0
elif random() <= 0.50 and green == 1:
useSkill(1, 'random') # Bad Breath (189260): Magic damage (4x, MAG) to all enemies, Inflict all status effects (100%) on all enemies
green += 1
elif green == 1:
useSkill(2, 'random') # Explosive Thrust (189370): Physical damage (3x, ATK) to one enemy after a one turn jump delay
green = 0
elif unit('4:party?_any').isDead() and berry == False:
useSkill(1, 'random') # Bad Breath (189260): Magic damage (4x, MAG) to all enemies, Inflict all status effects (100%) on all enemies
berry = True # reset next turn
elif unit('3:party?_1').isDead() and peach == False:
useSkill(1, 'random') # Bad Breath (189260): Magic damage (4x, MAG) to all enemies, Inflict all status effects (100%) on all enemies
peach = True # reset next turn
elif random() <= 0.50 and apple == False:
useSkill(1, 'random') # Bad Breath (189260): Magic damage (4x, MAG) to all enemies, Inflict all status effects (100%) on all enemies
green += 1
apple = True # reset next turn
elif apple == False:
useSkill(3, 'random') # Photosynthesis (189380): Restore 5% HP to caster, Cure all status effects for caster
green += 1
apple = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster Mini Malboro (211051005)
# Race Plant
# Level 99
# Actions 5-5
#
#
# Stats
# HP 20000000
# MP 100000
# ATK 1200
# DEF 200
# MAG 1000
# SPR 2000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 300%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 300%
# Dark 300%
# Non-Elemental 0%
#
#
# Status resist (+100% / application)
# Poison 100%
# Blind 70%
# 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
###
#
# 水属性吸収 (100006) [Passive]
#
# Absorb Water elemental attacks
#
##
#
# 土属性吸収 (100007) [Passive]
#
# Absorb Earth elemental attacks
#
##
###
# Skills
###
#
# Bad Breath (189260) [Magic]
#
# Magic damage (4x, MAG) to all enemies
# Inflict all status effects (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Explosive Thrust (189370) [Physical]
#
# Physical damage (3x, ATK) to one enemy after a one turn jump delay
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Photosynthesis (189380) [None]
#
# Restore 5% HP to caster
# Cure all status effects for caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if green == 2:
endTurn()
green = 0
elif random() <= 0.50 and green == 1:
useSkill(1, 'random') # Bad Breath (189260): Magic damage (4x, MAG) to all enemies, Inflict all status effects (100%) on all enemies
green += 1
elif green == 1:
useSkill(2, 'random') # Explosive Thrust (189370): Physical damage (3x, ATK) to one enemy after a one turn jump delay
green = 0
elif unit('4:party?_any').isDead() and berry == False:
useSkill(1, 'random') # Bad Breath (189260): Magic damage (4x, MAG) to all enemies, Inflict all status effects (100%) on all enemies
berry = True # reset next turn
elif unit('3:party?_1').isDead() and peach == False:
useSkill(1, 'random') # Bad Breath (189260): Magic damage (4x, MAG) to all enemies, Inflict all status effects (100%) on all enemies
peach = True # reset next turn
elif random() <= 0.50 and apple == False:
useSkill(1, 'random') # Bad Breath (189260): Magic damage (4x, MAG) to all enemies, Inflict all status effects (100%) on all enemies
green += 1
apple = True # reset next turn
elif apple == False:
useSkill(3, 'random') # Photosynthesis (189380): Restore 5% HP to caster, Cure all status effects for caster
green += 1
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