Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic
Last active January 27, 2021 14:42
Show Gist options
  • Save aEnigmatic/b829493900d43f2ac80fd02be68111ea to your computer and use it in GitHub Desktop.
Save aEnigmatic/b829493900d43f2ac80fd02be68111ea to your computer and use it in GitHub Desktop.
Scorn of Genies
##
# Mission '真降臨ジーニーズ・中級' (8998301)
# BattleScript: 8998301
#
# Battles
# * ジン, シャイターン, イブリース
##
##
# Monster Info
##
#
# Monster ジン (408111000)
# Race Fairy
# Level 99
# Actions 30-30
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 2400000000
# MP 10000
# ATK 1800
# DEF 15000
# MAG 2000
# SPR 12000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -150%
# 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 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 風属性吸収 (100011) [Passive]
#
# Absorb Wind elemental attacks
#
##
###
# Skills
###
#
# 魔人の一閃 (221517) [Physical]
#
# Increase Accuracy by 150% to caster for 3 turns
# Physical damage (1.2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ワッハッハッハッハ (221518) [None]
#
# Increase ATK, DEF, MAG and SPR by 300% for 99 turns to caster (can not be removed)
# Unused parameters: [1]
# Restore 50% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔人の力【風】 (221519) [Magic]
#
# Reduce resistance to Wind by 150% for 3 turns to all enemies
# Unused parameters: [1]
# Magic wind damage (1.6x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# とりまく風 (221520) [None]
#
# Add Wind element (100%) to physical attacks for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 1.00 and apple == True:
endTurn()
elif random() <= 1.00 and party('monsters').unitsAlive() == 1 and once():
useSkill(2, 'random') # ワッハッハッハッハ (221518): Increase ATK, DEF, MAG and SPR by 300% for 99 turns to caster (can not be removed), Restore 50% HP to caster
elif random() <= 1.00 and berry == False:
useSkill(1, 'random') # 魔人の一閃 (221517): Increase Accuracy by 150% to caster for 3 turns, Physical damage (1.2x, ATK) to all enemies
berry = True # reset next turn
elif random() <= 1.00 and peach == False:
useSkill(1, 'random') # 魔人の一閃 (221517): Increase Accuracy by 150% to caster for 3 turns, Physical damage (1.2x, ATK) to all enemies
peach = True # reset next turn
elif random() <= 1.00 and green == 1 and olive == False:
useSkill(3, 'random') # 魔人の力【風】 (221519): Reduce resistance to Wind by 150% for 3 turns to all enemies, Magic wind damage (1.6x, MAG) to one enemy
green = 0
olive = True # reset next turn
elif random() <= 1.00 and olive == False:
wait() # No action
green += 1
olive = True # reset next turn
elif random() <= 1.00 and white == 2 and mango == False:
useSkill(4, 'random') # とりまく風 (221520): Add Wind element (100%) to physical attacks for 3 turns to all enemies
white = 0
mango = True # reset next turn
elif random() <= 1.00 and mango == False:
wait() # No action
white += 1
mango = True # reset next turn
elif random() <= 1.00:
wait() # No action
apple = True # reset next turn
elif random() <= 1.00:
attack('random')
else:
attack('random')
##
# Monster Info
##
#
# Monster シャイターン (408112000, 408111000)
# Race Fairy
# Level 99
# Actions 30-30
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 2400000000
# MP 10000
# ATK 1800
# DEF 15000
# MAG 2000
# SPR 12000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning -150%
# 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 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 闇属性吸収 (100013) [Passive]
#
# Absorb Dark elemental attacks
#
##
###
# Skills
###
#
# 魔人の一閃 (221517) [Physical]
#
# Increase Accuracy by 150% to caster for 3 turns
# Physical damage (1.2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ワッハッハッハッハ (221518) [None]
#
# Increase ATK, DEF, MAG and SPR by 300% for 99 turns to caster (can not be removed)
# Unused parameters: [1]
# Restore 50% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔人の力【闇】 (221521) [Magic]
#
# Reduce resistance to Dark by 150% for 3 turns to all enemies
# Unused parameters: [1]
# Magic dark damage (1.6x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔人の怒号 (221522) [None]
#
# Reduce ATK and DEF by 85% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 1.00 and apple == True:
endTurn()
elif random() <= 1.00 and party('monsters').unitsAlive() == 1 and once():
useSkill(2, 'random') # ワッハッハッハッハ (221518): Increase ATK, DEF, MAG and SPR by 300% for 99 turns to caster (can not be removed), Restore 50% HP to caster
elif random() <= 1.00 and berry == False:
useSkill(1, 'random') # 魔人の一閃 (221517): Increase Accuracy by 150% to caster for 3 turns, Physical damage (1.2x, ATK) to all enemies
berry = True # reset next turn
elif random() <= 1.00 and peach == False:
useSkill(1, 'random') # 魔人の一閃 (221517): Increase Accuracy by 150% to caster for 3 turns, Physical damage (1.2x, ATK) to all enemies
peach = True # reset next turn
elif random() <= 1.00 and green == 1 and olive == False:
useSkill(3, 'random') # 魔人の力【闇】 (221521): Reduce resistance to Dark by 150% for 3 turns to all enemies, Magic dark damage (1.6x, MAG) to one enemy
green = 0
olive = True # reset next turn
elif random() <= 1.00 and olive == False:
wait() # No action
green += 1
olive = True # reset next turn
elif random() <= 1.00 and white == 2 and mango == False:
useSkill(4, 'random') # 魔人の怒号 (221522): Reduce ATK and DEF by 85% for 3 turns to all enemies
white = 0
mango = True # reset next turn
elif random() <= 1.00 and mango == False:
wait() # No action
white += 1
mango = True # reset next turn
elif random() <= 1.00:
wait() # No action
apple = True # reset next turn
elif random() <= 1.00:
attack('random')
else:
attack('random')
##
# Monster Info
##
#
# Monster イブリース (408113000)
# Race Fairy
# Level 99
# Actions 30-30
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 2400000000
# MP 10000
# ATK 1800
# DEF 15000
# MAG 2000
# SPR 12000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice -150%
# Lightning 0%
# Water -150%
# 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 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 火属性吸収 (100003) [Passive]
#
# Absorb Fire elemental attacks
#
##
###
# Skills
###
#
# 魔人の一閃 (221517) [Physical]
#
# Increase Accuracy by 150% to caster for 3 turns
# Physical damage (1.2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ワッハッハッハッハ (221518) [None]
#
# Increase ATK, DEF, MAG and SPR by 300% for 99 turns to caster (can not be removed)
# Unused parameters: [1]
# Restore 50% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔人の力【火】 (221523) [Magic]
#
# Reduce resistance to Fire by 150% for 3 turns to all enemies
# Unused parameters: [1]
# Magic fire damage (1.6x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 強魔のおたけび (221524) [None]
#
# Increase MAG by 300% for 3 turns to all allies (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 1.00 and apple == True:
endTurn()
elif random() <= 1.00 and party('monsters').unitsAlive() == 1 and once():
useSkill(2, 'random') # ワッハッハッハッハ (221518): Increase ATK, DEF, MAG and SPR by 300% for 99 turns to caster (can not be removed), Restore 50% HP to caster
elif random() <= 1.00 and berry == False:
useSkill(1, 'random') # 魔人の一閃 (221517): Increase Accuracy by 150% to caster for 3 turns, Physical damage (1.2x, ATK) to all enemies
berry = True # reset next turn
elif random() <= 1.00 and peach == False:
useSkill(1, 'random') # 魔人の一閃 (221517): Increase Accuracy by 150% to caster for 3 turns, Physical damage (1.2x, ATK) to all enemies
peach = True # reset next turn
elif random() <= 1.00 and green == 1 and olive == False:
useSkill(3, 'random') # 魔人の力【火】 (221523): Reduce resistance to Fire by 150% for 3 turns to all enemies, Magic fire damage (1.6x, MAG) to one enemy
green = 0
olive = True # reset next turn
elif random() <= 1.00 and olive == False:
wait() # No action
green += 1
olive = True # reset next turn
elif random() <= 1.00 and white == 2 and mango == False:
useSkill(4, 'random') # 強魔のおたけび (221524): Increase MAG by 300% for 3 turns to all allies (can not be removed)
white = 0
mango = True # reset next turn
elif random() <= 1.00 and mango == False:
wait() # No action
white += 1
mango = True # reset next turn
elif random() <= 1.00:
wait() # No action
apple = True # reset next turn
elif random() <= 1.00:
attack('random')
else:
attack('random')
##
# Mission '真降臨ジーニーズ・上級' (8998302)
# BattleScript: 8998301
#
# Battles
# * ジン, シャイターン, イブリース
##
##
# Monster Info
##
#
# Monster ジン (408111001, 408111000)
# Race Fairy
# Level 99
# Actions 30-30
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 2400000000
# MP 10000
# ATK 7800
# DEF 200000
# MAG 7500
# SPR 180000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire -150%
# 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 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 風属性吸収 (100011) [Passive]
#
# Absorb Wind elemental attacks
#
##
###
# Skills
###
#
# 魔人の一閃 (221517) [Physical]
#
# Increase Accuracy by 150% to caster for 3 turns
# Physical damage (1.2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ワッハッハッハッハ (221518) [None]
#
# Increase ATK, DEF, MAG and SPR by 300% for 99 turns to caster (can not be removed)
# Unused parameters: [1]
# Restore 50% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔人の力【風】 (221519) [Magic]
#
# Reduce resistance to Wind by 150% for 3 turns to all enemies
# Unused parameters: [1]
# Magic wind damage (1.6x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# とりまく風 (221520) [None]
#
# Add Wind element (100%) to physical attacks for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 1.00 and apple == True:
endTurn()
elif random() <= 1.00 and party('monsters').unitsAlive() == 1 and once():
useSkill(2, 'random') # ワッハッハッハッハ (221518): Increase ATK, DEF, MAG and SPR by 300% for 99 turns to caster (can not be removed), Restore 50% HP to caster
elif random() <= 1.00 and berry == False:
useSkill(1, 'random') # 魔人の一閃 (221517): Increase Accuracy by 150% to caster for 3 turns, Physical damage (1.2x, ATK) to all enemies
berry = True # reset next turn
elif random() <= 1.00 and peach == False:
useSkill(1, 'random') # 魔人の一閃 (221517): Increase Accuracy by 150% to caster for 3 turns, Physical damage (1.2x, ATK) to all enemies
peach = True # reset next turn
elif random() <= 1.00 and green == 1 and olive == False:
useSkill(3, 'random') # 魔人の力【風】 (221519): Reduce resistance to Wind by 150% for 3 turns to all enemies, Magic wind damage (1.6x, MAG) to one enemy
green = 0
olive = True # reset next turn
elif random() <= 1.00 and olive == False:
wait() # No action
green += 1
olive = True # reset next turn
elif random() <= 1.00 and white == 2 and mango == False:
useSkill(4, 'random') # とりまく風 (221520): Add Wind element (100%) to physical attacks for 3 turns to all enemies
white = 0
mango = True # reset next turn
elif random() <= 1.00 and mango == False:
wait() # No action
white += 1
mango = True # reset next turn
elif random() <= 1.00:
wait() # No action
apple = True # reset next turn
elif random() <= 1.00:
attack('random')
else:
attack('random')
##
# Monster Info
##
#
# Monster シャイターン (408112001, 408111000)
# Race Fairy
# Level 99
# Actions 30-30
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 2400000000
# MP 10000
# ATK 7800
# DEF 200000
# MAG 7500
# SPR 180000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning -150%
# 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 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 闇属性吸収 (100013) [Passive]
#
# Absorb Dark elemental attacks
#
##
###
# Skills
###
#
# 魔人の一閃 (221517) [Physical]
#
# Increase Accuracy by 150% to caster for 3 turns
# Physical damage (1.2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ワッハッハッハッハ (221518) [None]
#
# Increase ATK, DEF, MAG and SPR by 300% for 99 turns to caster (can not be removed)
# Unused parameters: [1]
# Restore 50% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔人の力【闇】 (221521) [Magic]
#
# Reduce resistance to Dark by 150% for 3 turns to all enemies
# Unused parameters: [1]
# Magic dark damage (1.6x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔人の怒号 (221522) [None]
#
# Reduce ATK and DEF by 85% for 3 turns to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 1.00 and apple == True:
endTurn()
elif random() <= 1.00 and party('monsters').unitsAlive() == 1 and once():
useSkill(2, 'random') # ワッハッハッハッハ (221518): Increase ATK, DEF, MAG and SPR by 300% for 99 turns to caster (can not be removed), Restore 50% HP to caster
elif random() <= 1.00 and berry == False:
useSkill(1, 'random') # 魔人の一閃 (221517): Increase Accuracy by 150% to caster for 3 turns, Physical damage (1.2x, ATK) to all enemies
berry = True # reset next turn
elif random() <= 1.00 and peach == False:
useSkill(1, 'random') # 魔人の一閃 (221517): Increase Accuracy by 150% to caster for 3 turns, Physical damage (1.2x, ATK) to all enemies
peach = True # reset next turn
elif random() <= 1.00 and green == 1 and olive == False:
useSkill(3, 'random') # 魔人の力【闇】 (221521): Reduce resistance to Dark by 150% for 3 turns to all enemies, Magic dark damage (1.6x, MAG) to one enemy
green = 0
olive = True # reset next turn
elif random() <= 1.00 and olive == False:
wait() # No action
green += 1
olive = True # reset next turn
elif random() <= 1.00 and white == 2 and mango == False:
useSkill(4, 'random') # 魔人の怒号 (221522): Reduce ATK and DEF by 85% for 3 turns to all enemies
white = 0
mango = True # reset next turn
elif random() <= 1.00 and mango == False:
wait() # No action
white += 1
mango = True # reset next turn
elif random() <= 1.00:
wait() # No action
apple = True # reset next turn
elif random() <= 1.00:
attack('random')
else:
attack('random')
##
# Monster Info
##
#
# Monster イブリース (408113001, 408113000)
# Race Fairy
# Level 99
# Actions 30-30
#
# NEW DAMAGE FORMULA! (5, 25, 185)
#
#
# Stats
# HP 2400000000
# MP 10000
# ATK 7800
# DEF 200000
# MAG 7500
# SPR 180000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice -150%
# Lightning 0%
# Water -150%
# 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 100%
# DEF 0%
# MAG 100%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Passives
###
#
# 火属性吸収 (100003) [Passive]
#
# Absorb Fire elemental attacks
#
##
###
# Skills
###
#
# 魔人の一閃 (221517) [Physical]
#
# Increase Accuracy by 150% to caster for 3 turns
# Physical damage (1.2x, ATK) to all enemies
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# ワッハッハッハッハ (221518) [None]
#
# Increase ATK, DEF, MAG and SPR by 300% for 99 turns to caster (can not be removed)
# Unused parameters: [1]
# Restore 50% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 魔人の力【火】 (221523) [Magic]
#
# Reduce resistance to Fire by 150% for 3 turns to all enemies
# Unused parameters: [1]
# Magic fire damage (1.6x, MAG) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# 強魔のおたけび (221524) [None]
#
# Increase MAG by 300% for 3 turns to all allies (can not be removed)
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 1.00 and apple == True:
endTurn()
elif random() <= 1.00 and party('monsters').unitsAlive() == 1 and once():
useSkill(2, 'random') # ワッハッハッハッハ (221518): Increase ATK, DEF, MAG and SPR by 300% for 99 turns to caster (can not be removed), Restore 50% HP to caster
elif random() <= 1.00 and berry == False:
useSkill(1, 'random') # 魔人の一閃 (221517): Increase Accuracy by 150% to caster for 3 turns, Physical damage (1.2x, ATK) to all enemies
berry = True # reset next turn
elif random() <= 1.00 and peach == False:
useSkill(1, 'random') # 魔人の一閃 (221517): Increase Accuracy by 150% to caster for 3 turns, Physical damage (1.2x, ATK) to all enemies
peach = True # reset next turn
elif random() <= 1.00 and green == 1 and olive == False:
useSkill(3, 'random') # 魔人の力【火】 (221523): Reduce resistance to Fire by 150% for 3 turns to all enemies, Magic fire damage (1.6x, MAG) to one enemy
green = 0
olive = True # reset next turn
elif random() <= 1.00 and olive == False:
wait() # No action
green += 1
olive = True # reset next turn
elif random() <= 1.00 and white == 2 and mango == False:
useSkill(4, 'random') # 強魔のおたけび (221524): Increase MAG by 300% for 3 turns to all allies (can not be removed)
white = 0
mango = True # reset next turn
elif random() <= 1.00 and mango == False:
wait() # No action
white += 1
mango = True # reset next turn
elif random() <= 1.00:
wait() # No action
apple = True # reset next turn
elif random() <= 1.00:
attack('random')
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment