Module:Magic/data

From Melvor Idle

Documentation for this module may be created at Module:Magic/data/doc

-- Version: ALPHA V0.22.1 (?1183)

local MagicData = {}

--[[Generated via console using
var fullTxt = ''
var txt = JSON.stringify(SPELLS)
txt = txt.replace(/\'/g, "\\\'")
txt = txt.replace(/\\\"/g, "\\\\\"")
txt = "MagicData.Spells = mw.text.jsonDecode('" + txt + "')"
fullTxt = txt

txt = JSON.stringify(CURSES)
txt = txt.replace(/\'/g, "\\\'")
txt = txt.replace(/\\\"/g, "\\\\\"")
txt = "MagicData.Curses = mw.text.jsonDecode('" + txt + "')"
fullTxt += "\r\n\r\n" + txt

txt = JSON.stringify(AURORAS)
txt = txt.replace(/\'/g, "\\\'")
txt = txt.replace(/\\\"/g, "\\\\\"")
txt = "MagicData.Auroras = mw.text.jsonDecode('" + txt + "')"
fullTxt += "\r\n\r\n" + txt

//Manually forcing through Ancient spell descriptions
var tempAncients = []
for(var i = 0; i < ANCIENT.length; i++){
    tempAncients[i] = {...ANCIENT[i]};
    tempAncients[i].description = describeAttack(ANCIENT[i].specialAttack,enemyNoun,youNoun)
}
txt = JSON.stringify(tempAncients)
txt = txt.replace(/\'/g, "\\\'")
txt = txt.replace(/\\\"/g, "\\\\\"")
txt = "MagicData.Ancient = mw.text.jsonDecode('" + txt + "')"
fullTxt += "\r\n\r\n" + txt

txt = JSON.stringify(ALTMAGIC)
txt = txt.replace(/\'/g, "\\\'")
txt = txt.replace(/\\\"/g, "\\\\\"")
txt = "MagicData.AltMagic = mw.text.jsonDecode('" + txt + "')"
fullTxt += "\r\n\r\n" + txt

fullTxt += "\r\n\r\nreturn MagicData"
console.log(fullTxt)
--]]

MagicData.Spells = mw.text.jsonDecode('[{"id":0,"name":"Wind Strike","media":"assets/media/skills/magic/wind_strike.svg","level":1,"runesRequired":[{"id":389,"qty":1},{"id":390,"qty":1}],"maxHit":2,"spellType":0},{"id":1,"name":"Water Strike","media":"assets/media/skills/magic/water_strike.svg","level":3,"runesRequired":[{"id":389,"qty":1},{"id":390,"qty":1},{"id":391,"qty":1}],"runesRequiredAlt":[{"id":824,"qty":1},{"id":390,"qty":1}],"maxHit":4,"spellType":1},{"id":2,"name":"Earth Strike","media":"assets/media/skills/magic/earth_strike.svg","level":6,"runesRequired":[{"id":389,"qty":1},{"id":390,"qty":1},{"id":392,"qty":1}],"runesRequiredAlt":[{"id":825,"qty":1},{"id":390,"qty":1}],"maxHit":6,"spellType":2},{"id":3,"name":"Fire Strike","media":"assets/media/skills/magic/fire_strike.svg","level":10,"runesRequired":[{"id":389,"qty":1},{"id":390,"qty":1},{"id":393,"qty":1}],"runesRequiredAlt":[{"id":827,"qty":1},{"id":390,"qty":1}],"maxHit":8,"spellType":3},{"id":4,"name":"Wind Bolt","media":"assets/media/skills/magic/wind_bolt.svg","level":14,"runesRequired":[{"id":389,"qty":2},{"id":395,"qty":1}],"maxHit":9,"spellType":0},{"id":5,"name":"Water Bolt","media":"assets/media/skills/magic/water_bolt.svg","level":16,"runesRequired":[{"id":389,"qty":2},{"id":395,"qty":1},{"id":391,"qty":2}],"runesRequiredAlt":[{"id":824,"qty":2},{"id":395,"qty":1}],"maxHit":10,"spellType":1},{"id":6,"name":"Earth Bolt","media":"assets/media/skills/magic/earth_bolt.svg","level":19,"runesRequired":[{"id":389,"qty":2},{"id":395,"qty":1},{"id":392,"qty":3}],"runesRequiredAlt":[{"id":825,"qty":2},{"id":395,"qty":1}],"maxHit":11,"spellType":2},{"id":7,"name":"Fire Bolt","media":"assets/media/skills/magic/fire_bolt.svg","level":23,"runesRequired":[{"id":389,"qty":3},{"id":395,"qty":1},{"id":393,"qty":4}],"runesRequiredAlt":[{"id":827,"qty":3},{"id":395,"qty":1}],"maxHit":12,"spellType":3},{"id":8,"name":"Wind Blast","media":"assets/media/skills/magic/wind_blast.svg","level":28,"runesRequired":[{"id":389,"qty":3},{"id":396,"qty":1}],"maxHit":13,"spellType":0},{"id":9,"name":"Water Blast","media":"assets/media/skills/magic/water_blast.svg","level":30,"runesRequired":[{"id":389,"qty":3},{"id":396,"qty":1},{"id":391,"qty":4}],"runesRequiredAlt":[{"id":824,"qty":3},{"id":396,"qty":1}],"maxHit":14,"spellType":1},{"id":10,"name":"Earth Blast","media":"assets/media/skills/magic/earth_blast.svg","level":33,"runesRequired":[{"id":389,"qty":3},{"id":396,"qty":1},{"id":392,"qty":4}],"runesRequiredAlt":[{"id":825,"qty":3},{"id":396,"qty":1}],"maxHit":15,"spellType":2},{"id":11,"name":"Fire Blast","media":"assets/media/skills/magic/fire_blast.svg","level":37,"runesRequired":[{"id":389,"qty":4},{"id":396,"qty":1},{"id":393,"qty":5}],"runesRequiredAlt":[{"id":827,"qty":4},{"id":396,"qty":1}],"maxHit":16,"spellType":3},{"id":12,"name":"Wind Wave","media":"assets/media/skills/magic/wind_wave.svg","level":43,"runesRequired":[{"id":389,"qty":5},{"id":397,"qty":1}],"maxHit":17,"spellType":0},{"id":13,"name":"Water Wave","media":"assets/media/skills/magic/water_wave.svg","level":45,"runesRequired":[{"id":389,"qty":5},{"id":397,"qty":1},{"id":391,"qty":7}],"runesRequiredAlt":[{"id":824,"qty":5},{"id":397,"qty":1}],"maxHit":18,"spellType":1},{"id":14,"name":"Earth Wave","media":"assets/media/skills/magic/earth_wave.svg","level":48,"runesRequired":[{"id":389,"qty":5},{"id":397,"qty":1},{"id":392,"qty":7}],"runesRequiredAlt":[{"id":825,"qty":5},{"id":397,"qty":1}],"maxHit":19,"spellType":2},{"id":15,"name":"Fire Wave","media":"assets/media/skills/magic/fire_wave.svg","level":52,"runesRequired":[{"id":389,"qty":5},{"id":397,"qty":1},{"id":393,"qty":7}],"runesRequiredAlt":[{"id":827,"qty":5},{"id":397,"qty":1}],"maxHit":20,"spellType":3},{"id":16,"name":"Wind Surge","media":"assets/media/skills/magic/wind_surge.svg","level":57,"runesRequired":[{"id":389,"qty":5},{"id":398,"qty":1}],"maxHit":21,"spellType":0},{"id":17,"name":"Water Surge","media":"assets/media/skills/magic/water_surge.svg","level":61,"runesRequired":[{"id":389,"qty":7},{"id":398,"qty":1},{"id":391,"qty":10}],"runesRequiredAlt":[{"id":824,"qty":7},{"id":398,"qty":1}],"maxHit":22,"spellType":1},{"id":18,"name":"Earth Surge","media":"assets/media/skills/magic/earth_surge.svg","level":64,"runesRequired":[{"id":389,"qty":7},{"id":398,"qty":1},{"id":392,"qty":10}],"runesRequiredAlt":[{"id":825,"qty":7},{"id":398,"qty":1}],"maxHit":23,"spellType":2},{"id":19,"name":"Fire Surge","media":"assets/media/skills/magic/fire_surge.svg","level":68,"runesRequired":[{"id":389,"qty":7},{"id":398,"qty":1},{"id":393,"qty":10}],"runesRequiredAlt":[{"id":827,"qty":7},{"id":398,"qty":1}],"maxHit":24,"spellType":3}]')

MagicData.Curses = mw.text.jsonDecode('[{"name":"Blinding I","id":0,"media":"assets/media/skills/magic/blinding_i.svg","description":"Lower Enemy Accuracy by 5%<br>Lasts 3 Attack Turns","level":10,"runesRequired":[{"id":390,"qty":2},{"id":394,"qty":1}],"enemyModifiers":{"decreasedGlobalAccuracy":5}},{"name":"Soul Split I","id":1,"media":"assets/media/skills/magic/soul_split_i.svg","description":"Lower Enemy Magic Evasion Rating by 5%<br>Lasts 3 Attack Turns","level":15,"runesRequired":[{"id":390,"qty":1},{"id":394,"qty":1},{"id":395,"qty":1}],"enemyModifiers":{"decreasedMagicEvasion":5}},{"name":"Weakening I","id":2,"media":"assets/media/skills/magic/weakening_i.svg","description":"Lowers Enemy max hit by 5% (Does not affect Special Attacks)<br>Lasts 3 Attack Turns","level":20,"runesRequired":[{"id":390,"qty":3},{"id":394,"qty":1}],"enemyModifiers":{"decreasedMaxHitPercent":5}},{"name":"Anguish I","id":3,"media":"assets/media/skills/magic/anguish_i.svg","description":"Enemy takes 5% more damage.<br>Lasts 3 Attack Turns","level":30,"runesRequired":[{"id":394,"qty":2},{"id":396,"qty":1}],"enemyModifiers":{"increasedDamageTaken":5}},{"name":"Blinding II","id":4,"media":"assets/media/skills/magic/blinding_ii.svg","description":"Lower Enemy Accuracy by 10%<br>Lasts 3 Attack Turns","level":30,"runesRequired":[{"id":390,"qty":3},{"id":394,"qty":1}],"enemyModifiers":{"decreasedGlobalAccuracy":10}},{"name":"Soul Split II","id":5,"media":"assets/media/skills/magic/soul_split_ii.svg","description":"Lower Enemy Magic Evasion Rating by 10%<br>Lasts 3 Attack Turns","level":35,"runesRequired":[{"id":390,"qty":2},{"id":394,"qty":2},{"id":395,"qty":1}],"enemyModifiers":{"decreasedMagicEvasion":10}},{"name":"Weakening II","id":6,"media":"assets/media/skills/magic/weakening_ii.svg","description":"Lowers Enemy max hit by 10% (Does not affect Special Attacks)<br>Lasts 3 Attack Turns","level":40,"runesRequired":[{"id":390,"qty":3},{"id":394,"qty":1}],"enemyModifiers":{"decreasedMaxHitPercent":10}},{"name":"Confusion","id":7,"media":"assets/media/skills/magic/confusion.svg","description":"When an Enemy successfully hits you, Enemy takes damage equal to 3% of its remaining HP (Once per Attack Turn.).<br>Lasts 3 Attack Turns","level":45,"runesRequired":[{"id":390,"qty":3},{"id":394,"qty":2},{"id":395,"qty":1}],"enemyModifiers":{"increasedConfusion":3}},{"name":"Anguish II","id":8,"media":"assets/media/skills/magic/anguish_ii.svg","description":"Enemy takes 10% more damage.<br>Lasts 3 Attack Turns","level":50,"runesRequired":[{"id":394,"qty":3},{"id":396,"qty":2}],"enemyModifiers":{"increasedDamageTaken":10}},{"name":"Blinding III","id":9,"media":"assets/media/skills/magic/blinding_iii.svg","description":"Lower Enemy Accuracy by 15%<br>Lasts 3 Attack Turns","level":50,"runesRequired":[{"id":390,"qty":4},{"id":394,"qty":2},{"id":822,"qty":2}],"enemyModifiers":{"decreasedGlobalAccuracy":15}},{"name":"Soul Split III","id":10,"media":"assets/media/skills/magic/soul_split_iii.svg","description":"Lower Enemy Magic Evasion Rating by 15%<br>Lasts 3 Attack Turns","level":55,"runesRequired":[{"id":390,"qty":3},{"id":394,"qty":3},{"id":395,"qty":2},{"id":822,"qty":1}],"enemyModifiers":{"decreasedMagicEvasion":15}},{"name":"Weakening III","id":11,"media":"assets/media/skills/magic/weakening_iii.svg","description":"Lowers Enemy max hit by 15% (Does not affect Special Attacks)<br>Lasts 3 Attack Turns","level":60,"runesRequired":[{"id":390,"qty":3},{"id":394,"qty":1},{"id":822,"qty":2}],"enemyModifiers":{"decreasedMaxHitPercent":15}},{"name":"Anguish III","id":12,"media":"assets/media/skills/magic/anguish_iii.svg","description":"Enemy takes 15% more damage.<br>Lasts 3 Attack Turns","level":70,"runesRequired":[{"id":394,"qty":4},{"id":396,"qty":3},{"id":822,"qty":2}],"enemyModifiers":{"increasedDamageTaken":15}},{"name":"Decay","id":13,"media":"assets/media/skills/magic/decay.svg","description":"Enemy takes damage when they successfully attack the Player equal to 2% of their Max HP (Once per Attack Turn.). They also lose a total of 10% Evasion Rating<br>Lasts 3 Attack Turns","level":80,"runesRequired":[{"id":822,"qty":2},{"id":396,"qty":1},{"id":397,"qty":3}],"enemyModifiers":{"increasedDecay":2,"decreasedGlobalEvasion":10}}]')

MagicData.Auroras = mw.text.jsonDecode('[{"id":0,"name":"Surge I","media":"assets/media/skills/magic/surge_i.svg","level":15,"runesRequired":[{"id":389,"qty":3},{"id":820,"qty":1}],"requiredItem":-1,"modifiers":{"decreasedAttackInterval":100,"increasedRangedEvasion":5}},{"id":1,"name":"Fury I","media":"assets/media/skills/magic/fury_i.svg","level":25,"runesRequired":[{"id":391,"qty":3},{"id":820,"qty":1}],"requiredItem":-1,"modifiers":{"increasedMaxHitFlat":2.5,"increasedMagicEvasion":5}},{"id":2,"name":"Fervor I","media":"assets/media/skills/magic/fervor_i.svg","level":35,"runesRequired":[{"id":392,"qty":3},{"id":820,"qty":1}],"requiredItem":-1,"modifiers":{"increasedLifesteal":5,"increasedMeleeEvasion":5}},{"id":3,"name":"Surge II","media":"assets/media/skills/magic/surge_ii.svg","level":40,"runesRequired":[{"id":389,"qty":4},{"id":820,"qty":2}],"requiredItem":-1,"modifiers":{"decreasedAttackInterval":200,"increasedRangedEvasion":10}},{"id":4,"name":"Charged I","media":"assets/media/skills/magic/charged_i.svg","level":45,"runesRequired":[{"id":395,"qty":2},{"id":396,"qty":2},{"id":820,"qty":1}],"requiredItem":-1,"modifiers":{"increasedFlatMinHit":1}},{"id":5,"name":"Fury II","media":"assets/media/skills/magic/fury_ii.svg","level":50,"runesRequired":[{"id":391,"qty":4},{"id":820,"qty":2}],"requiredItem":-1,"modifiers":{"increasedMaxHitFlat":5,"increasedMagicEvasion":10}},{"id":6,"name":"Fervor II","media":"assets/media/skills/magic/fervor_ii.svg","level":60,"runesRequired":[{"id":392,"qty":4},{"id":820,"qty":2}],"requiredItem":-1,"modifiers":{"increasedLifesteal":10,"increasedMeleeEvasion":10}},{"id":7,"name":"Surge III","media":"assets/media/skills/magic/surge_iii.svg","level":65,"runesRequired":[{"id":389,"qty":5},{"id":820,"qty":3}],"requiredItem":493,"modifiers":{"decreasedAttackInterval":300,"increasedRangedEvasion":15}},{"id":8,"name":"Charged II","media":"assets/media/skills/magic/charged_ii.svg","level":70,"runesRequired":[{"id":395,"qty":3},{"id":396,"qty":3},{"id":820,"qty":2}],"requiredItem":-1,"modifiers":{"increasedFlatMinHit":2}},{"id":9,"name":"Fury III","media":"assets/media/skills/magic/fury_iii.svg","level":75,"runesRequired":[{"id":391,"qty":5},{"id":820,"qty":3}],"requiredItem":493,"modifiers":{"increasedMaxHitFlat":7.5,"increasedMagicEvasion":15}},{"id":10,"name":"Fervor III","media":"assets/media/skills/magic/fervor_iii.svg","level":85,"runesRequired":[{"id":392,"qty":5},{"id":820,"qty":3}],"requiredItem":493,"modifiers":{"increasedLifesteal":15,"increasedMeleeEvasion":15}},{"id":11,"name":"Charged III","media":"assets/media/skills/magic/charged_iii.svg","level":95,"runesRequired":[{"id":395,"qty":4},{"id":396,"qty":4},{"id":820,"qty":3}],"requiredItem":493,"modifiers":{"increasedFlatMinHit":4}}]')

MagicData.Ancient = mw.text.jsonDecode('[{"id":0,"name":"Slicing Winds","media":"assets/media/skills/magic/slicing_winds.svg","level":70,"specialAttack":{"name":"Slicing Winds","id":15,"description":"Attack <count> times for <damage> damage each. If your Accuracy Rating is higher than 20k then this attack <canMiss>.","defaultChance":100,"damage":[{"character":"Attacker","maxRoll":"Fixed","maxPercent":17.5,"roll":false}],"prehitEffects":[],"onhitEffects":[],"cantMiss":true,"minAccuracy":20000,"attackCount":3,"attackInterval":300,"lifesteal":0,"useRunesPerProc":false,"usePrayerPointsPerProc":true,"usePotionChargesPerProc":true,"attackTypes":["melee","ranged","magic"]},"runesRequired":[{"id":389,"qty":20},{"id":398,"qty":5}],"requiredDungeonCompletion":[5,100],"description":"Attack 3 times for 175 damage each. If your Accuracy Rating is higher than 20k then this attack can\'t miss."},{"id":1,"name":"Icicle Volley","media":"assets/media/skills/magic/icicle_volley.svg","level":74,"specialAttack":{"name":"Icicle Volley","id":16,"description":"Attack <count> times for <damage> damage each (<CanMiss>). On a hit, <hitEffect>.","defaultChance":100,"damage":[{"character":"Attacker","maxRoll":"Fixed","maxPercent":17,"roll":false}],"prehitEffects":[],"onhitEffects":[{"type":"Modifier","modifiers":{"increasedAttackIntervalPercent":20},"maxStacks":1,"character":"Target","turns":3,"countsOn":"Target","media":"assets/media/status/slowed.svg"}],"cantMiss":false,"attackCount":5,"attackInterval":200,"lifesteal":0,"useRunesPerProc":false,"usePrayerPointsPerProc":true,"usePotionChargesPerProc":true,"attackTypes":["melee","ranged","magic"]},"runesRequired":[{"id":391,"qty":20},{"id":398,"qty":5}],"requiredDungeonCompletion":[5,100],"description":"Attack 5 times for 170 damage each (Can miss). On a hit, gives you <span class=\\"font-w700 text-danger\\">+20% Attack Interval</span> for 3 of your turns."},{"id":2,"name":"Ignite","media":"assets/media/skills/magic/ignite.svg","level":82,"specialAttack":{"name":"Ignite","id":17,"description":"Attack once dealing <damage> damage (<CanMiss>). On a hit, <hitEffect>.","defaultChance":100,"damage":[{"character":"Attacker","maxRoll":"Fixed","maxPercent":68,"roll":false}],"prehitEffects":[],"onhitEffects":[{"type":"DOT","subtype":"Burn","damage":[{"character":"Target","roll":false,"maxRoll":"CurrentHP","maxPercent":15}],"procs":10,"interval":250,"chance":10}],"cantMiss":false,"attackCount":1,"attackInterval":-1,"lifesteal":0,"useRunesPerProc":false,"usePrayerPointsPerProc":true,"usePotionChargesPerProc":true,"attackTypes":["melee","ranged","magic"]},"runesRequired":[{"id":393,"qty":20},{"id":398,"qty":5}],"requiredDungeonCompletion":[5,100],"description":"Attack once dealing 680 damage (Can miss). On a hit, has a 10% chance to inflict Burn that deals 15% of your current hitpoints as damage over 2.5s."},{"id":3,"name":"Gust","media":"assets/media/skills/magic/gust.svg","level":86,"specialAttack":{"name":"Gust","id":18,"description":"Attack <count> times dealing <damage> damage each. <HitEffect> on a hit. If your Accuracy Rating is higher than 20K then this attack <canMiss>.","defaultChance":100,"damage":[{"character":"Attacker","maxRoll":"Fixed","maxPercent":20,"roll":false}],"prehitEffects":[],"onhitEffects":[{"type":"Stun","turns":1,"chance":10,"flavour":"Stun"}],"cantMiss":true,"minAccuracy":20000,"attackCount":4,"attackInterval":500,"lifesteal":0,"useRunesPerProc":false,"usePrayerPointsPerProc":true,"usePotionChargesPerProc":true,"attackTypes":["melee","ranged","magic"]},"runesRequired":[{"id":389,"qty":25},{"id":398,"qty":5},{"id":822,"qty":5}],"requiredDungeonCompletion":[8,100],"description":"Attack 4 times dealing 200 damage each. Has a 10% chance to apply stun for 1 turn on a hit. If your Accuracy Rating is higher than 20K then this attack can\'t miss."},{"id":4,"name":"Frostbite","media":"assets/media/skills/magic/frostbite.svg","level":90,"specialAttack":{"name":"Frostbite","id":19,"description":"Attack once dealing <damage> damage (<CanMiss>). <HitEffect> on a hit.","defaultChance":100,"damage":[{"character":"Attacker","maxRoll":"Fixed","maxPercent":75,"roll":false}],"prehitEffects":[],"onhitEffects":[{"type":"Stun","turns":2,"chance":30,"flavour":"Freeze"}],"cantMiss":false,"attackCount":1,"attackInterval":-1,"lifesteal":0,"useRunesPerProc":false,"usePrayerPointsPerProc":true,"usePotionChargesPerProc":true,"attackTypes":["melee","ranged","magic"]},"runesRequired":[{"id":391,"qty":25},{"id":398,"qty":6},{"id":822,"qty":6}],"requiredDungeonCompletion":[9,100],"description":"Attack once dealing 750 damage (Can miss). Has a 30% chance to apply freeze for 2 turns on a hit."},{"id":5,"name":"Quake","media":"assets/media/skills/magic/quake.svg","level":94,"specialAttack":{"name":"Quake","id":20,"description":"Attack <count> times dealing <damage> damage each (<CanMiss>). On a hit, <hitEffect>.","defaultChance":100,"damage":[{"character":"Attacker","maxRoll":"Fixed","maxPercent":54,"roll":false}],"prehitEffects":[],"onhitEffects":[{"type":"Modifier","modifiers":{"increasedAttackIntervalPercent":50},"maxStacks":1,"character":"Target","turns":1,"countsOn":"Target","media":"assets/media/status/slowed.svg"}],"cantMiss":false,"attackCount":2,"attackInterval":400,"lifesteal":0,"useRunesPerProc":false,"usePrayerPointsPerProc":true,"usePotionChargesPerProc":true,"attackTypes":["melee","ranged","magic"]},"runesRequired":[{"id":392,"qty":25},{"id":398,"qty":7},{"id":822,"qty":7}],"requiredDungeonCompletion":[10,100],"description":"Attack 2 times dealing 540 damage each (Can miss). On a hit, gives you <span class=\\"font-w700 text-danger\\">+50% Attack Interval</span> for 1 of your turn."},{"id":6,"name":"Incinerate","media":"assets/media/skills/magic/incinerate.svg","level":98,"specialAttack":{"name":"Incinerate","id":21,"description":"Attack <count> times dealing <damage> damage each. If your Accuracy Rating is higher than 20K then this attack <canMiss>.","defaultChance":100,"damage":[{"character":"Attacker","maxRoll":"Fixed","maxPercent":6.3,"roll":false}],"prehitEffects":[],"onhitEffects":[{"type":"DOT","subtype":"Burn","damage":[{"character":"Target","roll":false,"maxRoll":"CurrentHP","maxPercent":15}],"procs":10,"interval":250,"chance":100}],"cantMiss":true,"minAccuracy":20000,"attackCount":14,"attackInterval":150,"lifesteal":0,"useRunesPerProc":false,"usePrayerPointsPerProc":true,"usePotionChargesPerProc":true,"attackTypes":["melee","ranged","magic"]},"runesRequired":[{"id":393,"qty":30},{"id":398,"qty":10},{"id":822,"qty":10}],"requiredDungeonCompletion":[11,100],"description":"Attack 14 times dealing 63 damage each. If your Accuracy Rating is higher than 20K then this attack can\'t miss."}]')

MagicData.AltMagic = mw.text.jsonDecode('[{"id":0,"name":"Just Learning","media":"assets/media/skills/magic/magic.svg","description":"Convert selected item into 1 Rune Essence.","level":1,"selectItem":1,"isAlch":false,"isJunk":false,"convertTo":388,"convertToQty":1,"magicXP":5,"runesRequired":[{"id":821,"qty":1},{"id":389,"qty":1}],"runesRequiredAlt":[{"id":821,"qty":1},{"id":389,"qty":1}]},{"id":1,"name":"Superheat I","media":"assets/media/skills/magic/superheat_i.svg","description":"Create 1 x bars using 1 x required ores.","level":5,"selectItem":0,"convertToQty":1,"magicXP":8,"ignoreCoal":false,"runesRequired":[{"id":821,"qty":1},{"id":392,"qty":2},{"id":393,"qty":2}],"runesRequiredAlt":[{"id":821,"qty":1},{"id":829,"qty":2}]},{"id":2,"name":"Item Alchemy I","media":"assets/media/skills/magic/item_alchemy.svg","description":"Convert selected item into GP worth 40% of the item\'s base sale price.","level":10,"convertToQty":0.4,"selectItem":1,"isAlch":true,"isJunk":false,"magicXP":10,"runesRequired":[{"id":821,"qty":1},{"id":393,"qty":3}],"runesRequiredAlt":[{"id":821,"qty":1},{"id":393,"qty":3}]},{"id":3,"name":"Bone Offering","media":"assets/media/bank/bones.png","description":"Creates 2 x Bones.","level":18,"needCoal":false,"convertTo":439,"convertToQty":2,"selectItem":-1,"magicXP":12,"runesRequired":[{"id":821,"qty":1},{"id":392,"qty":1}],"runesRequiredAlt":[{"id":821,"qty":1},{"id":392,"qty":1}]},{"id":4,"name":"Superheat II","media":"assets/media/skills/magic/superheat_ii.svg","description":"Create 2 x bars using 1 x required ores.","level":25,"selectItem":0,"convertToQty":2,"ignoreCoal":false,"magicXP":15,"runesRequired":[{"id":821,"qty":1},{"id":392,"qty":3},{"id":393,"qty":3}],"runesRequiredAlt":[{"id":821,"qty":1},{"id":829,"qty":3}]},{"id":5,"name":"Item Alchemy II","media":"assets/media/skills/magic/item_alchemy.svg","description":"Convert selected item into GP worth 100% of the item\'s base sale price.","level":35,"convertToQty":1,"selectItem":1,"isAlch":true,"isJunk":false,"magicXP":18,"runesRequired":[{"id":821,"qty":1},{"id":393,"qty":4}],"runesRequiredAlt":[{"id":821,"qty":1},{"id":393,"qty":4}]},{"id":6,"name":"Rags to Riches I","media":"assets/media/skills/magic/rags_to_riches.svg","description":"Convert selected Junk item, obtained from Fishing, into a random Gem.","level":48,"selectItem":1,"convertToQty":1,"isAlch":false,"isJunk":true,"magicXP":21,"runesRequired":[{"id":821,"qty":1},{"id":391,"qty":2},{"id":392,"qty":2}],"runesRequiredAlt":[{"id":821,"qty":1},{"id":826,"qty":2}]},{"id":7,"name":"Blessed Offering","media":"assets/media/bank/holy_dust.png","description":"Creates 2 x Holy Dust.","level":56,"needCoal":false,"convertTo":500,"convertToQty":2,"selectItem":-1,"magicXP":24,"runesRequired":[{"id":821,"qty":2},{"id":392,"qty":1}],"runesRequiredAlt":[{"id":821,"qty":2},{"id":392,"qty":1}]},{"id":8,"name":"Superheat III","media":"assets/media/skills/magic/superheat_iii.svg","description":"Create 3 x bars using 1 x required ores.","level":64,"selectItem":0,"convertToQty":3,"ignoreCoal":false,"magicXP":28,"runesRequired":[{"id":821,"qty":1},{"id":392,"qty":4},{"id":393,"qty":4},{"id":823,"qty":1}],"runesRequiredAlt":[{"id":821,"qty":1},{"id":829,"qty":4},{"id":823,"qty":1}]},{"id":9,"name":"Rags to Riches II","media":"assets/media/skills/magic/rags_to_riches.svg","description":"Convert Coal Ore into a random Gem.","level":70,"selectItem":-1,"convertToQty":1,"needCoal":true,"magicXP":32,"runesRequired":[{"id":821,"qty":2},{"id":391,"qty":4},{"id":392,"qty":4},{"id":823,"qty":2}],"runesRequiredAlt":[{"id":821,"qty":2},{"id":826,"qty":4},{"id":823,"qty":2}]},{"id":10,"name":"Item Alchemy III","media":"assets/media/skills/magic/item_alchemy.svg","description":"Convert selected item into GP worth 160% of the item\'s base sale price.","level":76,"convertToQty":1.6,"selectItem":1,"isAlch":true,"isJunk":false,"magicXP":39,"runesRequired":[{"id":821,"qty":1},{"id":393,"qty":5},{"id":823,"qty":2}],"runesRequiredAlt":[{"id":821,"qty":1},{"id":393,"qty":5},{"id":823,"qty":2}]},{"id":11,"name":"Superheat IV","media":"assets/media/skills/magic/superheat_iv.svg","description":"Create 3 x bars using 1 x required ores, ignoring all Coal Requirements.","level":95,"selectItem":0,"convertToQty":3,"ignoreCoal":true,"magicXP":50,"runesRequired":[{"id":821,"qty":2},{"id":392,"qty":7},{"id":393,"qty":7},{"id":823,"qty":3}],"runesRequiredAlt":[{"id":821,"qty":2},{"id":829,"qty":7},{"id":823,"qty":3}]}]')

return MagicData