Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active December 11, 2018 12:18
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/10d5726a79996c0e57d19c1aa4f8d199 to your computer and use it in GitHub Desktop.
Save aEnigmatic/10d5726a79996c0e57d19c1aa4f8d199 to your computer and use it in GitHub Desktop.
Shinryu / Abyss Dragon?
##
# Mission '深淵より出でし竜・覚醒級' (8995903)
# Enemy has first strike!
#
# Battles
# * しんりゅう
##
##
# Monster Info
##
#
# Monster しんりゅう (407251002)
# Race Dragon
# Level 99
# Actions 40-40
#
#
# Stats
# HP 300000000
# MP 100000
# ATK 1550
# DEF 1250
# MAG 1670
# SPR 1300
#
#
# 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 100%
# Blind 0%
# 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
###
#
# しんりゅう降臨ファイナルアタック_覚醒級 (100072) [Passive]
#
# Upon defeat, use Final Attack (215310) and Gigaflare (215314) [?]
#
##
#
# 全ステ60% (100048) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 60%
#
##
#
# 光属性吸収 (100012) [Passive]
#
# Absorb Light elemental attacks
#
##
###
# Skills
###
#
# しんりゅうの爪 (215311) [Physical]
#
# Hybrid* damage (2.2x, ATK and 2.1x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# しんりゅうの尾 (215312) [None]
#
# Hybrid* damage (1.9x, ATK and 1.8x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# フレア (215313) [Magic]
#
# Magic fire damage (5x, MAG) to one enemy
# Reduce resistance to Water by 30% for 3 turns to one enemy
#
# Sealable + Unknown1 +
# Reflect + Unknown2 -
#
##
#
# ギガフレア (215314) [None]
#
# Physical* fire damage (6x, ATK) to all enemies (+100% accuracy)
# Magic* fire damage (6x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ミールストーム (215315) [None]
#
# 98% HP damage to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# しんりゅうが激高した! (215316) [None]
#
# Increase ATK and MAG by 10% for 3 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# アルマゲスト (215317) [None]
#
# Magic* damage (4.7x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# アルマゲスト (215318) [None]
#
# Magic* damage (5.8x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ふぶき (215319) [Magic]
#
# Magic ice damage (2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# いなづま (215320) [Magic]
#
# Magic lightning damage (2x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ほのお (215321) [Magic]
#
# Magic fire damage (2x, MAG) to all enemies
# Reduce resistance to Fire by 30% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# じしん (215322) [Physical]
#
# Physical earth damage (3.5x, ATK) to all enemies
# Reduce ATK, DEF, MAG and SPR by 30% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# マイティガード (215323) [None]
#
# Increase DEF and SPR by 55% for one turn to caster
# Increase DEF and SPR by 40% for 3 turns to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# しのルーレット (215301) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# しのルーレット (215302) [Magic]
#
# Instant KO (100%) to one enemy (ignores death resist)
# Remove all buffs and debuffs from one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# しのルーレット (215324) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# しのルーレット (215325) [Magic]
#
# [Death]
# Instant KO (100%) to caster
#
# Sealable - Unknown1 +
# Reflect + Unknown2 -
#
##
#
# 強制的に仲間が集められた! (215328) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 強制集合 (215327) [None]
#
# Force all enemies to return to the battle field
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 強制的に仲間が集められた! (215328) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 水の力が集中した! (215329) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# タイダルウエイブ (215330) [Magic]
#
# Magic water damage (6x, MAG) to all enemies
# Reduce resistance to Lightning by 30% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 火の力が集中した! (215331) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# アトミックレイ (215332) [Magic]
#
# Magic fire damage (3.5x, MAG) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ファイナルアタック (215310) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# あくまのひとみ (215326) [None]
#
# Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from one enemy for one turn
# Inflict Petrify (100%) on one enemy
# Remove all buffs and debuffs from one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# しのルーレット (215333) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
useSkill(21, 'random') # 水の力が集中した! (215329): No effect
elif once():
useSkill(22, 'random') # タイダルウエイブ (215330): Magic water damage (6x, MAG) to all enemies, Reduce resistance to Lightning by 30% for 3 turns to all enemies
elif once():
useSkill(13, 'random') # マイティガード (215323): Increase DEF and SPR by 55% for one turn to caster, Increase DEF and SPR by 40% for 3 turns to caster
apple = True # reset next turn
elif unit('5:enemy:any').is('outside_field:0') and unk_80 == False:
useSkill(19, 'random') # 強制集合 (215327): Force all enemies to return to the battle field
unk_80 = True # reset next turn
elif unk_80 == True and unk_81 == False:
useSkill(20, 'random') # 強制的に仲間が集められた! (215328): No effect
unk_81 = Timer.create() # timer
elif steak == True and fries == True and lemon == False:
useSkill(6, 'random') # しんりゅうが激高した! (215316): Increase ATK and MAG by 10% for 3 turns to caster
lemon = True # reset next turn
elif fries == True and lemon == False and grape == False:
useSkill(8, 'random') # アルマゲスト (215318): Magic* damage (5.8x, MAG) to all enemies
grape = True # reset next turn
fries = False # persistent
elif once() and self.HP < 0.85 and steak == True:
useSkill(27, 'random') # しのルーレット (215333): No effect
unk_82 = Timer.create() # timer
salad = True # persistent
elif once() and self.HP < 0.85 and steak == True:
wait() # No action
elif once() and self.HP < 0.85 and steak == True:
wait() # No action
elif once() and self.HP < 0.85 and steak == True:
wait() # No action
elif once() and self.HP < 0.85 and steak == True:
wait() # No action
elif once() and self.HP < 0.7 and unk_82 == False and steak == True:
useSkill(27, 'random') # しのルーレット (215333): No effect
unk_83 = Timer.create() # timer
salad = True # persistent
elif once() and self.HP < 0.7 and unk_82 == False and steak == True:
wait() # No action
elif once() and self.HP < 0.7 and unk_82 == False and steak == True:
wait() # No action
elif once() and self.HP < 0.7 and unk_82 == False and steak == True:
wait() # No action
elif once() and self.HP < 0.7 and unk_82 == False and steak == True:
wait() # No action
elif once() and self.HP < 0.55 and unk_82 == False and unk_83 == False and steak == True:
useSkill(27, 'random') # しのルーレット (215333): No effect
unk_84 = Timer.create() # timer
salad = True # persistent
elif once() and self.HP < 0.55 and unk_82 == False and unk_83 == False and steak == True:
wait() # No action
elif once() and self.HP < 0.55 and unk_82 == False and unk_83 == False and steak == True:
wait() # No action
elif once() and self.HP < 0.55 and unk_82 == False and unk_83 == False and steak == True:
wait() # No action
elif once() and self.HP < 0.55 and unk_82 == False and unk_83 == False and steak == True:
wait() # No action
elif once() and self.HP < 0.4 and unk_82 == False and unk_83 == False and steak == True and unk_84 == False:
useSkill(27, 'random') # しのルーレット (215333): No effect
unk_85 = Timer.create() # timer
salad = True # persistent
elif once() and self.HP < 0.4 and unk_82 == False and unk_83 == False and steak == True and unk_84 == False:
wait() # No action
elif once() and self.HP < 0.4 and unk_82 == False and unk_83 == False and steak == True and unk_84 == False:
wait() # No action
elif once() and self.HP < 0.4 and unk_82 == False and unk_83 == False and steak == True and unk_84 == False:
wait() # No action
elif once() and self.HP < 0.4 and unk_82 == False and unk_83 == False and steak == True and unk_84 == False:
wait() # No action
elif once() and self.HP < 0.2 and unk_82 == False and unk_83 == False and steak == True and unk_84 == False and unk_85 == False:
useSkill(27, 'random') # しのルーレット (215333): No effect
unk_86 += 1
salad = True # persistent
elif once() and self.HP < 0.2 and unk_82 == False and unk_83 == False and steak == True and unk_84 == False and unk_85 == False:
wait() # No action
elif once() and self.HP < 0.2 and unk_82 == False and unk_83 == False and steak == True and unk_84 == False and unk_85 == False:
wait() # No action
elif once() and self.HP < 0.2 and unk_82 == False and unk_83 == False and steak == True and unk_84 == False and unk_85 == False:
wait() # No action
elif once() and self.HP < 0.2 and unk_82 == False and unk_83 == False and steak == True and unk_84 == False and unk_85 == False:
wait() # No action
elif unit('7:enemy:1:しんりゅう').is('outside_field:0') and unk_61 == False and salad == True:
wait('slot #1') # No action
unk_61 = True # persistent
elif unit('7:enemy:1:しんりゅう').hasStatus('Petrify') and unk_61 == False and salad == True:
wait('slot #1') # No action
unk_61 = True # persistent
elif unit('7:enemy:1:しんりゅう').is('dead') and unk_61 == False and salad == True:
wait('slot #1') # No action
unk_61 = True # persistent
elif unit('7:enemy:1:しんりゅう').is('alive') and unit('7:enemy:1:しんりゅう').is('outside_field:1') and unk_61 == False and salad == True:
useSkill(14, 'slot #1') # しのルーレット (215301): No effect
unk_61 = True # persistent
elif unit('7:enemy:2').is('outside_field:0') and unk_62 == False and salad == True:
wait('slot #2') # No action
unk_62 = True # persistent
elif unit('7:enemy:2').hasStatus('Petrify') and unk_62 == False and salad == True:
wait('slot #2') # No action
unk_62 = True # persistent
elif unit('7:enemy:2').is('dead') and unk_62 == False and salad == True:
wait('slot #2') # No action
unk_62 = True # persistent
elif unit('7:enemy:2').is('alive') and unit('7:enemy:2').is('outside_field:1') and unk_62 == False and salad == True:
useSkill(14, 'slot #2') # しのルーレット (215301): No effect
unk_62 = True # persistent
elif unit('7:enemy:3').is('outside_field:0') and unk_63 == False and salad == True:
wait('slot #3') # No action
unk_63 = True # persistent
elif unit('7:enemy:3').hasStatus('Petrify') and unk_63 == False and salad == True:
wait('slot #3') # No action
unk_63 = True # persistent
elif unit('7:enemy:3').is('dead') and unk_63 == False and salad == True:
wait('slot #3') # No action
unk_63 = True # persistent
elif unit('7:enemy:3').is('alive') and unit('7:enemy:3').is('outside_field:1') and unk_63 == False and salad == True:
useSkill(14, 'slot #3') # しのルーレット (215301): No effect
unk_63 = True # persistent
elif unit('7:enemy:4').is('outside_field:0') and unk_64 == False and salad == True:
wait('slot #4') # No action
unk_64 = True # persistent
elif unit('7:enemy:4').hasStatus('Petrify') and unk_64 == False and salad == True:
wait('slot #4') # No action
unk_64 = True # persistent
elif unit('7:enemy:4').is('dead') and unk_64 == False and salad == True:
wait('slot #4') # No action
unk_64 = True # persistent
elif unit('7:enemy:4').is('alive') and unit('7:enemy:4').is('outside_field:1') and unk_64 == False and salad == True:
useSkill(14, 'slot #4') # しのルーレット (215301): No effect
unk_64 = True # persistent
elif unit('7:enemy:5').is('outside_field:0') and unk_65 == False and salad == True:
wait('slot #5') # No action
unk_65 = True # persistent
elif unit('7:enemy:5').hasStatus('Petrify') and unk_65 == False and salad == True:
wait('slot #5') # No action
unk_65 = True # persistent
elif unit('7:enemy:5').is('dead') and unk_65 == False and salad == True:
wait('slot #5') # No action
unk_65 = True # persistent
elif unit('7:enemy:5').is('alive') and unit('7:enemy:5').is('outside_field:1') and unk_65 == False and salad == True:
useSkill(14, 'slot #5') # しのルーレット (215301): No effect
unk_65 = True # persistent
elif unit('7:enemy:6').is('outside_field:0') and unk_66 == False and salad == True:
wait('slot #6') # No action
unk_66 = True # persistent
elif unit('7:enemy:6').is('dead') and unk_66 == False and salad == True:
wait('slot #6') # No action
unk_66 = True # persistent
elif unit('7:enemy:6').hasStatus('Petrify') and unk_66 == False and salad == True:
wait('slot #6') # No action
unk_66 = True # persistent
elif unit('7:enemy:6').is('alive') and unit('7:enemy:6').is('outside_field:1') and unk_66 == False and salad == True:
useSkill(14, 'slot #6') # しのルーレット (215301): No effect
unk_66 = True # persistent
elif unk_79 == False and salad == True:
useSkill(16, 'random') # しのルーレット (215324): No effect
unk_79 = True # reset next turn
var_7 = True # persistent
elif random() <= 0.60 and var_7 == True and unk_86 == False and salad == True:
wait() # No action
unk_86 += 1
var_7 = False # persistent
elif self.hasReflect() and unk_86 == False and var_7 == True and salad == True:
useSkill(17, 'random') # しのルーレット (215325): [Death], Instant KO (100%) to caster
unk_86 += 1
var_7 = False # persistent
mango = True # reset next turn
elif not self.hasReflect() and unk_86 == False and var_7 == True and salad == True:
useSkill(17, 'random') # しのルーレット (215325): [Death], Instant KO (100%) to caster
unk_86 += 1
mango = True # reset next turn
fries = True # persistent
elif unit('7:enemy:1:しんりゅう').is('outside_field:0') and unk_67 == False and salad == True and mango == False:
wait('slot #1') # No action
unk_67 = True # persistent
elif unit('7:enemy:1:しんりゅう').hasStatus('Petrify') and unk_67 == False and salad == True and mango == False:
wait('slot #1') # No action
unk_67 = True # persistent
elif unit('7:enemy:1:しんりゅう').is('dead') and unk_67 == False and salad == True and mango == False:
wait('slot #1') # No action
unk_67 = True # persistent
elif unit('7:enemy:1:しんりゅう').is('alive') and unit('7:enemy:1:しんりゅう').is('outside_field:1') and unk_67 == False and salad == True and mango == False:
useSkill(14, 'slot #1') # しのルーレット (215301): No effect
unk_67 = True # persistent
var_1 = True # persistent
elif random() <= 0.65 and unit('7:enemy:1:しんりゅう').is('alive') and unit('7:enemy:1:しんりゅう').is('outside_field:1') and var_1 == True and unk_73 == False and salad == True and mango == False:
wait('slot #1') # No action
unk_73 = True # reset next turn
var_1 = False # persistent
elif unit('7:enemy:1:しんりゅう').is('alive') and unit('7:enemy:1:しんりゅう').is('outside_field:1') and var_1 == True and unk_73 == False and mango == False and salad == True:
useSkill(15, 'slot #1') # しのルーレット (215302): Instant KO (100%) to one enemy (ignores death resist), Remove all buffs and debuffs from one enemy
var_1 = False # persistent
mango = True # reset next turn
elif unit('7:enemy:2').is('outside_field:0') and unk_68 == False and salad == True and mango == False:
wait('slot #2') # No action
unk_68 = True # persistent
elif unit('7:enemy:2').hasStatus('Petrify') and unk_68 == False and salad == True and mango == False:
wait('slot #2') # No action
unk_68 = True # persistent
elif unit('7:enemy:2').is('dead') and unk_68 == False and salad == True and mango == False:
wait('slot #2') # No action
unk_68 = True # persistent
elif unit('7:enemy:2').is('alive') and unit('7:enemy:2').is('outside_field:1') and unk_68 == False and salad == True and mango == False:
useSkill(14, 'slot #2') # しのルーレット (215301): No effect
unk_68 = True # persistent
var_2 = True # persistent
elif random() <= 0.60 and unit('7:enemy:2').is('alive') and unit('7:enemy:2').is('outside_field:1') and var_2 == True and unk_74 == False and salad == True and mango == False:
wait('slot #2') # No action
unk_74 = True # reset next turn
var_2 = False # persistent
elif unit('7:enemy:2').is('alive') and unit('7:enemy:2').is('outside_field:1') and var_2 == True and unk_74 == False and mango == False and salad == True:
useSkill(15, 'slot #2') # しのルーレット (215302): Instant KO (100%) to one enemy (ignores death resist), Remove all buffs and debuffs from one enemy
var_2 = False # persistent
mango = True # reset next turn
elif unit('7:enemy:3').is('outside_field:0') and unk_69 == False and salad == True and mango == False:
wait('slot #3') # No action
unk_69 = True # persistent
elif unit('7:enemy:3').hasStatus('Petrify') and unk_69 == False and salad == True and mango == False:
wait('slot #3') # No action
unk_69 = True # persistent
elif unit('7:enemy:3').is('dead') and unk_69 == False and salad == True and mango == False:
wait('slot #3') # No action
unk_69 = True # persistent
elif unit('7:enemy:3').is('alive') and unit('7:enemy:3').is('outside_field:1') and unk_69 == False and salad == True and mango == False:
useSkill(14, 'slot #3') # しのルーレット (215301): No effect
unk_69 = True # persistent
var_3 = True # persistent
elif random() <= 0.55 and unit('7:enemy:3').is('alive') and unit('7:enemy:3').is('outside_field:1') and var_3 == True and unk_75 == False and salad == True and mango == False:
wait('slot #3') # No action
unk_75 = True # reset next turn
var_3 = False # persistent
elif unit('7:enemy:3').is('alive') and unit('7:enemy:3').is('outside_field:1') and var_3 == True and unk_75 == False and mango == False and salad == True:
useSkill(15, 'slot #3') # しのルーレット (215302): Instant KO (100%) to one enemy (ignores death resist), Remove all buffs and debuffs from one enemy
var_3 = False # persistent
mango = True # reset next turn
elif unit('7:enemy:4').is('outside_field:0') and unk_70 == False and salad == True and mango == False:
wait('slot #4') # No action
unk_70 = True # persistent
elif unit('7:enemy:4').hasStatus('Petrify') and unk_70 == False and salad == True and mango == False:
wait('slot #4') # No action
unk_70 = True # persistent
elif unit('7:enemy:4').is('dead') and unk_70 == False and salad == True and mango == False:
wait('slot #4') # No action
unk_70 = True # persistent
elif unit('7:enemy:4').is('alive') and unit('7:enemy:4').is('outside_field:1') and unk_70 == False and salad == True and mango == False:
useSkill(14, 'slot #4') # しのルーレット (215301): No effect
unk_70 = True # persistent
var_4 = True # persistent
elif random() <= 0.55 and unit('7:enemy:4').is('alive') and unit('7:enemy:4').is('outside_field:1') and var_4 == True and unk_76 == False and salad == True and mango == False:
wait('slot #4') # No action
unk_76 = True # reset next turn
var_4 = False # persistent
elif unit('7:enemy:4').is('alive') and unit('7:enemy:4').is('outside_field:1') and var_4 == True and unk_76 == False and mango == False and salad == True:
useSkill(15, 'slot #4') # しのルーレット (215302): Instant KO (100%) to one enemy (ignores death resist), Remove all buffs and debuffs from one enemy
var_4 = False # persistent
mango = True # reset next turn
elif unit('7:enemy:5').is('outside_field:0') and unk_71 == False and salad == True and mango == False:
wait('slot #5') # No action
unk_71 = True # reset next turn
elif unit('7:enemy:5').hasStatus('Petrify') and unk_71 == False and salad == True and mango == False:
wait('slot #5') # No action
unk_71 = True # reset next turn
elif unit('7:enemy:5').is('dead') and unk_71 == False and salad == True and mango == False:
wait('slot #5') # No action
unk_71 = True # reset next turn
elif unit('7:enemy:5').is('alive') and unit('7:enemy:5').is('outside_field:1') and unk_71 == False and salad == True and mango == False:
useSkill(14, 'slot #5') # しのルーレット (215301): No effect
unk_71 = True # reset next turn
var_5 = True # persistent
elif random() <= 0.50 and unit('7:enemy:5').is('alive') and unit('7:enemy:5').is('outside_field:1') and var_5 == True and unk_77 == False and salad == True and mango == False:
wait('slot #5') # No action
unk_77 = True # reset next turn
var_5 = False # persistent
elif unit('7:enemy:5').is('alive') and unit('7:enemy:5').is('outside_field:1') and var_5 == True and unk_77 == False and mango == False and salad == True:
useSkill(15, 'slot #5') # しのルーレット (215302): Instant KO (100%) to one enemy (ignores death resist), Remove all buffs and debuffs from one enemy
var_5 = False # persistent
mango = True # reset next turn
elif unit('7:enemy:6').is('outside_field:0') and unk_72 == False and salad == True and mango == False:
wait('slot #6') # No action
unk_72 = True # reset next turn
elif unit('7:enemy:6').hasStatus('Petrify') and unk_72 == False and salad == True and mango == False:
wait('slot #6') # No action
unk_72 = True # reset next turn
elif unit('7:enemy:6').is('dead') and unk_72 == False and salad == True and mango == False:
wait('slot #6') # No action
unk_72 = True # reset next turn
elif unit('7:enemy:6').is('alive') and unit('7:enemy:6').is('outside_field:1') and unk_72 == False and salad == True and mango == False:
useSkill(14, 'slot #6') # しのルーレット (215301): No effect
unk_72 = True # reset next turn
var_6 = True # persistent
elif random() <= 0.45 and unit('7:enemy:6').is('alive') and unit('7:enemy:6').is('outside_field:1') and var_6 == True and unk_78 == False and salad == True and mango == False:
wait('slot #6') # No action
unk_78 = True # reset next turn
var_6 = False # persistent
elif unit('7:enemy:6').is('alive') and unit('7:enemy:6').is('outside_field:1') and var_6 == True and unk_78 == False and mango == False and salad == True:
useSkill(15, 'slot #6') # しのルーレット (215302): Instant KO (100%) to one enemy (ignores death resist), Remove all buffs and debuffs from one enemy
var_6 = False # persistent
mango = True # reset next turn
elif unk_87 == False and mango == False and salad == True:
useSkill(16, 'random') # しのルーレット (215324): No effect
unk_87 += 1
elif self.hasReflect() and mango == False and salad == True:
useSkill(17, 'random') # しのルーレット (215325): [Death], Instant KO (100%) to caster
mango = True # reset next turn
elif not self.hasReflect() and mango == False and salad == True:
useSkill(17, 'random') # しのルーレット (215325): [Death], Instant KO (100%) to caster
mango = True # reset next turn
fries = True # persistent
elif self.HP > 0.5 and steak == True and guava == False and isTurnMod(4):
useSkill(13, 'random') # マイティガード (215323): Increase DEF and SPR by 55% for one turn to caster, Increase DEF and SPR by 40% for 3 turns to caster
guava = True # reset next turn
elif self.HP < 0.5 and steak == True and guava == False and isTurnMod(3):
useSkill(13, 'random') # マイティガード (215323): Increase DEF and SPR by 55% for one turn to caster, Increase DEF and SPR by 40% for 3 turns to caster
guava = True # reset next turn
elif self.HP > 0.5 and green >= 10 and honey == True and olive == False:
wait() # No action
black = 0
olive = True # reset next turn
steak = True # persistent
elif self.HP > 0.5 and green >= 10 and honey == True:
endTurn()
white = 0
green = 0
salad = False # persistent
steak = False # persistent
ramen = True # persistent
honey = False # persistent
elif self.HP < 0.5 and green >= 11 and honey == True and olive == False:
wait() # No action
black = 0
olive = True # reset next turn
steak = True # persistent
elif self.HP < 0.5 and green >= 11 and honey == True:
endTurn()
white = 0
green = 0
salad = False # persistent
steak = False # persistent
ramen = True # persistent
honey = False # persistent
elif berry == False and honey == True:
useSkill(24, 'random') # アトミックレイ (215332): Magic fire damage (3.5x, MAG) to all enemies
green += 1
berry = True # reset next turn
elif random() <= 0.45 and white >= 2 and honey == True and black == 0:
useSkill(11, 'random') # ほのお (215321): Magic fire damage (2x, MAG) to all enemies, Reduce resistance to Fire by 30% for 3 turns to all enemies
black += 1
white = 0
green += 1
elif random() <= 0.50 and white >= 2 and honey == True:
useSkill(12, 'random') # じしん (215322): Physical earth damage (3.5x, ATK) to all enemies, Reduce ATK, DEF, MAG and SPR by 30% for 3 turns to all enemies
black = 0
white = 0
green += 1
elif white >= 2 and honey == True:
useSkill(3, 'random') # フレア (215313): Magic fire damage (5x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
black = 0
white = 0
green += 1
elif honey == True:
useSkill(1, 'random') # しんりゅうの爪 (215311): Hybrid* damage (2.2x, ATK and 2.1x, MAG) to one enemy
white += 1
green += 1
elif self.HP > 0.5 and green >= 3 and ramen == True and olive == False:
wait() # No action
black = 0
olive = True # reset next turn
steak = True # persistent
elif self.HP > 0.5 and green >= 3 and ramen == True:
endTurn()
white = 0
green = 0
salad = False # persistent
steak = False # persistent
sushi = True # persistent
ramen = False # persistent
elif self.HP < 0.5 and green >= 4 and ramen == True and olive == False:
wait() # No action
black = 0
olive = True # reset next turn
steak = True # persistent
elif self.HP < 0.5 and green >= 4 and ramen == True:
endTurn()
white = 0
green = 0
salad = False # persistent
steak = False # persistent
sushi = True # persistent
ramen = False # persistent
elif berry == False and ramen == True:
useSkill(5, 'random') # ミールストーム (215315): 98% HP damage to all enemies
green += 1
berry = True # reset next turn
elif random() <= 0.45 and peach == False and ramen == True:
useSkill(26, 'highest ATK') # あくまのひとみ (215326): Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from one enemy for one turn, Inflict Petrify (100%) on one enemy, Remove all buffs and debuffs from one enemy
green += 1
peach = True # reset next turn
elif peach == False and ramen == True:
useSkill(26, 'random') # あくまのひとみ (215326): Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from one enemy for one turn, Inflict Petrify (100%) on one enemy, Remove all buffs and debuffs from one enemy
green += 1
peach = True # reset next turn
elif self.HP < 0.5 and gourd == False and ramen == True:
useSkill(26, 'highest DEF') # あくまのひとみ (215326): Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from one enemy for one turn, Inflict Petrify (100%) on one enemy, Remove all buffs and debuffs from one enemy
green += 1
gourd = True # reset next turn
elif ramen == True:
useSkill(21, 'random') # 水の力が集中した! (215329): No effect
green += 1
elif self.HP > 0.5 and green >= 10 and sushi == True and olive == False:
wait() # No action
black = 0
olive = True # reset next turn
steak = True # persistent
elif self.HP > 0.5 and green >= 10 and sushi == True:
endTurn()
white = 0
green = 0
salad = False # persistent
steak = False # persistent
bacon = True # persistent
sushi = False # persistent
elif self.HP < 0.5 and green >= 11 and sushi == True and olive == False:
wait() # No action
black = 0
olive = True # reset next turn
steak = True # persistent
elif self.HP < 0.5 and green >= 11 and sushi == True:
endTurn()
white = 0
green = 0
salad = False # persistent
steak = False # persistent
bacon = True # persistent
sushi = False # persistent
elif berry == False and sushi == True:
useSkill(22, 'random') # タイダルウエイブ (215330): Magic water damage (6x, MAG) to all enemies, Reduce resistance to Lightning by 30% for 3 turns to all enemies
green += 1
berry = True # reset next turn
elif random() <= 0.45 and white >= 2 and sushi == True and black == 0:
useSkill(12, 'random') # じしん (215322): Physical earth damage (3.5x, ATK) to all enemies, Reduce ATK, DEF, MAG and SPR by 30% for 3 turns to all enemies
black += 1
white = 0
green += 1
elif random() <= 0.50 and white >= 2 and sushi == True:
useSkill(9, 'random') # ふぶき (215319): Magic ice damage (2x, MAG) to all enemies
black = 0
white = 0
green += 1
elif white >= 2 and sushi == True:
useSkill(3, 'random') # フレア (215313): Magic fire damage (5x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
black = 0
white = 0
green += 1
elif sushi == True:
useSkill(1, 'random') # しんりゅうの爪 (215311): Hybrid* damage (2.2x, ATK and 2.1x, MAG) to one enemy
white += 1
green += 1
elif green >= 10 and peach == False and bacon == True:
useSkill(26, 'highest SPR') # あくまのひとみ (215326): Remove resistances to Poison, Blind, Sleep, Silence, Paralyze, Confusion, Disease and Petrify from one enemy for one turn, Inflict Petrify (100%) on one enemy, Remove all buffs and debuffs from one enemy
peach = True # reset next turn
elif green >= 10 and bacon == True and olive == False:
wait() # No action
black = 0
olive = True # reset next turn
steak = True # persistent
elif green >= 10 and bacon == True:
endTurn()
white = 0
green = 0
salad = False # persistent
steak = False # persistent
bacon = False # persistent
elif berry == False and bacon == True:
useSkill(7, 'random') # アルマゲスト (215317): Magic* damage (4.7x, MAG) to all enemies
green += 1
berry = True # reset next turn
elif random() <= 0.45 and white >= 2 and bacon == True and black == 0:
useSkill(10, 'random') # いなづま (215320): Magic lightning damage (2x, MAG) to all enemies
black += 1
white = 0
green += 1
elif random() <= 0.50 and white >= 2 and bacon == True:
useSkill(11, 'random') # ほのお (215321): Magic fire damage (2x, MAG) to all enemies, Reduce resistance to Fire by 30% for 3 turns to all enemies
black = 0
white = 0
green += 1
elif white >= 2 and bacon == True:
useSkill(3, 'random') # フレア (215313): Magic fire damage (5x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
black = 0
white = 0
green += 1
elif bacon == True:
useSkill(1, 'random') # しんりゅうの爪 (215311): Hybrid* damage (2.2x, ATK and 2.1x, MAG) to one enemy
white += 1
green += 1
elif green >= 10 and peach == False:
useSkill(23, 'random') # 火の力が集中した! (215331): No effect
peach = True # reset next turn
elif green >= 10 and olive == False:
wait() # No action
black = 0
olive = True # reset next turn
steak = True # persistent
elif green >= 10:
endTurn()
white = 0
green = 0
salad = False # persistent
steak = False # persistent
honey = True # persistent
elif berry == False:
useSkill(2, 'random') # しんりゅうの尾 (215312): Hybrid* damage (1.9x, ATK and 1.8x, MAG) to all enemies
green += 1
berry = True # reset next turn
elif self.HP < 0.5 and melon == False:
useSkill(2, 'random') # しんりゅうの尾 (215312): Hybrid* damage (1.9x, ATK and 1.8x, MAG) to all enemies
green += 1
melon = True # reset next turn
elif random() <= 0.45 and white >= 2 and black == 0:
useSkill(9, 'random') # ふぶき (215319): Magic ice damage (2x, MAG) to all enemies
black += 1
white = 0
green += 1
elif random() <= 0.50 and white >= 2:
useSkill(10, 'random') # いなづま (215320): Magic lightning damage (2x, MAG) to all enemies
black = 0
white = 0
green += 1
elif white >= 2:
useSkill(3, 'random') # フレア (215313): Magic fire damage (5x, MAG) to one enemy, Reduce resistance to Water by 30% for 3 turns to one enemy
black = 0
white = 0
green += 1
else:
useSkill(1, 'random') # しんりゅうの爪 (215311): Hybrid* damage (2.2x, ATK and 2.1x, MAG) to one enemy
white += 1
green += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment