Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active February 10, 2021 18:24
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/9318c3e643241ef9305c380b0a32acb9 to your computer and use it in GitHub Desktop.
Save aEnigmatic/9318c3e643241ef9305c380b0a32acb9 to your computer and use it in GitHub Desktop.
Scorn of Asura - Blades Unto Infinity
##
# Mission 'Scorn of Asura - Blades Unto Infinity' (8997801)
#
# Battles
# * Asura
##
##
# Monster Info
##
#
# Monster Asura (405121002)
# Race Demon, Human
# Level 99
# Actions 30-30
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 1400000000
# MP 2000000
# ATK 2000
# DEF 15000
# MAG 2000
# SPR 15000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 50%
# Ice 50%
# Lightning 50%
# Water 50%
# Wind 50%
# Earth 50%
# Light 50%
# Dark 50%
# Non-Elemental 0%
#
#
# Status resist (+0% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 0%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 物理・魔法カウンター(降臨阿修羅1体目) (100111) [Passive]
#
# 100% chance to counter physical attacks with Dispelling Counter (220890) to the attacker (max 3 / turn)
# 100% chance to counter magic attacks with Dispelling Counter (220890) to the attacker (max 3 / turn)
#
##
#
# ???65% (100096) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 65%
#
##
###
# Skills
###
#
# Earth Demon Blade - Ventus Flash (220873) [Physical]
#
# Physical earth damage (8x, ATK) to all enemies
# Reduce resistance to Wind by 120% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wind Demon Blade - Aqua Flash (220874) [Physical]
#
# Physical wind damage (8x, ATK) to all enemies
# Reduce resistance to Water by 120% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Water Demon Blade - Terra Flash (220875) [Physical]
#
# Physical water damage (8x, ATK) to all enemies
# Reduce resistance to Earth by 120% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hexaslash Fury (220876) [Physical]
#
# Physical damage (8x, ATK) to all enemies
# Increase Accuracy by 150% to caster for one turn
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# War Goddess's Elation (220878) [None]
#
# Increase ATK by 50% for 2 turns to caster
# Unused parameters: [1]
# Increase ATK by 30% for 2 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Repulsion of Pestilence (220879) [None]
#
# Cure Disease for caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ruination of Providence (220880) [Physical]
#
# Physical damage (25x, ATK) to all enemies
# Reduce resistance to all elements by 200% for 3 turns to all enemies
# Unused parameters: [1]
# Reduce ATK and MAG by 70% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Frozen Flame Stance (220881) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Electrified Aqua Stance (220882) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Terra Tempest Stance (220883) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shadowed Radiance Stance (220884) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Attack with fire and ice! (220885) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Attack with lightning and water! (220886) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Attack with wind and earth! (220887) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Attack with light and dark! (220888) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Mana-Sapping Counter (220889) [Physical]
#
# Physical damage (0.01x, ATK) as MP drain (1%) to one enemy
# Physical damage (0.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dispelling Counter (220890) [Physical]
#
# Remove all buffs from one enemy
# Physical damage (2x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Couldn't use ruination of providence due to attacks of certain elements. (220891) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif grape == True and ramen == True:
useSkill(12, 'random') # Attack with fire and ice! (220885): No effect
apple = True # reset next turn
elif grape == True and sushi == True:
useSkill(13, 'random') # Attack with lightning and water! (220886): No effect
apple = True # reset next turn
elif grape == True and bacon == True:
useSkill(14, 'random') # Attack with wind and earth! (220887): No effect
apple = True # reset next turn
elif grape == True and steak == True:
useSkill(15, 'random') # Attack with light and dark! (220888): No effect
apple = True # reset next turn
elif self.sufferedDamageLastTurn('physical', 'fire') and ramen == True and salad == True and melon == False:
wait() # No action
melon = True # reset next turn
elif self.sufferedDamageLastTurn('magical', 'fire') and ramen == True and salad == True and melon == False:
wait() # No action
melon = True # reset next turn
elif self.sufferedDamageLastTurn('physical', 'ice') and ramen == True and salad == True and guava == False:
wait() # No action
guava = True # reset next turn
elif self.sufferedDamageLastTurn('magical', 'ice') and ramen == True and salad == True and guava == False:
wait() # No action
guava = True # reset next turn
elif self.sufferedDamageLastTurn('physical', 'thunder') and sushi == True and salad == True and melon == False:
wait() # No action
melon = True # reset next turn
elif self.sufferedDamageLastTurn('magical', 'thunder') and sushi == True and salad == True and melon == False:
wait() # No action
melon = True # reset next turn
elif self.sufferedDamageLastTurn('physical', 'water') and sushi == True and salad == True and guava == False:
wait() # No action
guava = True # reset next turn
elif self.sufferedDamageLastTurn('magical', 'water') and sushi == True and salad == True and guava == False:
wait() # No action
guava = True # reset next turn
elif self.sufferedDamageLastTurn('physical', 'aero') and bacon == True and salad == True and melon == False:
wait() # No action
melon = True # reset next turn
elif self.sufferedDamageLastTurn('magical', 'aero') and bacon == True and salad == True and melon == False:
wait() # No action
melon = True # reset next turn
elif self.sufferedDamageLastTurn('physical', 'quake') and bacon == True and salad == True and guava == False:
wait() # No action
guava = True # reset next turn
elif self.sufferedDamageLastTurn('magical', 'quake') and bacon == True and salad == True and guava == False:
wait() # No action
guava = True # reset next turn
elif self.sufferedDamageLastTurn('physical', 'light') and steak == True and salad == True and melon == False:
wait() # No action
melon = True # reset next turn
elif self.sufferedDamageLastTurn('magical', 'light') and steak == True and salad == True and melon == False:
wait() # No action
melon = True # reset next turn
elif self.sufferedDamageLastTurn('physical', 'dark') and steak == True and salad == True and guava == False:
wait() # No action
guava = True # reset next turn
elif self.sufferedDamageLastTurn('magical', 'dark') and steak == True and salad == True and guava == False:
wait() # No action
guava = True # reset next turn
elif salad == True and melon == True and guava == True:
useSkill(18, 'random') # Couldn't use ruination of providence due to attacks of certain elements. (220891): No effect
salad = False # persistent
steak = False # persistent
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
elif salad == True:
useSkill(7, 'random') # Ruination of Providence (220880): Physical damage (25x, ATK) to all enemies, Reduce resistance to all elements by 200% for 3 turns to all enemies, Reduce ATK and MAG by 70% for 3 turns to all enemies
salad = False # persistent
steak = False # persistent
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
elif self.damageTakenLastTurn() > 1 and var_61 == False:
useSkill(16, 'random') # Mana-Sapping Counter (220889): Physical damage (0.01x, ATK) as MP drain (1%) to one enemy, Physical damage (0.5x, ATK) to one enemy
var_61 = True # reset next turn
elif berry == False:
useSkill(4, 'random') # Hexaslash Fury (220876): Physical damage (8x, ATK) to all enemies, Increase Accuracy by 150% to caster for one turn
berry = True # reset next turn
elif peach == False:
useSkill(4, 'random') # Hexaslash Fury (220876): Physical damage (8x, ATK) to all enemies, Increase Accuracy by 150% to caster for one turn
peach = True # reset next turn
elif olive == False and green == 0:
useSkill(1, 'random') # Earth Demon Blade - Ventus Flash (220873): Physical earth damage (8x, ATK) to all enemies, Reduce resistance to Wind by 120% for 3 turns to all enemies
green += 1
olive = True # reset next turn
elif olive == False and green == 1:
useSkill(2, 'random') # Wind Demon Blade - Aqua Flash (220874): Physical wind damage (8x, ATK) to all enemies, Reduce resistance to Water by 120% for 3 turns to all enemies
green += 1
olive = True # reset next turn
elif olive == False and green == 2:
useSkill(3, 'random') # Water Demon Blade - Terra Flash (220875): Physical water damage (8x, ATK) to all enemies, Reduce resistance to Earth by 120% for 3 turns to all enemies
green = 0
olive = True # reset next turn
elif self.hasStatus('Disease') and mango == False and honey == True:
useSkill(6, 'random') # Repulsion of Pestilence (220879): Cure Disease for caster
mango = True # reset next turn
elif self.hasStatus('Disease') and mango == False:
wait() # No action
mango = True # reset next turn
honey = True # persistent
elif mango == False:
wait() # No action
mango = True # reset next turn
honey = False # persistent
elif lemon == False and green == 0:
useSkill(5, 'random') # War Goddess's Elation (220878): Increase ATK by 50% for 2 turns to caster, Increase ATK by 30% for 2 turns to caster (can not be removed)
lemon = True # reset next turn
elif grape == False and white == 0:
useSkill(8, 'random') # Frozen Flame Stance (220881): No effect
white += 1
grape = True # reset next turn
salad = True # persistent
ramen = True # persistent
elif grape == False and white == 1:
useSkill(9, 'random') # Electrified Aqua Stance (220882): No effect
white += 1
grape = True # reset next turn
salad = True # persistent
sushi = True # persistent
elif grape == False and white == 2:
useSkill(10, 'random') # Terra Tempest Stance (220883): No effect
white += 1
grape = True # reset next turn
salad = True # persistent
bacon = True # persistent
elif grape == False and white == 3:
useSkill(11, 'random') # Shadowed Radiance Stance (220884): No effect
white = 0
grape = True # reset next turn
salad = True # persistent
steak = True # persistent
else:
wait() # No action
apple = True # reset next turn
##
# Mission 'Scorn of Asura - Blades Unto Infinity - ADV' (8997802)
#
# Battles
# * Asura [+ Asura]
##
##
# Monster Info
##
#
# Monster Asura (405121003, 405121002)
# Race Demon, Human
# Level 99
# Actions 30-30
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 1000000000
# MP 2000000
# ATK 4000
# DEF 25000
# MAG 4000
# SPR 25000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 50%
# Ice 50%
# Lightning 50%
# Water 50%
# Wind 50%
# Earth 50%
# Light 50%
# Dark 50%
# Non-Elemental 0%
#
#
# Status resist (+0% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 0%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 物理・魔法カウンター(降臨阿修羅1体目) (100111) [Passive]
#
# 100% chance to counter physical attacks with Dispelling Counter (220890) to the attacker (max 3 / turn)
# 100% chance to counter magic attacks with Dispelling Counter (220890) to the attacker (max 3 / turn)
#
##
#
# 降臨修羅1体目死亡時アビリティ (100112) [Passive]
#
# Cast Return from the Realm (220892) upon defeat
#
##
#
# ???65% (100096) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 65%
#
##
###
# Skills
###
#
# Earth Demon Blade - Ventus Flash (220873) [Physical]
#
# Physical earth damage (8x, ATK) to all enemies
# Reduce resistance to Wind by 120% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Wind Demon Blade - Aqua Flash (220874) [Physical]
#
# Physical wind damage (8x, ATK) to all enemies
# Reduce resistance to Water by 120% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Water Demon Blade - Terra Flash (220875) [Physical]
#
# Physical water damage (8x, ATK) to all enemies
# Reduce resistance to Earth by 120% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hexaslash Fury (220876) [Physical]
#
# Physical damage (8x, ATK) to all enemies
# Increase Accuracy by 150% to caster for one turn
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# War Goddess's Elation (220878) [None]
#
# Increase ATK by 50% for 2 turns to caster
# Unused parameters: [1]
# Increase ATK by 30% for 2 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Repulsion of Pestilence (220879) [None]
#
# Cure Disease for caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ruination of Providence (220880) [Physical]
#
# Physical damage (25x, ATK) to all enemies
# Reduce resistance to all elements by 200% for 3 turns to all enemies
# Unused parameters: [1]
# Reduce ATK and MAG by 70% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Frozen Flame Stance (220881) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Electrified Aqua Stance (220882) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Terra Tempest Stance (220883) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shadowed Radiance Stance (220884) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Attack with fire and ice! (220885) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Attack with lightning and water! (220886) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Attack with wind and earth! (220887) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Attack with light and dark! (220888) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Mana-Sapping Counter (220889) [Physical]
#
# Physical damage (0.01x, ATK) as MP drain (1%) to one enemy
# Physical damage (0.5x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Dispelling Counter (220890) [Physical]
#
# Remove all buffs from one enemy
# Physical damage (2x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Couldn't use ruination of providence due to attacks of certain elements. (220891) [None]
#
# No effect
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Return from the Realm (220892) [None]
#
# Summon Asura (405121004)
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif grape == True and ramen == True:
useSkill(12, 'random') # Attack with fire and ice! (220885): No effect
apple = True # reset next turn
elif grape == True and sushi == True:
useSkill(13, 'random') # Attack with lightning and water! (220886): No effect
apple = True # reset next turn
elif grape == True and bacon == True:
useSkill(14, 'random') # Attack with wind and earth! (220887): No effect
apple = True # reset next turn
elif grape == True and steak == True:
useSkill(15, 'random') # Attack with light and dark! (220888): No effect
apple = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and ramen == True and salad == True and melon == False:
wait() # No action
melon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and ramen == True and salad == True and melon == False:
wait() # No action
melon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and ramen == True and salad == True and guava == False:
wait() # No action
guava = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and ramen == True and salad == True and guava == False:
wait() # No action
guava = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and sushi == True and salad == True and melon == False:
wait() # No action
melon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and sushi == True and salad == True and melon == False:
wait() # No action
melon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and sushi == True and salad == True and guava == False:
wait() # No action
guava = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and sushi == True and salad == True and guava == False:
wait() # No action
guava = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and bacon == True and salad == True and melon == False:
wait() # No action
melon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and bacon == True and salad == True and melon == False:
wait() # No action
melon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and bacon == True and salad == True and guava == False:
wait() # No action
guava = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and bacon == True and salad == True and guava == False:
wait() # No action
guava = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and steak == True and salad == True and melon == False:
wait() # No action
melon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and steak == True and salad == True and melon == False:
wait() # No action
melon = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and steak == True and salad == True and guava == False:
wait() # No action
guava = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and steak == True and salad == True and guava == False:
wait() # No action
guava = True # reset next turn
elif salad == True and melon == True and guava == True:
useSkill(18, 'random') # Couldn't use ruination of providence due to attacks of certain elements. (220891): No effect
salad = False # persistent
steak = False # persistent
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
elif salad == True:
useSkill(7, 'random') # Ruination of Providence (220880): Physical damage (25x, ATK) to all enemies, Reduce resistance to all elements by 200% for 3 turns to all enemies, Reduce ATK and MAG by 70% for 3 turns to all enemies
salad = False # persistent
steak = False # persistent
bacon = False # persistent
sushi = False # persistent
ramen = False # persistent
elif unit('1:ally:any').damageTakenLastTurn() > 1 and var_61 == False:
useSkill(16, 'random') # Mana-Sapping Counter (220889): Physical damage (0.01x, ATK) as MP drain (1%) to one enemy, Physical damage (0.5x, ATK) to one enemy
var_61 = True # reset next turn
elif berry == False:
useSkill(4, 'random') # Hexaslash Fury (220876): Physical damage (8x, ATK) to all enemies, Increase Accuracy by 150% to caster for one turn
berry = True # reset next turn
elif peach == False:
useSkill(4, 'random') # Hexaslash Fury (220876): Physical damage (8x, ATK) to all enemies, Increase Accuracy by 150% to caster for one turn
peach = True # reset next turn
elif olive == False and green == 0:
useSkill(1, 'random') # Earth Demon Blade - Ventus Flash (220873): Physical earth damage (8x, ATK) to all enemies, Reduce resistance to Wind by 120% for 3 turns to all enemies
green += 1
olive = True # reset next turn
elif olive == False and green == 1:
useSkill(2, 'random') # Wind Demon Blade - Aqua Flash (220874): Physical wind damage (8x, ATK) to all enemies, Reduce resistance to Water by 120% for 3 turns to all enemies
green += 1
olive = True # reset next turn
elif olive == False and green == 2:
useSkill(3, 'random') # Water Demon Blade - Terra Flash (220875): Physical water damage (8x, ATK) to all enemies, Reduce resistance to Earth by 120% for 3 turns to all enemies
green = 0
olive = True # reset next turn
elif unit('1:ally:any').hasStatus('Disease') and mango == False and honey == True:
useSkill(6, 'random') # Repulsion of Pestilence (220879): Cure Disease for caster
mango = True # reset next turn
elif unit('1:ally:any').hasStatus('Disease') and mango == False:
wait() # No action
mango = True # reset next turn
honey = True # persistent
elif mango == False:
wait() # No action
mango = True # reset next turn
honey = False # persistent
elif lemon == False and green == 0:
useSkill(5, 'random') # War Goddess's Elation (220878): Increase ATK by 50% for 2 turns to caster, Increase ATK by 30% for 2 turns to caster (can not be removed)
lemon = True # reset next turn
elif grape == False and white == 0:
useSkill(8, 'random') # Frozen Flame Stance (220881): No effect
white += 1
grape = True # reset next turn
salad = True # persistent
ramen = True # persistent
elif grape == False and white == 1:
useSkill(9, 'random') # Electrified Aqua Stance (220882): No effect
white += 1
grape = True # reset next turn
salad = True # persistent
sushi = True # persistent
elif grape == False and white == 2:
useSkill(10, 'random') # Terra Tempest Stance (220883): No effect
white += 1
grape = True # reset next turn
salad = True # persistent
bacon = True # persistent
elif grape == False and white == 3:
useSkill(11, 'random') # Shadowed Radiance Stance (220884): No effect
white = 0
grape = True # reset next turn
salad = True # persistent
steak = True # persistent
else:
wait() # No action
apple = True # reset next turn
##
# Monster Info
##
#
# Monster Asura (405121004, 405121003)
# Race Human, Reaper
# Level 99
# Actions 70-70
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 1000000000
# MP 2000000
# ATK 5000
# DEF 30000
# MAG 4000
# SPR 30000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 50%
# Ice 50%
# Lightning 50%
# Water 50%
# Wind 50%
# Earth 50%
# Light 50%
# Dark 50%
# Non-Elemental 0%
#
#
# Status resist (+85% / application)
# Poison 0%
# 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 +
# Unknown (7) +
#
###
###
# Passives
###
#
# 物理・魔法カウンター(降臨阿修羅2体目) (100113) [Passive]
#
# 100% chance to counter physical attacks with Numbing Blade Flurry (220904) to the attacker (max 3 / turn)
# 100% chance to counter magic attacks with Numbing Blade Flurry (220904) to the attacker (max 3 / turn)
#
##
#
# ???65% (100096) [Passive]
#
# Increase ATK, DEF, MAG and SPR by 65%
#
##
###
# Skills
###
#
# Fire Demon Blade - Glacies Flash (220893) [Physical]
#
# Physical fire damage (8x, ATK) to all enemies
# Reduce resistance to Ice by 150% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Ice Demon Blade - Fulmen Flash (220894) [Physical]
#
# Physical ice damage (8x, ATK) to all enemies
# Reduce resistance to Lightning by 150% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Lightning Demon Blade - Ignis Flash (220895) [Physical]
#
# Physical lightning damage (8x, ATK) to all enemies
# Reduce resistance to Fire by 150% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Deva Flourish (220896) [Physical]
#
# Physical damage (8x, ATK) to all enemies
# Increase Accuracy by 150% to caster for one turn
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Repulsion of Venom (220897) [None]
#
# Cure Poison for caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Meditate (220898) [None]
#
# Restore 5% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Face of Rage (220899) [None]
#
# Increase DEF and SPR by 50% for 2 turns to caster (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Rending Stance (220900) [None]
#
# Remove all debuffs from caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Asura's Laughter (220901) [None]
#
# Reduce ATK, DEF, MAG and SPR by 50% for 2 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Blasting Blade Flash (220902) [None]
#
# Remove one enemy from the fight for 5 turns
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Hellbound Blade (220903) [None]
#
# [Death]
# Instant KO (100%) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Numbing Blade Flurry (220904) [Physical]
#
# Physical damage (8x, ATK) to one enemy
# Inflict Paralyze and Confusion (100%) on one enemy
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == True:
endTurn()
elif once():
wait() # No action
var_61 = True # reset next turn
apple = True # reset next turn
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'fire') and var_61 == False:
wait() # No action
var_61 = True # reset next turn
white += 1
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'fire') and var_61 == False:
wait() # No action
var_61 = True # reset next turn
white += 1
elif conditionNotImplemented('physics_and_magic_elem_fire:0') and var_61 == False:
wait() # No action
var_61 = True # reset next turn
white += 1
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'ice') and var_62 == False:
wait() # No action
var_62 = True # reset next turn
white += 1
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'ice') and var_62 == False:
wait() # No action
var_62 = True # reset next turn
white += 1
elif conditionNotImplemented('physics_and_magic_elem_ice:0') and var_62 == False:
wait() # No action
var_62 = True # reset next turn
white += 1
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'thunder') and var_63 == False:
wait() # No action
var_63 = True # reset next turn
white += 1
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'thunder') and var_63 == False:
wait() # No action
var_63 = True # reset next turn
white += 1
elif conditionNotImplemented('physics_and_magic_elem_thunder:0') and var_63 == False:
wait() # No action
var_63 = True # reset next turn
white += 1
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'water') and var_64 == False:
wait() # No action
var_64 = True # reset next turn
white += 1
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'water') and var_64 == False:
wait() # No action
var_64 = True # reset next turn
white += 1
elif conditionNotImplemented('physics_and_magic_elem_water:0') and var_64 == False:
wait() # No action
var_64 = True # reset next turn
white += 1
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'aero') and var_65 == False:
wait() # No action
var_65 = True # reset next turn
white += 1
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'aero') and var_65 == False:
wait() # No action
var_65 = True # reset next turn
white += 1
elif conditionNotImplemented('physics_and_magic_elem_aero:0') and var_65 == False:
wait() # No action
var_65 = True # reset next turn
white += 1
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'quake') and var_66 == False:
wait() # No action
var_66 = True # unknown flag type (66)
white += 1
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'quake') and var_66 == False:
wait() # No action
var_66 = True # unknown flag type (66)
white += 1
elif conditionNotImplemented('physics_and_magic_elem_quake:0') and var_66 == False:
wait() # No action
var_66 = True # unknown flag type (66)
white += 1
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'light') and var_67 == False:
wait() # No action
var_67 = True # unknown flag type (67)
white += 1
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'light') and var_67 == False:
wait() # No action
var_67 = True # unknown flag type (67)
white += 1
elif conditionNotImplemented('physics_and_magic_elem_light:0') and var_67 == False:
wait() # No action
var_67 = True # unknown flag type (67)
white += 1
elif unit('1:ally:any').sufferedDamageLastTurn('physical', 'dark') and var_68 == False:
wait() # No action
var_68 = True # unknown flag type (68)
white += 1
elif unit('1:ally:any').sufferedDamageLastTurn('magical', 'dark') and var_68 == False:
wait() # No action
var_68 = True # unknown flag type (68)
white += 1
elif conditionNotImplemented('physics_and_magic_elem_dark:0') and var_68 == False:
wait() # No action
var_68 = True # unknown flag type (68)
white += 1
elif berry == False:
useSkill(4, 'random') # Deva Flourish (220896): Physical damage (8x, ATK) to all enemies, Increase Accuracy by 150% to caster for one turn
berry = True # reset next turn
elif peach == False:
useSkill(4, 'random') # Deva Flourish (220896): Physical damage (8x, ATK) to all enemies, Increase Accuracy by 150% to caster for one turn
peach = True # reset next turn
elif olive == False and white >= 1:
useSkill(9, 'random') # Asura's Laughter (220901): Reduce ATK, DEF, MAG and SPR by 50% for 2 turns to all enemies
olive = True # reset next turn
elif mango == False and white >= 2:
useSkill(10, 'random') # Blasting Blade Flash (220902): Remove one enemy from the fight for 5 turns
mango = True # reset next turn
elif lemon == False and white >= 3:
useSkill(11, 'random') # Hellbound Blade (220903): [Death], Instant KO (100%) to one enemy
lemon = True # reset next turn
elif var_69 == False:
wait() # No action
var_69 = True # unknown flag type (69)
white = 0
elif var_70 == False and isTurnMod(4):
useSkill(8, 'random') # Rending Stance (220900): Remove all debuffs from caster
var_70 = True # unknown flag type (70)
elif grape == False and green == 0:
useSkill(1, 'random') # Fire Demon Blade - Glacies Flash (220893): Physical fire damage (8x, ATK) to all enemies, Reduce resistance to Ice by 150% for 3 turns to all enemies
green += 1
grape = True # reset next turn
elif grape == False and green == 1:
useSkill(2, 'random') # Ice Demon Blade - Fulmen Flash (220894): Physical ice damage (8x, ATK) to all enemies, Reduce resistance to Lightning by 150% for 3 turns to all enemies
green += 1
grape = True # reset next turn
elif grape == False and green == 2:
useSkill(3, 'random') # Lightning Demon Blade - Ignis Flash (220895): Physical lightning damage (8x, ATK) to all enemies, Reduce resistance to Fire by 150% for 3 turns to all enemies
green = 0
grape = True # reset next turn
elif unit('1:ally:any').hasStatus('Poison') and melon == False and honey == True:
useSkill(5, 'random') # Repulsion of Venom (220897): Cure Poison for caster
melon = True # reset next turn
honey = False # persistent
elif unit('1:ally:any').hasStatus('Poison') and melon == False:
wait() # No action
melon = True # reset next turn
honey = True # persistent
elif guava == False and green == 0 and self.HP < 0.7:
useSkill(6, 'random') # Meditate (220898): Restore 5% HP to caster
guava = True # reset next turn
elif guava == False and green == 2:
useSkill(7, 'random') # Face of Rage (220899): Increase DEF and SPR by 50% for 2 turns to caster (can not be removed)
guava = True # reset next turn
else:
wait() # No action
apple = True # reset next turn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment