Last active
January 31, 2018 12:10
-
-
Save aEnigmatic/d8ee26401e4b4b3a063f4d04b8fb0d21 to your computer and use it in GitHub Desktop.
Shin Two-headed Dragon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Mission '2ヘッドドラゴン降臨' (8993301) | |
# Enemy has first strike! | |
## | |
## | |
# Monster Info | |
## | |
# | |
# Monster 2ヘッドドラゴン (407021001) | |
# Race Dragon | |
# Level 99 | |
# Actions 25-25 | |
# | |
# | |
# Stats | |
# HP 130000000 | |
# MP 100000 | |
# ATK 670 | |
# DEF 105 | |
# MAG 530 | |
# SPR 105 | |
# | |
# | |
# Damage resist | |
# physical 0% | |
# magical 0% | |
# | |
# | |
# Element resist | |
# Fire 300% | |
# Ice 300% | |
# Lightning 300% | |
# Water 300% | |
# Wind 300% | |
# Earth 300% | |
# Light 300% | |
# Dark 300% | |
# 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 100% | |
# DEF 100% | |
# MAG 100% | |
# SPR 100% | |
# Stop 100% | |
# Charm 100% | |
# Berserk? 100% | |
# | |
# | |
# Immunity | |
# Death + | |
# Gravity + | |
# | |
### | |
### | |
# Skills | |
### | |
# | |
# かみつく (Physical) | |
# | |
# Physical damage (4x, ATK) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# 2ヘッドラッシュ (Physical) | |
# | |
# Physical damage (3.5x, ATK) to one enemy | |
# Inflict 2 random status effects (30%) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# デスペルバイト (Physical) | |
# | |
# Physical damage (2.5x, ATK) to one enemy | |
# Remove all effects from one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# 双頭竜の進撃 (Physical) | |
# | |
# Physical damage (5x, ATK) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# ダブルブレイクブレス・雷闇 (Magic) | |
# | |
# Magic lightning and dark damage (3.3x, MAG) to all enemies | |
# Reduce ATK and DEF by 30% for 3 turns to all enemies | |
# Reduce resistance to Lightning and Dark by 60% for 3 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# ダブルブレイクブレス・氷光 (Magic) | |
# | |
# Magic ice and light damage (3.3x, MAG) to all enemies | |
# Reduce MAG and SPR by 30% for 3 turns to all enemies | |
# Reduce resistance to Ice and Light by 60% for 3 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# ためこむ (None) | |
# | |
# Increase ATK and MAG by 30% for 2 turns to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# 大きくときはなつ (Magic) | |
# | |
# Magic ice, lightning, light and dark damage (4.5x, MAG) to all enemies | |
# Inflict 3 random status effects (50%) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# すべてときはなつ (Magic) | |
# | |
# Magic ice, lightning, light and dark damage (6x, MAG) to all enemies | |
# Inflict 4 random status effects (100%) to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# 飲み込む (Magic) | |
# | |
# Instant KO (100%) to one enemy | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# ドラゴンボイス (None) | |
# | |
# Reduce ATK, DEF, MAG and SPR by 70% for 999 turns to all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# ドラゴンシャウト (None) | |
# | |
# Reduce ATK, DEF, MAG and SPR by 140% for 999 turns to all enemies | |
# Reduce resistance to all elements by 150% for one turn to all enemies | |
# Inflict Stop (100%) for 3 turns on all enemies | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# 鱗がヒビ割れた! (None) | |
# | |
# Reduce resistance to all elements by 330% for one turn to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# 鱗がさらにヒビ割れた! (None) | |
# | |
# Reduce resistance to all elements by 360% for one turn to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# 鱗が崩れ落ちた! (None) | |
# | |
# Reduce resistance to all elements by 390% for one turn to caster | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
# | |
# 鱗が再生した (None) | |
# | |
# No effect. | |
# | |
# Sealable - Unknown1 + | |
# Reflect - Unknown2 - | |
# | |
## | |
### | |
# AI | |
### | |
if apple == True: | |
end_turn() | |
sushi = True # persistent | |
elif goose == True: | |
end_turn() | |
elif once(): | |
useSkill(11, 'random') # ドラゴンボイス (191050): Reduce ATK, DEF, MAG and SPR by 70% for 999 turns to all enemies | |
goose = True # global | |
elif sushi == True: | |
useSkill(16, 'random') # 鱗が再生した (191100): No effect. | |
sushi = False # persistent | |
elif mauve == 1 and honey == True: | |
wait('random') | |
honey = False # persistent | |
mauve = 0 | |
elif unit('player_any').lastTurnHitBy('esper') and white == 2 and honey == False: | |
useSkill(15, 'random') # 鱗が崩れ落ちた! (191090): Reduce resistance to all elements by 390% for one turn to caster | |
apple = True # reset next turn | |
honey = True # persistent | |
white = 0 | |
elif unit('player_any').lastTurnHitBy('esper') and white == 1 and honey == False: | |
useSkill(14, 'random') # 鱗がさらにヒビ割れた! (191080): Reduce resistance to all elements by 360% for one turn to caster | |
apple = True # reset next turn | |
honey = True # persistent | |
white += 1 | |
elif unit('player_any').lastTurnHitBy('esper') and honey == False: | |
useSkill(13, 'random') # 鱗がヒビ割れた! (191070): Reduce resistance to all elements by 330% for one turn to caster | |
apple = True # reset next turn | |
honey = True # persistent | |
white += 1 | |
elif unit('player_any').lastTurnHitBy('ability') and honey == True and peach == False: | |
wait('random') | |
peach = True # reset next turn | |
elif unit('player_any').lastTurnHitBy('ability') and peach == False and honey == False: | |
useSkill(12, 'random') # ドラゴンシャウト (191060): Reduce ATK, DEF, MAG and SPR by 140% for 999 turns to all enemies, Reduce resistance to all elements by 150% for one turn to all enemies, Inflict Stop (100%) for 3 turns on all enemies | |
peach = True # reset next turn | |
elif unit('player_any').lastTurnHitBy('magic') and honey == True and olive == False: | |
wait('random') | |
olive = True # reset next turn | |
elif unit('player_any').lastTurnHitBy('magic') and black < 5 and honey == False and olive == False: | |
useSkill(10, 'random') # 飲み込む (191040): Instant KO (100%) to one enemy | |
black += 1 | |
elif unit('player_any').HP < 0.6 and green > 9 and isTurnMod(2) and lemon == False: | |
useSkill(7, 'random') # ためこむ (191010): Increase ATK and MAG by 30% for 2 turns to caster | |
lemon = True # reset next turn | |
azure += 1 | |
elif unit('player_any').HP > 0.6 and green > 7 and isTurnMod(3) and lemon == False: | |
useSkill(7, 'random') # ためこむ (191010): Increase ATK and MAG by 30% for 2 turns to caster | |
lemon = True # reset next turn | |
azure += 1 | |
elif unit('player_any').HP < 0.6 and green > 9 and isTurnMod(3) and mouse == False: | |
useSkill(4, 'random') # 双頭竜の進撃 (190980): Physical damage (5x, ATK) to all enemies | |
mouse = True # global | |
elif unit('player_any').HP > 0.6 and green > 7 and isTurnMod(4) and mouse == False: | |
useSkill(4, 'random') # 双頭竜の進撃 (190980): Physical damage (5x, ATK) to all enemies | |
mouse = True # global | |
elif unit('player_any').HP < 0.6 and green > 9 and isTurnMod(3) and peach == False: | |
useSkill(11, 'random') # ドラゴンボイス (191050): Reduce ATK, DEF, MAG and SPR by 70% for 999 turns to all enemies | |
peach = True # reset next turn | |
elif unit('player_any').HP > 0.6 and green > 7 and isTurnMod(4) and peach == False: | |
useSkill(11, 'random') # ドラゴンボイス (191050): Reduce ATK, DEF, MAG and SPR by 70% for 999 turns to all enemies | |
peach = True # reset next turn | |
elif random() <= 0.50 and unit('player_any').HP < 0.6 and green > 9 and isTurnMod(2) and gourd == False: | |
useSkill(3, 'random') # デスペルバイト (190970): Physical damage (2.5x, ATK) to one enemy, Remove all effects from one enemy | |
gourd = True # reset next turn | |
elif unit('player_any').HP < 0.6 and green > 9 and isTurnMod(2) and gourd == False: | |
useSkill(3, 'def_max') # デスペルバイト (190970): Physical damage (2.5x, ATK) to one enemy, Remove all effects from one enemy | |
gourd = True # reset next turn | |
elif random() <= 0.50 and unit('player_any').HP > 0.6 and green > 7 and isTurnMod(3) and gourd == False: | |
useSkill(3, 'random') # デスペルバイト (190970): Physical damage (2.5x, ATK) to one enemy, Remove all effects from one enemy | |
gourd = True # reset next turn | |
elif unit('player_any').HP > 0.6 and green > 7 and isTurnMod(3) and gourd == False: | |
useSkill(3, 'def_max') # デスペルバイト (190970): Physical damage (2.5x, ATK) to one enemy, Remove all effects from one enemy | |
gourd = True # reset next turn | |
elif unit('player_any').HP < 0.6 and green > 9 and honey == True and bacon == False: | |
end_turn() | |
green = 0 | |
black = 0 | |
mauve += 1 | |
elif unit('player_any').HP > 0.6 and green > 7 and honey == True and bacon == False: | |
end_turn() | |
green = 0 | |
black = 0 | |
mauve += 1 | |
elif unit('player_any').HP < 0.6 and green > 9 and honey == False: | |
end_turn() | |
green = 0 | |
black = 0 | |
elif unit('player_any').HP > 0.6 and green > 7 and honey == False: | |
end_turn() | |
green = 0 | |
black = 0 | |
elif unit('player_any').HP < 0.6 and azure == 3 and otter == False: | |
useSkill(9, 'random') # すべてときはなつ (191030): Magic ice, lightning, light and dark damage (6x, MAG) to all enemies, Inflict 4 random status effects (100%) to all enemies | |
otter = True # global | |
azure = 0 | |
elif unit('player_any').HP > 0.6 and azure == 3 and otter == False: | |
useSkill(8, 'random') # 大きくときはなつ (191020): Magic ice, lightning, light and dark damage (4.5x, MAG) to all enemies, Inflict 3 random status effects (50%) to all enemies | |
otter = True # global | |
azure = 0 | |
elif random() <= 0.50 and grape == False: | |
useSkill(2, 'random') # 2ヘッドラッシュ (190960): Physical damage (3.5x, ATK) to one enemy, Inflict 2 random status effects (30%) to one enemy | |
grape = True # reset next turn | |
green += 1 | |
elif grape == False: | |
useSkill(1, 'random') # かみつく (190950): Physical damage (4x, ATK) to one enemy | |
grape = True # reset next turn | |
green += 1 | |
elif random() <= 0.50 and melon == False: | |
useSkill(2, 'random') # 2ヘッドラッシュ (190960): Physical damage (3.5x, ATK) to one enemy, Inflict 2 random status effects (30%) to one enemy | |
melon = True # reset next turn | |
green += 1 | |
elif melon == False: | |
useSkill(1, 'random') # かみつく (190950): Physical damage (4x, ATK) to one enemy | |
melon = True # reset next turn | |
green += 1 | |
elif random() <= 0.50 and guava == False: | |
useSkill(1, 'random') # かみつく (190950): Physical damage (4x, ATK) to one enemy | |
guava = True # reset next turn | |
green += 1 | |
elif guava == False: | |
useSkill(2, 'random') # 2ヘッドラッシュ (190960): Physical damage (3.5x, ATK) to one enemy, Inflict 2 random status effects (30%) to one enemy | |
guava = True # reset next turn | |
green += 1 | |
elif tiger == False and ramen == False: | |
useSkill(5, 'random') # ダブルブレイクブレス・雷闇 (190990): Magic lightning and dark damage (3.3x, MAG) to all enemies, Reduce ATK and DEF by 30% for 3 turns to all enemies, Reduce resistance to Lightning and Dark by 60% for 3 turns to all enemies | |
tiger = True # global | |
ramen = True # persistent | |
green += 1 | |
elif unit('player_any').HP < 0.4 and horse == False and ramen == False: | |
useSkill(5, 'random') # ダブルブレイクブレス・雷闇 (190990): Magic lightning and dark damage (3.3x, MAG) to all enemies, Reduce ATK and DEF by 30% for 3 turns to all enemies, Reduce resistance to Lightning and Dark by 60% for 3 turns to all enemies | |
horse = True # global | |
elif tiger == False and ramen == True: | |
useSkill(6, 'random') # ダブルブレイクブレス・氷光 (191000): Magic ice and light damage (3.3x, MAG) to all enemies, Reduce MAG and SPR by 30% for 3 turns to all enemies, Reduce resistance to Ice and Light by 60% for 3 turns to all enemies | |
tiger = True # global | |
ramen = False # persistent | |
green += 1 | |
elif unit('player_any').HP < 0.4 and horse == False and ramen == True: | |
useSkill(6, 'random') # ダブルブレイクブレス・氷光 (191000): Magic ice and light damage (3.3x, MAG) to all enemies, Reduce MAG and SPR by 30% for 3 turns to all enemies, Reduce resistance to Ice and Light by 60% for 3 turns to all enemies | |
horse = True # global | |
else: | |
attack('random') | |
green += 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment