Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ancient Ruins - Level 1
##
# Mission 'Ancient Ruins - Level 1' (11430201)
##
##
# Monster Info
##
#
# Monster Red Peak (102032001)
# Race Avian
# Level 100
# Actions 2-2
#
#
# Stats
# HP 1300000
# MP 130000
# ATK 1100
# DEF 26
# MAG 150
# SPR 18
#
#
# Damage resist
# physical 0%
# magical 50%
#
#
# 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 50%
#
#
# Debuff resist
# ATK 100%
# DEF 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 0%
# Berserk? 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Counter Beak (180490) [None]
#
# Physical* damage (20x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if self.is('join_party:1') and honey == False:
end_turn()
honey = True # persistent
elif unit('5:player?_any').is('before_turn_ab:1'):
useSkill(1, 'random') # Counter Beak (180490): Physical* damage (20x, ATK) to one enemy
else:
attack('random')
##
# Monster Info
##
#
# Monster Flame Fowl (102071000)
# Race Avian
# Level 100
# Actions 2-2
#
#
# Stats
# HP 1300000
# MP 130000
# ATK 150
# DEF 18
# MAG 1100
# SPR 26
#
#
# Damage resist
# physical 50%
# 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 50%
#
#
# Debuff resist
# ATK 100%
# DEF 100%
# MAG 100%
# SPR 100%
# Stop 100%
# Charm 0%
# Berserk? 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Counter Flame (180500) [None]
#
# Magic* fire damage (3.2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if self.is('join_party:1') and honey == False:
end_turn()
honey = True # persistent
elif unit('5:player?_any').usedMagicLastTurn():
useSkill(1, 'random') # Counter Flame (180500): Magic* fire damage (3.2x, MAG) to all enemies
else:
attack('random')
##
# Monster Info
##
#
# Monster Fledgling Rukh (102015009)
# Race Avian
# Level 100
# Actions 3-3
#
#
# Stats
# HP 648000
# MP 80000
# ATK 260
# DEF 25
# MAG 260
# SPR 50
#
#
# 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 (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 50%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 0%
# Charm 0%
# Berserk? 0%
#
#
# Immunity
# Death -
# Gravity -
#
###
###
# Skills
###
#
# Firaga (160170) [Magic]
#
# Magic fire damage (4x, MAG) to all enemies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
###
# AI
###
if random() <= 0.30 and apple == False:
useSkill(1, 'random') # Firaga (160170): Magic fire damage (4x, MAG) to all enemies
apple = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster Brutus (210006008)
# Race Stone
# Level 100
# Actions 3-3
#
#
# Stats
# HP 180000
# MP 20000
# ATK 380
# DEF 180
# MAG 50
# SPR 15
#
#
# 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 (+10% / application)
# Poison 0%
# Blind 0%
# Sleep 100%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 0%
# Charm 100%
# Berserk? 0%
#
#
# Immunity
# Death +
# Gravity -
#
###
###
# Skills
###
#
# Takedown (173480) [Physical]
#
# Physical damage (2.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shock Wave (173490) [Physical]
#
# Physical damage (2.7x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Bladeblitz (173500) [Physical]
#
# Physical damage (2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 +
#
##
###
# AI
###
if random() <= 0.30 and apple == False:
useSkill(1, 'random') # Takedown (173480): Physical damage (2.5x, ATK) to one enemy
apple = True # reset next turn
elif random() <= 0.30 and apple == False:
useSkill(3, 'random') # Bladeblitz (173500): Physical damage (2x, ATK) to all enemies
apple = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster Headstone (110001016)
# Race Stone
# Level 100
# Actions 3-3
#
#
# Stats
# HP 90000
# MP 10000
# ATK 260
# DEF 220
# MAG 106
# SPR 5
#
#
# 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 (+20% / application)
# Poison 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 100%
# MAG 0%
# SPR 0%
# Stop 0%
# Charm 100%
# Berserk? 0%
#
#
# Immunity
# Death +
# Gravity -
#
###
###
# Skills
###
#
# Flash (166520) [Magic]
#
# Inflict Blind (100%) on all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.30 and apple == False:
useSkill(1, 'random') # Flash (166520): Inflict Blind (100%) on all enemies
apple = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster Ancient Objet d'Art (110017005)
# Race Stone
# Level 100
# Actions 3-3
#
#
# Stats
# HP 135000
# MP 15000
# ATK 280
# DEF 120
# MAG 25
# SPR 25
#
#
# 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 (+10% / application)
# Poison 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 0%
# Charm 100%
# Berserk? 0%
#
#
# Immunity
# Death +
# Gravity -
#
###
###
# Skills
###
#
# Protectga (180540) [Magic]
#
# Increase DEF by 300% for 3 turns to all allies
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
###
# AI
###
if honey == False:
useSkill(1, 'random') # Protectga (180540): Increase DEF by 300% for 3 turns to all allies
honey = True # persistent
else:
attack('random')
##
# Monster Info
##
#
# Monster Lindbur Wolf (101028015)
# Race Beast
# Level 100
# Actions 3-3
#
#
# Stats
# HP 412000
# MP 46500
# ATK 320
# DEF 25
# MAG 25
# SPR 25
#
#
# 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 (+10% / application)
# Poison 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 0%
# Berserk? 0%
#
#
# Immunity
# Death -
# Gravity -
#
###
###
# Skills
###
#
# Charge (180560) [Physical]
#
# Physical damage (2x, ATK) to one enemy
# Inflict Paralyze (100%) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.30 and apple == False:
useSkill(1, 'random') # Charge (180560): Physical damage (2x, ATK) to one enemy, Inflict Paralyze (100%) on one enemy
apple = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster Bomb (104021029)
# Race Demon
# Level 100
# Actions 1-1
#
#
# Stats
# HP 13
# MP 15
# ATK 10
# DEF 2000000000
# MAG 5000
# SPR 2000000000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 50%
# Ice -50%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 0%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 0%
# Berserk? 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# About to explode! (180510) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Self-Destruct (180520) [None]
#
# 99% HP damage to all enemies
# Unused paramaters: [99,100]
# Instant KO (100%) to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if self.is('join_party:1') and honey == False:
end_turn()
honey = True # persistent
elif ramen == False:
useSkill(1, 'random') # About to explode! (180510): No effect
ramen = True # persistent
else:
useSkill(2, 'random') # Self-Destruct (180520): 99% HP damage to all enemies, Instant KO (100%) to caster
##
# Monster Info
##
#
# Monster Vamplant (111003011)
# Race Plantoid
# Level 100
# Actions 3-3
#
#
# Stats
# HP 440000
# MP 49000
# ATK 221
# DEF 30
# MAG 255
# SPR 180
#
#
# 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 (+10% / application)
# Poison 100%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 100%
# Petrify 0%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 0%
# Charm 0%
# Berserk? 0%
#
#
# Immunity
# Death -
# Gravity -
#
###
###
# Skills
###
#
# Eerie Sound Wave (180550) [Magic]
#
# Inflict Confusion (100%) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.30 and apple == False:
useSkill(1, 'random') # Eerie Sound Wave (180550): Inflict Confusion (100%) on one enemy
apple = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster Treant (111013029)
# Race Plantoid
# Level 100
# Actions 3-3
#
#
# Stats
# HP 990000
# MP 140000
# ATK 160
# DEF 15
# MAG 150
# SPR 15
#
#
# 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 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 0%
# Berserk? 0%
#
#
# Immunity
# Death -
# Gravity -
#
###
###
# Skills
###
#
# Eerie Sound Wave (180550) [Magic]
#
# Inflict Confusion (100%) on one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.30 and apple == False:
useSkill(1, 'random') # Eerie Sound Wave (180550): Inflict Confusion (100%) on one enemy
apple = True # reset next turn
else:
attack('random')
##
# Monster Info
##
#
# Monster Bennu (202018002)
# Race Avian
# Level 100
# Actions 9-9
#
#
# Stats
# HP 100000000
# MP 3000000
# ATK 710
# DEF 63
# MAG 720
# SPR 48
#
#
# 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 +
#
###
###
# Passives
###
#
# 全ステ50% (100015) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 50%
#
##
###
# Skills
###
#
# Samonbaad (180420) [None]
#
# Summon ally #3 (100%)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Samonbaad (180421) [None]
#
# Summon ally #4 (100%)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Samonbaad (180422) [None]
#
# Summon ally #7 (100%)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Samonbaad (180423) [None]
#
# Summon ally #8 (100%)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Samonbaad (180424) [None]
#
# Summon ally #5 (100%)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Samonbaad (180425) [None]
#
# Summon ally #6 (100%)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Samonbaad (180426) [None]
#
# Summon ally #9 (100%)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Samonbaad (180427) [None]
#
# Summon ally #10 (100%)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Samonbaad (180428) [None]
#
# Summon ally #1 (100%)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Samonbaad (180429) [None]
#
# Summon ally #2 (100%)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# A bomb has been produced! (180430) [None]
#
# Summon ally #15 (100%)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# A bomb has been produced! (180431) [None]
#
# Summon ally #16 (100%)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# A bomb has been produced! (180432) [None]
#
# Summon ally #13 (100%)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# A bomb has been produced! (180433) [None]
#
# Summon ally #14 (100%)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# A bomb has been produced! (180434) [None]
#
# Summon ally #12 (100%)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Black Flames (180440) [Magic]
#
# Magic damage (1.5x, MAG) to all enemies
# Unused paramaters: [50]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# White Flames (180450) [Physical]
#
# Physical damage (1.7x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Distortion (180460) [None]
#
# Inflict one random status effect (40%) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flames of Madness (180470) [None]
#
# Increase ATK, DEF, MAG and SPR by 300% for 5 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Revelation (180480) [Magic]
#
# Magic damage (6.7x, MAG) to one enemy
# Unused paramaters: [100]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Flames of Rage (180530) [None]
#
# Magic* damage (6.8x, MAG) to all enemies (ignore cover and reflect)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
end_turn()
elif unit('4:party?_any').is('party_alive_num:1,1') and sushi == True and white > 2 and otter* == False and goose* == False:
useSkill(21, 'random') # Flames of Rage (180530): Magic* damage (6.8x, MAG) to all enemies (ignore cover and reflect)
goose = True # reset next turn
elif unit('4:party?_any').is('party_alive_num:1,1') and sushi == True and white > 1 and otter* == False and mouse* == False:
useSkill(21, 'random') # Flames of Rage (180530): Magic* damage (6.8x, MAG) to all enemies (ignore cover and reflect)
mouse = True # reset next turn
elif unit('4:party?_any').is('party_alive_num:1,1') and sushi == True and white > 0 and otter* == False and tiger* == False:
useSkill(21, 'random') # Flames of Rage (180530): Magic* damage (6.8x, MAG) to all enemies (ignore cover and reflect)
tiger = True # reset next turn
elif unit('4:party?_any').is('party_alive_num:1,1') and sushi == True and otter* == False:
useSkill(21, 'random') # Flames of Rage (180530): Magic* damage (6.8x, MAG) to all enemies (ignore cover and reflect)
otter = True # reset next turn
white += 1
elif random() <= 0.50 and honey == False and isTurn(1) and once():
useSkill(5, 'random') # Samonbaad (180424): Summon ally #5 (100%)
honey = True # persistent
elif honey == False and isTurn(1) and once():
useSkill(6, 'random') # Samonbaad (180425): Summon ally #6 (100%)
honey = True # persistent
elif random() <= 0.50 and ramen == False and isTurn(3) and once():
useSkill(3, 'random') # Samonbaad (180422): Summon ally #7 (100%)
ramen = True # persistent
elif ramen == False and isTurn(3) and once():
useSkill(4, 'random') # Samonbaad (180423): Summon ally #8 (100%)
ramen = True # persistent
elif random() <= 0.50 and sushi == False and isTurn(5) and once():
useSkill(1, 'random') # Samonbaad (180420): Summon ally #3 (100%)
sushi = True # persistent
elif sushi == False and isTurn(5) and once():
useSkill(2, 'random') # Samonbaad (180421): Summon ally #4 (100%)
sushi = True # persistent
elif random() <= 0.50 and bacon == False and isTurn(10) and once():
useSkill(7, 'random') # Samonbaad (180426): Summon ally #9 (100%)
bacon = True # persistent
elif bacon == False and isTurn(10) and once():
useSkill(8, 'random') # Samonbaad (180427): Summon ally #10 (100%)
bacon = True # persistent
elif random() <= 0.50 and steak == False and self.HP < 0.3 and once():
useSkill(9, 'random') # Samonbaad (180428): Summon ally #1 (100%)
steak = True # persistent
elif steak == False and self.HP < 0.3 and once():
useSkill(10, 'random') # Samonbaad (180429): Summon ally #2 (100%)
steak = True # persistent
elif random() <= 0.50 and unit('3:party?_5').isDead() and unit('3:party?_6').isDead() and honey == True and berry == False:
useSkill(5, 'random') # Samonbaad (180424): Summon ally #5 (100%)
berry = True # reset next turn
elif unit('3:party?_5').isDead() and unit('3:party?_6').isDead() and honey == True and berry == False:
useSkill(6, 'random') # Samonbaad (180425): Summon ally #6 (100%)
berry = True # reset next turn
elif random() <= 0.50 and unit('3:party?_5').isDead() and honey == True and berry == False and salad == False:
useSkill(5, 'random') # Samonbaad (180424): Summon ally #5 (100%)
berry = True # reset next turn
elif unit('3:party?_5').isDead() and honey == True and berry == False and salad == False:
useSkill(6, 'random') # Samonbaad (180425): Summon ally #6 (100%)
berry = True # reset next turn
salad = True # persistent
elif random() <= 0.50 and unit('3:party?_6').isDead() and honey == True and berry == False and salad == False:
useSkill(5, 'random') # Samonbaad (180424): Summon ally #5 (100%)
berry = True # reset next turn
salad = True # persistent
elif unit('3:party?_6').isDead() and honey == True and berry == False and salad == False:
useSkill(6, 'random') # Samonbaad (180425): Summon ally #6 (100%)
berry = True # reset next turn
elif random() <= 0.50 and unit('3:party?_7').isDead() and unit('3:party?_8').isDead() and ramen == True and peach == False:
useSkill(3, 'random') # Samonbaad (180422): Summon ally #7 (100%)
peach = True # reset next turn
elif unit('3:party?_7').isDead() and unit('3:party?_8').isDead() and ramen == True and peach == False:
useSkill(4, 'random') # Samonbaad (180423): Summon ally #8 (100%)
peach = True # reset next turn
elif random() <= 0.50 and unit('3:party?_7').isDead() and ramen == True and peach == False and fries == False:
useSkill(3, 'random') # Samonbaad (180422): Summon ally #7 (100%)
peach = True # reset next turn
elif unit('3:party?_7').isDead() and ramen == True and peach == False and fries == False:
useSkill(4, 'random') # Samonbaad (180423): Summon ally #8 (100%)
peach = True # reset next turn
fries = True # persistent
elif random() <= 0.50 and unit('3:party?_8').isDead() and ramen == True and peach == False and fries == False:
useSkill(3, 'random') # Samonbaad (180422): Summon ally #7 (100%)
peach = True # reset next turn
fries = True # persistent
elif unit('3:party?_8').isDead() and ramen == True and peach == False and fries == False:
useSkill(4, 'random') # Samonbaad (180423): Summon ally #8 (100%)
peach = True # reset next turn
elif random() <= 0.50 and unit('3:party?_3').isDead() and unit('3:party?_4').isDead() and sushi == True and olive == False:
useSkill(1, 'random') # Samonbaad (180420): Summon ally #3 (100%)
olive = True # reset next turn
elif unit('3:party?_3').isDead() and unit('3:party?_4').isDead() and sushi == True and olive == False:
useSkill(2, 'random') # Samonbaad (180421): Summon ally #4 (100%)
olive = True # reset next turn
elif random() <= 0.50 and unit('3:party?_3').isDead() and sushi == True and olive == False and sugar == False:
useSkill(1, 'random') # Samonbaad (180420): Summon ally #3 (100%)
olive = True # reset next turn
elif unit('3:party?_3').isDead() and sushi == True and olive == False and sugar == False:
useSkill(2, 'random') # Samonbaad (180421): Summon ally #4 (100%)
olive = True # reset next turn
sugar = True # persistent
elif random() <= 0.50 and unit('3:party?_4').isDead() and sushi == True and olive == False and sugar == False:
useSkill(1, 'random') # Samonbaad (180420): Summon ally #3 (100%)
olive = True # reset next turn
sugar = True # persistent
elif unit('3:party?_4').isDead() and sushi == True and olive == False and sugar == False:
useSkill(2, 'random') # Samonbaad (180421): Summon ally #4 (100%)
olive = True # reset next turn
elif random() <= 0.50 and unit('3:party?_9').isDead() and unit('3:party?_10').isDead() and bacon == True and mango == False:
useSkill(7, 'random') # Samonbaad (180426): Summon ally #9 (100%)
mango = True # reset next turn
elif unit('3:party?_9').isDead() and unit('3:party?_10').isDead() and bacon == True and mango == False:
useSkill(8, 'random') # Samonbaad (180427): Summon ally #10 (100%)
mango = True # reset next turn
elif random() <= 0.50 and unit('3:party?_9').isDead() and bacon == True and mango == False and pizza == False:
useSkill(7, 'random') # Samonbaad (180426): Summon ally #9 (100%)
mango = True # reset next turn
elif unit('3:party?_9').isDead() and bacon == True and mango == False and pizza == False:
useSkill(8, 'random') # Samonbaad (180427): Summon ally #10 (100%)
mango = True # reset next turn
pizza = True # persistent
elif random() <= 0.50 and unit('3:party?_10').isDead() and bacon == True and mango == False and pizza == False:
useSkill(7, 'random') # Samonbaad (180426): Summon ally #9 (100%)
mango = True # reset next turn
pizza = True # persistent
elif unit('3:party?_10').isDead() and bacon == True and mango == False and pizza == False:
useSkill(8, 'random') # Samonbaad (180427): Summon ally #10 (100%)
mango = True # reset next turn
elif random() <= 0.50 and unit('3:party?_1').isDead() and unit('3:party?_2').isDead() and steak == True and lemon == False:
useSkill(9, 'random') # Samonbaad (180428): Summon ally #1 (100%)
lemon = True # reset next turn
elif unit('3:party?_1').isDead() and unit('3:party?_2').isDead() and steak == True and lemon == False:
useSkill(10, 'random') # Samonbaad (180429): Summon ally #2 (100%)
lemon = True # reset next turn
elif random() <= 0.50 and unit('3:party?_1').isDead() and steak == True and lemon == False and pasta == False:
useSkill(9, 'random') # Samonbaad (180428): Summon ally #1 (100%)
lemon = True # reset next turn
elif unit('3:party?_1').isDead() and steak == True and lemon == False and pasta == False:
useSkill(10, 'random') # Samonbaad (180429): Summon ally #2 (100%)
lemon = True # reset next turn
pasta = True # persistent
elif random() <= 0.50 and unit('3:party?_2').isDead() and steak == True and lemon == False and pasta == False:
useSkill(9, 'random') # Samonbaad (180428): Summon ally #1 (100%)
lemon = True # reset next turn
pasta = True # persistent
elif unit('3:party?_2').isDead() and steak == True and lemon == False and pasta == False:
useSkill(10, 'random') # Samonbaad (180429): Summon ally #2 (100%)
lemon = True # reset next turn
elif unit('3:party?_13').isAlive() and honey* == False and sushi* == False and self.HP < 0.3 and once():
attack('random')
sushi = True # persistent
elif unit('3:party?_14').isAlive() and honey* == False and bacon* == False and self.HP < 0.3 and once():
attack('random')
bacon = True # persistent
elif honey* == False and sushi* == False and self.HP < 0.3 and once():
useSkill(11, 'random') # A bomb has been produced! (180430): Summon ally #15 (100%)
elif honey* == False and bacon* == False and self.HP < 0.3 and once():
useSkill(12, 'random') # A bomb has been produced! (180431): Summon ally #16 (100%)
honey = True # persistent
elif honey* == False and ramen* == False and self.HP < 0.6 and once():
useSkill(13, 'random') # A bomb has been produced! (180432): Summon ally #13 (100%)
elif honey* == False and ramen* == False and self.HP < 0.6 and once():
useSkill(14, 'random') # A bomb has been produced! (180433): Summon ally #14 (100%)
ramen = True # persistent
elif honey* == False and ramen* == False and self.HP < 0.8 and once():
useSkill(15, 'random') # A bomb has been produced! (180434): Summon ally #12 (100%)
elif green == -1 and horse* == False and self.HP < 0.3:
useSkill(16, 'random') # Black Flames (180440): Magic damage (1.5x, MAG) to all enemies
horse = True # reset next turn
elif green == -1 and melon == False and self.HP < 0.6:
useSkill(16, 'random') # Black Flames (180440): Magic damage (1.5x, MAG) to all enemies
melon = True # reset next turn
elif green == -1 and grape == False:
useSkill(17, 'random') # White Flames (180450): Physical damage (1.7x, ATK) to all enemies
grape = True # reset next turn
green += 1
elif green == 0 and grape == False:
useSkill(18, 'random') # Distortion (180460): Inflict one random status effect (40%) to all enemies
grape = True # reset next turn
green += 1
elif green == 1 and grape == False:
useSkill(19, 'random') # Flames of Madness (180470): Increase ATK, DEF, MAG and SPR by 300% for 5 turns to caster
grape = True # reset next turn
apple = True # reset next turn
green += 1
elif green == 2 and gourd == False and self.HP < 0.3:
useSkill(20, 'random') # Revelation (180480): Magic damage (6.7x, MAG) to one enemy
gourd = True # reset next turn
elif green == 2 and guava == False and self.HP < 0.6:
useSkill(20, 'random') # Revelation (180480): Magic damage (6.7x, MAG) to one enemy
guava = True # reset next turn
elif green == 2 and grape == False:
useSkill(20, 'random') # Revelation (180480): Magic damage (6.7x, MAG) to one enemy
grape = True # reset next turn
melon = True # reset next turn
horse = True # reset next turn
green = 0
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.