Difference between revisions of "Module:CombatAreas/data"

From Melvor Idle
(Updated area data to v0.21)
(updated event rewards -- Version: PUBLIC BETA V1.0 (?1317))
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
--Version: v0.21 (?1105)
+
-- Version: PUBLIC BETA V1.0 (?1317)
local areaData = {}
 
  
 
--[[Generated via console using
 
--[[Generated via console using
var fullTxt = ""
+
(function() {
var txt = JSON.stringify(combatAreas)
+
  var getGameVersion = function() {
txt = txt.replace(/\'/g, "\\\'")
+
      var elemNavHeader = document.getElementsByClassName("nav-main-heading")
txt = txt.replace(/\\\"/g, "\\\\\"")
+
      if (elemNavHeader.length > 0) {
txt = "areaData.combatAreas = mw.text.jsonDecode('" + txt + "')"
+
        var verElem = Array.from(elemNavHeader).filter((i, idx) => i.innerText.toLowerCase().startsWith(gameVersion.toLowerCase()))[0]
 +
        if (verElem !== undefined) {
 +
          return verElem.innerText
 +
        }
 +
      }
 +
      return gameVersion
 +
    }
  
fullTxt = txt
+
  var fullText = "-- Version: " + getGameVersion()
 +
  fullText += "\r\n\r\nlocal areaData = {}"
  
txt = JSON.stringify(slayerAreas)
+
  var txt = JSON.stringify(combatAreas)
txt = txt.replace(/\'/g, "\\\'")
+
  txt = txt.replace(/\'/g, "\\\'")
txt = txt.replace(/\\\"/g, "\\\\\"")
+
  txt = txt.replace(/\\\"/g, "\\\\\"")
txt = "areaData.slayerAreas = mw.text.jsonDecode('" + txt + "')"
+
  txt = "areaData.combatAreas = mw.text.jsonDecode('" + txt + "')"
fullTxt += "\r\n\r\n" + txt
+
 
 +
  fullText += "\r\n\r\n" + txt
 +
 
 +
  txt = JSON.stringify(slayerAreas)
 +
  txt = txt.replace(/\'/g, "\\\'")
 +
  txt = txt.replace(/\\\"/g, "\\\\\"")
 +
  txt = "areaData.slayerAreas = mw.text.jsonDecode('" + txt + "')"
 +
  fullText += "\r\n\r\n" + txt
 +
 
 +
  txt = JSON.stringify(DUNGEONS)
 +
  txt = txt.replace(/\'/g, "\\\'")
 +
  txt = txt.replace(/\\\"/g, "\\\\\"")
 +
  txt = "areaData.dungeons = mw.text.jsonDecode('" + txt + "')"
 +
  fullText += "\r\n\r\n" + txt
  
txt = JSON.stringify(DUNGEONS)
+
  var eventObj = {
txt = txt.replace(/\'/g, "\\\'")
+
    slayerAreas: CombatManager.eventAreas,
txt = txt.replace(/\\\"/g, "\\\\\"")
+
    rewards: CombatManager.eventRewards
txt = "areaData.dungeons = mw.text.jsonDecode('" + txt + "')"
+
  }
fullTxt += "\r\n\r\n" + txt
+
  txt = JSON.stringify(eventObj)
 +
  txt = txt.replace(/\'/g, "\\\'")
 +
  txt = txt.replace(/\\\"/g, "\\\\\"")
 +
  txt = "areaData.event = mw.text.jsonDecode('" + txt + "')"
 +
  fullText += "\r\n\r\n" + txt
  
fullTxt += "\r\n\r\nreturn areaData"
+
  fullText += "\r\n\r\nareaData.displayOrder = {}"
  
console.log(fullTxt)
+
  txt = JSON.stringify(combatAreaDisplayOrder)
 +
  txt = txt.replace(/\'/g, "\\\'")
 +
  txt = txt.replace(/\\\"/g, "\\\\\"")
 +
  txt = "areaData.displayOrder.combatAreas = mw.text.jsonDecode('" + txt + "')"
 +
  fullText += "\r\n\r\n" + txt
 +
 
 +
  txt = JSON.stringify(slayerAreaDisplayOrder)
 +
  txt = txt.replace(/\'/g, "\\\'")
 +
  txt = txt.replace(/\\\"/g, "\\\\\"")
 +
  txt = "areaData.displayOrder.slayerAreas = mw.text.jsonDecode('" + txt + "')"
 +
  fullText += "\r\n\r\n" + txt
 +
 
 +
  txt = JSON.stringify(dungeonAreaDisplayOrder)
 +
  txt = txt.replace(/\'/g, "\\\'")
 +
  txt = txt.replace(/\\\"/g, "\\\\\"")
 +
  txt = "areaData.displayOrder.dungeons = mw.text.jsonDecode('" + txt + "')"
 +
  fullText += "\r\n\r\n" + txt
 +
 
 +
  fullText += "\r\n\r\nreturn areaData"
 +
 
 +
  console.log(fullText)
 +
})()
 
--]]
 
--]]
  
areaData.combatAreas = mw.text.jsonDecode('[{"name":"Farmlands","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/farmlands.svg","monsters":[111,37,38,67,68,69],"difficulty":[0,2],"entryRequirements":[],"id":0},{"name":"Dragon Valley","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/dragon_valley.svg","monsters":[63,64,65,66],"difficulty":[3,4],"entryRequirements":[],"id":1},{"name":"Wet Forest","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/wet_forest.svg","monsters":[82,14,12,13],"difficulty":[1,2],"entryRequirements":[],"id":2},{"name":"Wizard Tower","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/wizard_tower.svg","monsters":[70,79,78],"difficulty":[2,4],"entryRequirements":[],"id":3},{"name":"Castle of Kings","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/castle_of_kings.svg","monsters":[71,0,72,73,74],"difficulty":[1,3],"entryRequirements":[],"id":4},{"name":"Bandit Hideout","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/bandit_hideout.svg","monsters":[75,76],"difficulty":[1,2],"entryRequirements":[],"id":5},{"name":"Giant Dungeon","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/monsters/hill_giant.svg","monsters":[1,2],"difficulty":[1,2],"entryRequirements":[],"id":6},{"name":"Sandy Shores","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/sandy_shores.svg","monsters":[5,4,3,6],"difficulty":[0,2],"entryRequirements":[],"id":7},{"name":"Icy Hills","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/icy_hills.svg","monsters":[8,7,54],"difficulty":[1,3],"entryRequirements":[],"id":8},{"name":"Golbin Village","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/goblin_village.svg","monsters":[35,36],"difficulty":[0],"entryRequirements":[],"id":9},{"name":"Graveyard","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/death.svg","monsters":[81,59,60,62],"difficulty":[0,2],"entryRequirements":[],"id":10}]')
+
local areaData = {}
 +
 
 +
areaData.combatAreas = mw.text.jsonDecode('[{"name":"Farmlands","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/farmlands.svg","monsters":[111,37,38,67,68,69],"difficulty":[0,2],"entryRequirements":[],"id":0},{"name":"Dragon Valley","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/dragon_valley.svg","monsters":[63,64,65,66],"difficulty":[3,4],"entryRequirements":[],"id":1},{"name":"Wet Forest","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/wet_forest.svg","monsters":[82,14,12,13],"difficulty":[1,2],"entryRequirements":[],"id":2},{"name":"Wizard Tower","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/wizard_tower.svg","monsters":[70,79,78],"difficulty":[2,4],"entryRequirements":[],"id":3},{"name":"Castle of Kings","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/castle_of_kings.svg","monsters":[71,0,72,73,74],"difficulty":[1,3],"entryRequirements":[],"id":4},{"name":"Bandit Hideout","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/bandit_hideout.svg","monsters":[75,76],"difficulty":[1,2],"entryRequirements":[],"id":5},{"name":"Giant Dungeon","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/monsters/hill_giant.svg","monsters":[1,2],"difficulty":[1,2],"entryRequirements":[],"id":6},{"name":"Sandy Shores","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/sandy_shores.svg","monsters":[5,4,3,6],"difficulty":[0,2],"entryRequirements":[],"id":7},{"name":"Icy Hills","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/icy_hills.svg","monsters":[8,7,54],"difficulty":[1,3],"entryRequirements":[],"id":8},{"name":"Golbin Village","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/goblin_village.svg","monsters":[35,36],"difficulty":[0],"entryRequirements":[],"id":9},{"name":"Graveyard","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/death.svg","monsters":[81,59,60,62],"difficulty":[0,2],"entryRequirements":[],"id":10},{"name":"Elerine Battlegrounds","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/elerine_battlegrounds.svg","monsters":[153,154,155],"difficulty":[3,4],"entryRequirements":[],"id":11}]')
 +
 
 +
areaData.slayerAreas = mw.text.jsonDecode('[{"name":"Penumbra","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/penumbra.svg","monsters":[9,10,11,15,16,17],"difficulty":[1,3],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":1}]}],"id":0,"areaEffect":true,"areaEffectDescription":"-${effectValue}% Accuracy Rating","areaEffectValue":10,"areaEffectModifier":"decreasedGlobalAccuracy","areaEffectTarget":"Player"},{"name":"Strange Cave","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/strange_cave.svg","monsters":[20,18,19,21,150,151],"difficulty":[2,4],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":10}]},{"type":"SlayerItem","itemID":494}],"id":1,"areaEffect":true,"areaEffectDescription":"-${effectValue}% Global Evasion","areaEffectValue":15,"areaEffectModifier":"decreasedGlobalEvasion","areaEffectTarget":"Player"},{"name":"High Lands","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/high_lands.svg","monsters":[22,23],"difficulty":[4],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":60}]},{"type":"SlayerItem","itemID":502}],"id":2,"areaEffect":true,"areaEffectDescription":"Enemies heal ${effectValue}% of their current hitpoints every 5 turns","areaEffectValue":20,"areaEffectModifier":"increasedEndOfTurnHealing5","areaEffectTarget":"Enemy"},{"name":"Holy Isles","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/holy_isles.svg","monsters":[24,25,26,27,137,138],"difficulty":[2,3],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":30}]}],"id":3,"areaEffect":true,"areaEffectDescription":"+${effectValue}% Prayer Point Cost for Prayers","areaEffectValue":20,"areaEffectModifier":"increasedPrayerCost","areaEffectTarget":"Player"},{"name":"Forest of Goo","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/forest_of_goo.svg","monsters":[28,29,30,31],"difficulty":[1,3],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":1}]}],"id":4,"areaEffect":true,"areaEffectDescription":"+${effectValue}% Attack Interval","areaEffectValue":10,"areaEffectModifier":"increasedAttackIntervalPercent","areaEffectTarget":"Player"},{"name":"Desolate Plains","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/desolate_plains.svg","monsters":[32,33,34,110],"difficulty":[4,5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":70}]}],"id":5,"areaEffect":true,"areaEffectDescription":"-${effectValue}% Hitpoint Regeneration","areaEffectValue":100,"areaEffectModifier":"decreasedHitpointRegeneration","areaEffectTarget":"Player"},{"name":"Runic Ruins","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/runic_ruins.svg","monsters":[116,117,118,119,120],"difficulty":[3],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":45}]}],"areaEffect":true,"areaEffectDescription":"-${effectValue}% Magic Evasion if your Attack Style is not Magic.","areaEffectValue":50,"areaEffectModifier":"decreasedMagicEvasion","areaEffectTarget":"Player","id":6},{"name":"Arid Plains","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/arid_plains.svg","monsters":[121,122,123,124,125,126],"difficulty":[3,4],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":50}]},{"type":"SlayerItem","itemID":904}],"areaEffect":true,"areaEffectDescription":"-${effectValue}% Food Efficiency.","areaEffectValue":30,"areaEffectModifier":"decreasedAutoEatEfficiency","areaEffectTarget":"Player","id":7},{"name":"Shrouded Badlands","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/shrouded_badlands.svg","monsters":[127,128,129,130],"difficulty":[5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":80}]},{"type":"SlayerItem","itemID":905}],"areaEffect":true,"areaEffectDescription":"-${effectValue}% Accuracy Rating.","areaEffectValue":40,"areaEffectModifier":"decreasedGlobalAccuracy","areaEffectTarget":"Player","id":8},{"name":"Perilous Peaks","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/perilous_peaks.svg","monsters":[133,132,131],"difficulty":[5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":85}]},{"type":"SlayerItem","itemID":906}],"areaEffect":true,"areaEffectDescription":"-${effectValue}% Evasion Ratings.","areaEffectModifier":"decreasedGlobalEvasion","areaEffectValue":60,"areaEffectTarget":"Player","id":9},{"name":"Dark Waters","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/dark_waters.svg","monsters":[134,135,136],"difficulty":[5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":90}]},{"type":"Dungeon","dungeons":[{"dungeonID":15,"count":1}]}],"areaEffect":true,"areaEffectDescription":"+${effectValue}% Attack Interval","areaEffectValue":40,"areaEffectModifier":"increasedAttackIntervalPercent","areaEffectTarget":"Player","id":10},{"name":"Toxic Swamps","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/toxic_swamps.svg","monsters":[156,157,158],"difficulty":[4,5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":65}]}],"areaEffect":true,"areaEffectDescription":"Enemies have +${effectValue}% chance to apply poison when attacking","areaEffectValue":100,"areaEffectModifier":"increasedChanceToApplyPoison","areaEffectTarget":"Enemy","id":11},{"name":"Unhallowed Wasteland","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/unhallowed_wasteland.svg","monsters":[159,160,161,162],"difficulty":[6],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":95}]},{"type":"ShopPurchase","category":"Slayer","id":1}],"areaEffect":true,"areaEffectDescription":"Enemies heal ${effectValue}% of their current hitpoints every 2 turns","areaEffectValue":100,"areaEffectModifier":"increasedEndOfTurnHealing2","areaEffectTarget":"Enemy","id":12}]')
 +
 
 +
areaData.dungeons = mw.text.jsonDecode('[{"name":"Chicken Coop","media":"https://cdn.melvor.net/core/v018/assets/media/monsters/mumma_chicken.svg","type":"Dungeon","difficulty":[1],"monsters":[37,37,37,37,39,40],"rewards":[346],"entryRequirements":[],"petID":25,"dropBones":false,"id":0,"isPremium":false},{"name":"Undead Graveyard","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/graveyard.svg","type":"Dungeon","difficulty":[2],"monsters":[59,59,59,60,60,60,62,61],"rewards":[382],"entryRequirements":[],"petID":26,"dropBones":false,"id":1,"isPremium":false},{"name":"Spider Forest","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/spider_forest.svg","type":"Dungeon","difficulty":[3],"monsters":[50,51,50,51,50,52,52,53],"rewards":[363],"entryRequirements":[],"petID":29,"dropBones":false,"id":2,"isPremium":false},{"name":"Frozen Cove","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/frozen_cove.svg","type":"Dungeon","difficulty":[4],"monsters":[54,54,54,55,55,55,56,57],"rewards":[381],"entryRequirements":[],"petID":32,"dropBones":false,"id":3,"isPremium":false},{"name":"Deep Sea Ship","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/ship.svg","type":"Dungeon","difficulty":[4],"monsters":[41,41,41,41,41,41,41,58,42,43],"rewards":[360],"entryRequirements":[],"petID":31,"dropBones":false,"id":4,"isPremium":false},{"name":"Volcanic Cave","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/volcanic_cave.svg","type":"Dungeon","difficulty":[5],"monsters":[44,45,46,47,83,84,48,49],"rewards":[362,361],"entryRequirements":[],"petID":34,"dropBones":false,"id":5,"isPremium":false},{"name":"Bandit Base","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/bandit_base.svg","type":"Dungeon","difficulty":[2],"monsters":[75,75,75,76,76,76,77],"rewards":[442],"entryRequirements":[],"petID":27,"dropBones":false,"id":6,"isPremium":false},{"name":"Hall of Wizards","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/hall_of_wizards.svg","type":"Dungeon","difficulty":[3],"monsters":[70,70,70,79,79,79,78,78,80],"rewards":[461],"entryRequirements":[],"petID":28,"dropBones":false,"id":7,"isPremium":false},{"name":"Air God Dungeon","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/air_god_dungeon.svg","type":"Dungeon","difficulty":[5],"monsters":[85,85,85,85,85,85,85,85,86,86,86,86,86,86,87,87,87,87,88,89,90],"rewards":[788],"entryRequirements":[{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":1}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":1}]},"petID":36,"dropBones":true,"id":8,"floors":[8,6,4,2,1],"isPremium":true},{"name":"Water God Dungeon","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/water_god_dungeon.svg","type":"Dungeon","difficulty":[5],"monsters":[91,91,91,91,91,91,91,91,92,92,92,92,92,92,93,93,93,93,94,95,96],"rewards":[789],"entryRequirements":[{"type":"Dungeon","dungeons":[{"dungeonID":8,"count":1}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":1}]},"petID":37,"dropBones":true,"id":9,"floors":[8,6,4,2,1],"isPremium":true},{"name":"Earth God Dungeon","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/earth_god_dungeon.svg","type":"Dungeon","difficulty":[5],"monsters":[97,97,97,97,97,97,97,97,98,98,98,98,98,98,99,99,99,99,100,101,102],"rewards":[790],"entryRequirements":[{"type":"Dungeon","dungeons":[{"dungeonID":9,"count":1}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":1}]},"petID":38,"dropBones":true,"id":10,"floors":[8,6,4,2,1],"isPremium":true},{"name":"Fire God Dungeon","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/fire_god_dungeon.svg","type":"Dungeon","difficulty":[5],"monsters":[103,103,103,103,103,103,103,103,104,104,104,104,104,104,105,105,105,105,106,107,108],"rewards":[791],"entryRequirements":[{"type":"Dungeon","dungeons":[{"dungeonID":10,"count":1}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":1}]},"petID":39,"dropBones":true,"id":11,"floors":[8,6,4,2,1],"isPremium":true},{"name":"Dragons Den","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/dragons_den.svg","type":"Dungeon","difficulty":[4],"monsters":[63,63,64,64,65,65,66,66,109],"rewards":[813],"entryRequirements":[],"petID":33,"dropBones":false,"id":12,"isPremium":true},{"name":"Miolite Caves","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/isolite_caves.svg","type":"Dungeon","monsters":[112,112,113,113,114,114,115],"difficulty":[3],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":40}]}],"rewards":[939],"petID":30,"dropBones":false,"id":13,"isPremium":true},{"name":"Infernal Stronghold","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/infernal_stronghold.svg","type":"Dungeon","monsters":[140,140,140,140,140,141,141,141,141,142,142,142,143,143,144,145,146],"difficulty":[5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":75}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":100}]},"rewards":[940,941],"petID":35,"dropBones":false,"id":14,"isPremium":true},{"name":"Into the Mist","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/into_the_mist.svg","type":"Dungeon","monsters":[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,147,148,149],"difficulty":[6],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":90}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":11,"count":1}]},"rewards":[952],"petID":40,"dropBones":false,"id":15,"isPremium":true},{"name":"Impending Darkness Event","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/impending_darkness.svg","type":"Dungeon","monsters":[163],"difficulty":[6],"entryRequirements":[{"type":"Level","levels":[{"skill":6,"level":99},{"skill":7,"level":99},{"skill":8,"level":99},{"skill":9,"level":99},{"skill":12,"level":99},{"skill":16,"level":99},{"skill":17,"level":99},{"skill":18,"level":99},{"skill":0,"level":99},{"skill":1,"level":99},{"skill":2,"level":99},{"skill":3,"level":99},{"skill":4,"level":99},{"skill":5,"level":99},{"skill":10,"level":99},{"skill":11,"level":99},{"skill":13,"level":99},{"skill":14,"level":99},{"skill":15,"level":99},{"skill":19,"level":99},{"skill":20,"level":99},{"skill":21,"level":99},{"skill":22,"level":99}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":15,"count":1}]},"rewards":[],"petID":46,"dropBones":false,"id":16,"isPremium":true,"isEvent":true}]')
 +
 
 +
areaData.event = mw.text.jsonDecode('{"slayerAreas":[12,10,9,8],"rewards":[1112,1113,1114,1115,1167]}')
 +
 
 +
areaData.displayOrder = {}
 +
 
 +
areaData.displayOrder.combatAreas = mw.text.jsonDecode('[9,0,10,7,2,5,6,8,4,3,1,11]')
  
areaData.slayerAreas = mw.text.jsonDecode('[{"name":"Penumbra","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/penumbra.svg","monsters":[9,10,11,15,16,17],"difficulty":[1,3],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":1}]}],"id":0,"areaEffect":false},{"name":"Strange Cave","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/strange_cave.svg","monsters":[20,18,19,21,150,151],"difficulty":[2,4],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":10}]},{"type":"SlayerItem","itemID":494}],"id":1,"areaEffect":false},{"name":"High Lands","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/high_lands.svg","monsters":[22,23],"difficulty":[4],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":60}]},{"type":"SlayerItem","itemID":502}],"id":2,"areaEffect":false},{"name":"Holy Isles","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/holy_isles.svg","monsters":[24,25,26,27,137,138],"difficulty":[2,3],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":30}]}],"id":3,"areaEffect":false},{"name":"Forest of Goo","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/forest_of_goo.svg","monsters":[28,29,30,31],"difficulty":[1,3],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":1}]}],"id":4,"areaEffect":false},{"name":"Desolate Plains","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/desolate_plains.svg","monsters":[32,33,34,110],"difficulty":[4,5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":70}]}],"id":5,"areaEffect":false},{"name":"Runic Ruins","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/runic_ruins.svg","monsters":[116,117,118,119,120],"difficulty":[3],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":45}]}],"areaEffect":true,"areaEffectDescription":"-40% Magic Evasion if your Attack Style is not Magic.","areaEffectValue":40,"areaEffectModifier":"decreasedMagicEvasion","id":6},{"name":"Arid Plains","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/arid_plains.svg","monsters":[121,122,123,124,125,126],"difficulty":[3,4],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":50}]},{"type":"SlayerItem","itemID":904}],"areaEffect":true,"areaEffectDescription":"-40% Food Efficiency.","areaEffectValue":40,"areaEffectModifier":"decreasedAutoEatEfficiency","id":7},{"name":"Shrouded Badlands","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/shrouded_badlands.svg","monsters":[127,128,129,130],"difficulty":[5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":80}]},{"type":"SlayerItem","itemID":905}],"areaEffect":true,"areaEffectDescription":"-40% Accuracy Rating.","areaEffectValue":40,"areaEffectModifier":"decreasedGlobalAccuracy","id":8},{"name":"Perilous Peaks","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/perilous_peaks.svg","monsters":[133,132,131],"difficulty":[5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":85}]},{"type":"SlayerItem","itemID":906}],"areaEffect":true,"areaEffectDescription":"-40% Evasion Ratings.","areaEffectModifier":"decreasedGlobalEvasion","areaEffectValue":40,"id":9},{"name":"Dark Waters","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/dark_waters.svg","monsters":[134,135,136],"difficulty":[5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":90}]},{"type":"Dungeon","dungeons":[{"dungeonID":15,"count":1}]}],"areaEffect":true,"areaEffectDescription":"Permanent 40% Slow applied.","areaEffectValue":40,"areaEffectModifier":"increasedAttackIntervalPercent","id":10}]')
+
areaData.displayOrder.slayerAreas = mw.text.jsonDecode('[0,4,1,3,6,7,2,11,5,8,9,10,12]')
  
areaData.dungeons = mw.text.jsonDecode('[{"name":"Chicken Coop","media":"https://cdn.melvor.net/core/v018/assets/media/monsters/mumma_chicken.svg","type":"Dungeon","difficulty":[1],"monsters":[37,37,37,37,39,40],"rewards":[346],"entryRequirements":[],"petID":25,"dropBones":false,"id":0},{"name":"Undead Graveyard","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/graveyard.svg","type":"Dungeon","difficulty":[2],"monsters":[59,59,59,60,60,60,62,61],"rewards":[382],"entryRequirements":[],"petID":26,"dropBones":false,"id":1},{"name":"Spider Forest","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/spider_forest.svg","type":"Dungeon","difficulty":[3],"monsters":[50,51,50,51,50,52,52,53],"rewards":[363],"entryRequirements":[],"petID":29,"dropBones":false,"id":2},{"name":"Frozen Cove","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/frozen_cove.svg","type":"Dungeon","difficulty":[4],"monsters":[54,54,54,55,55,55,56,57],"rewards":[381],"entryRequirements":[],"petID":32,"dropBones":false,"id":3},{"name":"Deep Sea Ship","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/ship.svg","type":"Dungeon","difficulty":[4],"monsters":[41,41,41,41,41,41,41,58,42,43],"rewards":[360],"entryRequirements":[],"petID":31,"dropBones":false,"id":4},{"name":"Volcanic Cave","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/volcanic_cave.svg","type":"Dungeon","difficulty":[5],"monsters":[44,45,46,47,83,84,48,49],"rewards":[362,361],"entryRequirements":[],"petID":34,"dropBones":false,"id":5},{"name":"Bandit Base","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/bandit_base.svg","type":"Dungeon","difficulty":[2],"monsters":[75,75,75,76,76,76,77],"rewards":[442],"entryRequirements":[],"petID":27,"dropBones":false,"id":6},{"name":"Hall of Wizards","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/hall_of_wizards.svg","type":"Dungeon","difficulty":[3],"monsters":[70,70,70,79,79,79,78,78,80],"rewards":[461],"entryRequirements":[],"petID":28,"dropBones":false,"id":7},{"name":"Air God Dungeon","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/air_god_dungeon.svg","type":"Dungeon","difficulty":[5],"monsters":[85,85,85,85,85,85,85,85,86,86,86,86,86,86,87,87,87,87,88,89,90],"rewards":[788],"entryRequirements":[{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":1}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":1}]},"petID":36,"dropBones":true,"id":8,"floors":[8,6,4,2,1]},{"name":"Water God Dungeon","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/water_god_dungeon.svg","type":"Dungeon","difficulty":[5],"monsters":[91,91,91,91,91,91,91,91,92,92,92,92,92,92,93,93,93,93,94,95,96],"rewards":[789],"entryRequirements":[{"type":"Dungeon","dungeons":[{"dungeonID":8,"count":1}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":1}]},"petID":37,"dropBones":true,"id":9,"floors":[8,6,4,2,1]},{"name":"Earth God Dungeon","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/earth_god_dungeon.svg","type":"Dungeon","difficulty":[5],"monsters":[97,97,97,97,97,97,97,97,98,98,98,98,98,98,99,99,99,99,100,101,102],"rewards":[790],"entryRequirements":[{"type":"Dungeon","dungeons":[{"dungeonID":9,"count":1}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":1}]},"petID":38,"dropBones":true,"id":10,"floors":[8,6,4,2,1]},{"name":"Fire God Dungeon","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/fire_god_dungeon.svg","type":"Dungeon","difficulty":[5],"monsters":[103,103,103,103,103,103,103,103,104,104,104,104,104,104,105,105,105,105,106,107,108],"rewards":[791],"entryRequirements":[{"type":"Dungeon","dungeons":[{"dungeonID":10,"count":1}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":1}]},"petID":39,"dropBones":true,"id":11,"floors":[8,6,4,2,1]},{"name":"Dragons Den","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/dragons_den.svg","type":"Dungeon","difficulty":[4],"monsters":[63,63,64,64,65,65,66,66,109],"rewards":[813],"entryRequirements":[],"petID":33,"dropBones":false,"id":12},{"name":"Miolite Caves","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/isolite_caves.svg","type":"Dungeon","monsters":[112,112,113,113,114,114,115],"difficulty":[3],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":40}]}],"rewards":[939],"petID":30,"dropBones":false,"id":13},{"name":"Infernal Stronghold","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/infernal_stronghold.svg","type":"Dungeon","monsters":[140,140,140,140,140,141,141,141,141,142,142,142,143,143,144,145,146],"difficulty":[5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":75}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":100}]},"rewards":[940,941],"petID":35,"dropBones":false,"id":14},{"name":"Into the Mist","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/into_the_mist.svg","type":"Dungeon","monsters":[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,147,148,149],"difficulty":[6],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":90}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":11,"count":1}]},"rewards":[952],"petID":40,"dropBones":false,"id":15}]')
+
areaData.displayOrder.dungeons = mw.text.jsonDecode('[0,1,6,7,2,13,4,3,12,5,14,8,9,10,11,15,16]')
  
 
return areaData
 
return areaData

Latest revision as of 19:48, 15 November 2021

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

-- Version: PUBLIC BETA V1.0 (?1317)

--[[Generated via console using
(function() {
  var getGameVersion = function() {
      var elemNavHeader = document.getElementsByClassName("nav-main-heading")
      if (elemNavHeader.length > 0) {
        var verElem = Array.from(elemNavHeader).filter((i, idx) => i.innerText.toLowerCase().startsWith(gameVersion.toLowerCase()))[0]
        if (verElem !== undefined) {
          return verElem.innerText
        }
      }
      return gameVersion
    }

  var fullText = "-- Version: " + getGameVersion()
  fullText += "\r\n\r\nlocal areaData = {}"

  var txt = JSON.stringify(combatAreas)
  txt = txt.replace(/\'/g, "\\\'")
  txt = txt.replace(/\\\"/g, "\\\\\"")
  txt = "areaData.combatAreas = mw.text.jsonDecode('" + txt + "')"
  
  fullText += "\r\n\r\n" + txt
  
  txt = JSON.stringify(slayerAreas)
  txt = txt.replace(/\'/g, "\\\'")
  txt = txt.replace(/\\\"/g, "\\\\\"")
  txt = "areaData.slayerAreas = mw.text.jsonDecode('" + txt + "')"
  fullText += "\r\n\r\n" + txt
  
  txt = JSON.stringify(DUNGEONS)
  txt = txt.replace(/\'/g, "\\\'")
  txt = txt.replace(/\\\"/g, "\\\\\"")
  txt = "areaData.dungeons = mw.text.jsonDecode('" + txt + "')"
  fullText += "\r\n\r\n" + txt

  var eventObj = {
    slayerAreas: CombatManager.eventAreas,
    rewards: CombatManager.eventRewards
  }
  txt = JSON.stringify(eventObj)
  txt = txt.replace(/\'/g, "\\\'")
  txt = txt.replace(/\\\"/g, "\\\\\"")
  txt = "areaData.event = mw.text.jsonDecode('" + txt + "')"
  fullText += "\r\n\r\n" + txt

  fullText += "\r\n\r\nareaData.displayOrder = {}"

  txt = JSON.stringify(combatAreaDisplayOrder)
  txt = txt.replace(/\'/g, "\\\'")
  txt = txt.replace(/\\\"/g, "\\\\\"")
  txt = "areaData.displayOrder.combatAreas = mw.text.jsonDecode('" + txt + "')"
  fullText += "\r\n\r\n" + txt

  txt = JSON.stringify(slayerAreaDisplayOrder)
  txt = txt.replace(/\'/g, "\\\'")
  txt = txt.replace(/\\\"/g, "\\\\\"")
  txt = "areaData.displayOrder.slayerAreas = mw.text.jsonDecode('" + txt + "')"
  fullText += "\r\n\r\n" + txt

  txt = JSON.stringify(dungeonAreaDisplayOrder)
  txt = txt.replace(/\'/g, "\\\'")
  txt = txt.replace(/\\\"/g, "\\\\\"")
  txt = "areaData.displayOrder.dungeons = mw.text.jsonDecode('" + txt + "')"
  fullText += "\r\n\r\n" + txt
  
  fullText += "\r\n\r\nreturn areaData"
  
  console.log(fullText)
})()
--]]

local areaData = {}

areaData.combatAreas = mw.text.jsonDecode('[{"name":"Farmlands","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/farmlands.svg","monsters":[111,37,38,67,68,69],"difficulty":[0,2],"entryRequirements":[],"id":0},{"name":"Dragon Valley","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/dragon_valley.svg","monsters":[63,64,65,66],"difficulty":[3,4],"entryRequirements":[],"id":1},{"name":"Wet Forest","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/wet_forest.svg","monsters":[82,14,12,13],"difficulty":[1,2],"entryRequirements":[],"id":2},{"name":"Wizard Tower","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/wizard_tower.svg","monsters":[70,79,78],"difficulty":[2,4],"entryRequirements":[],"id":3},{"name":"Castle of Kings","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/castle_of_kings.svg","monsters":[71,0,72,73,74],"difficulty":[1,3],"entryRequirements":[],"id":4},{"name":"Bandit Hideout","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/bandit_hideout.svg","monsters":[75,76],"difficulty":[1,2],"entryRequirements":[],"id":5},{"name":"Giant Dungeon","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/monsters/hill_giant.svg","monsters":[1,2],"difficulty":[1,2],"entryRequirements":[],"id":6},{"name":"Sandy Shores","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/sandy_shores.svg","monsters":[5,4,3,6],"difficulty":[0,2],"entryRequirements":[],"id":7},{"name":"Icy Hills","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/icy_hills.svg","monsters":[8,7,54],"difficulty":[1,3],"entryRequirements":[],"id":8},{"name":"Golbin Village","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/goblin_village.svg","monsters":[35,36],"difficulty":[0],"entryRequirements":[],"id":9},{"name":"Graveyard","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/death.svg","monsters":[81,59,60,62],"difficulty":[0,2],"entryRequirements":[],"id":10},{"name":"Elerine Battlegrounds","type":"Combat","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/elerine_battlegrounds.svg","monsters":[153,154,155],"difficulty":[3,4],"entryRequirements":[],"id":11}]')

areaData.slayerAreas = mw.text.jsonDecode('[{"name":"Penumbra","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/penumbra.svg","monsters":[9,10,11,15,16,17],"difficulty":[1,3],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":1}]}],"id":0,"areaEffect":true,"areaEffectDescription":"-${effectValue}% Accuracy Rating","areaEffectValue":10,"areaEffectModifier":"decreasedGlobalAccuracy","areaEffectTarget":"Player"},{"name":"Strange Cave","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/strange_cave.svg","monsters":[20,18,19,21,150,151],"difficulty":[2,4],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":10}]},{"type":"SlayerItem","itemID":494}],"id":1,"areaEffect":true,"areaEffectDescription":"-${effectValue}% Global Evasion","areaEffectValue":15,"areaEffectModifier":"decreasedGlobalEvasion","areaEffectTarget":"Player"},{"name":"High Lands","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/high_lands.svg","monsters":[22,23],"difficulty":[4],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":60}]},{"type":"SlayerItem","itemID":502}],"id":2,"areaEffect":true,"areaEffectDescription":"Enemies heal ${effectValue}% of their current hitpoints every 5 turns","areaEffectValue":20,"areaEffectModifier":"increasedEndOfTurnHealing5","areaEffectTarget":"Enemy"},{"name":"Holy Isles","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/holy_isles.svg","monsters":[24,25,26,27,137,138],"difficulty":[2,3],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":30}]}],"id":3,"areaEffect":true,"areaEffectDescription":"+${effectValue}% Prayer Point Cost for Prayers","areaEffectValue":20,"areaEffectModifier":"increasedPrayerCost","areaEffectTarget":"Player"},{"name":"Forest of Goo","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/forest_of_goo.svg","monsters":[28,29,30,31],"difficulty":[1,3],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":1}]}],"id":4,"areaEffect":true,"areaEffectDescription":"+${effectValue}% Attack Interval","areaEffectValue":10,"areaEffectModifier":"increasedAttackIntervalPercent","areaEffectTarget":"Player"},{"name":"Desolate Plains","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/desolate_plains.svg","monsters":[32,33,34,110],"difficulty":[4,5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":70}]}],"id":5,"areaEffect":true,"areaEffectDescription":"-${effectValue}% Hitpoint Regeneration","areaEffectValue":100,"areaEffectModifier":"decreasedHitpointRegeneration","areaEffectTarget":"Player"},{"name":"Runic Ruins","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/runic_ruins.svg","monsters":[116,117,118,119,120],"difficulty":[3],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":45}]}],"areaEffect":true,"areaEffectDescription":"-${effectValue}% Magic Evasion if your Attack Style is not Magic.","areaEffectValue":50,"areaEffectModifier":"decreasedMagicEvasion","areaEffectTarget":"Player","id":6},{"name":"Arid Plains","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/arid_plains.svg","monsters":[121,122,123,124,125,126],"difficulty":[3,4],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":50}]},{"type":"SlayerItem","itemID":904}],"areaEffect":true,"areaEffectDescription":"-${effectValue}% Food Efficiency.","areaEffectValue":30,"areaEffectModifier":"decreasedAutoEatEfficiency","areaEffectTarget":"Player","id":7},{"name":"Shrouded Badlands","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/shrouded_badlands.svg","monsters":[127,128,129,130],"difficulty":[5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":80}]},{"type":"SlayerItem","itemID":905}],"areaEffect":true,"areaEffectDescription":"-${effectValue}% Accuracy Rating.","areaEffectValue":40,"areaEffectModifier":"decreasedGlobalAccuracy","areaEffectTarget":"Player","id":8},{"name":"Perilous Peaks","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/perilous_peaks.svg","monsters":[133,132,131],"difficulty":[5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":85}]},{"type":"SlayerItem","itemID":906}],"areaEffect":true,"areaEffectDescription":"-${effectValue}% Evasion Ratings.","areaEffectModifier":"decreasedGlobalEvasion","areaEffectValue":60,"areaEffectTarget":"Player","id":9},{"name":"Dark Waters","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/dark_waters.svg","monsters":[134,135,136],"difficulty":[5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":90}]},{"type":"Dungeon","dungeons":[{"dungeonID":15,"count":1}]}],"areaEffect":true,"areaEffectDescription":"+${effectValue}% Attack Interval","areaEffectValue":40,"areaEffectModifier":"increasedAttackIntervalPercent","areaEffectTarget":"Player","id":10},{"name":"Toxic Swamps","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/toxic_swamps.svg","monsters":[156,157,158],"difficulty":[4,5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":65}]}],"areaEffect":true,"areaEffectDescription":"Enemies have +${effectValue}% chance to apply poison when attacking","areaEffectValue":100,"areaEffectModifier":"increasedChanceToApplyPoison","areaEffectTarget":"Enemy","id":11},{"name":"Unhallowed Wasteland","type":"Slayer","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/unhallowed_wasteland.svg","monsters":[159,160,161,162],"difficulty":[6],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":95}]},{"type":"ShopPurchase","category":"Slayer","id":1}],"areaEffect":true,"areaEffectDescription":"Enemies heal ${effectValue}% of their current hitpoints every 2 turns","areaEffectValue":100,"areaEffectModifier":"increasedEndOfTurnHealing2","areaEffectTarget":"Enemy","id":12}]')

areaData.dungeons = mw.text.jsonDecode('[{"name":"Chicken Coop","media":"https://cdn.melvor.net/core/v018/assets/media/monsters/mumma_chicken.svg","type":"Dungeon","difficulty":[1],"monsters":[37,37,37,37,39,40],"rewards":[346],"entryRequirements":[],"petID":25,"dropBones":false,"id":0,"isPremium":false},{"name":"Undead Graveyard","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/graveyard.svg","type":"Dungeon","difficulty":[2],"monsters":[59,59,59,60,60,60,62,61],"rewards":[382],"entryRequirements":[],"petID":26,"dropBones":false,"id":1,"isPremium":false},{"name":"Spider Forest","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/spider_forest.svg","type":"Dungeon","difficulty":[3],"monsters":[50,51,50,51,50,52,52,53],"rewards":[363],"entryRequirements":[],"petID":29,"dropBones":false,"id":2,"isPremium":false},{"name":"Frozen Cove","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/frozen_cove.svg","type":"Dungeon","difficulty":[4],"monsters":[54,54,54,55,55,55,56,57],"rewards":[381],"entryRequirements":[],"petID":32,"dropBones":false,"id":3,"isPremium":false},{"name":"Deep Sea Ship","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/ship.svg","type":"Dungeon","difficulty":[4],"monsters":[41,41,41,41,41,41,41,58,42,43],"rewards":[360],"entryRequirements":[],"petID":31,"dropBones":false,"id":4,"isPremium":false},{"name":"Volcanic Cave","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/volcanic_cave.svg","type":"Dungeon","difficulty":[5],"monsters":[44,45,46,47,83,84,48,49],"rewards":[362,361],"entryRequirements":[],"petID":34,"dropBones":false,"id":5,"isPremium":false},{"name":"Bandit Base","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/bandit_base.svg","type":"Dungeon","difficulty":[2],"monsters":[75,75,75,76,76,76,77],"rewards":[442],"entryRequirements":[],"petID":27,"dropBones":false,"id":6,"isPremium":false},{"name":"Hall of Wizards","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/hall_of_wizards.svg","type":"Dungeon","difficulty":[3],"monsters":[70,70,70,79,79,79,78,78,80],"rewards":[461],"entryRequirements":[],"petID":28,"dropBones":false,"id":7,"isPremium":false},{"name":"Air God Dungeon","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/air_god_dungeon.svg","type":"Dungeon","difficulty":[5],"monsters":[85,85,85,85,85,85,85,85,86,86,86,86,86,86,87,87,87,87,88,89,90],"rewards":[788],"entryRequirements":[{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":1}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":1}]},"petID":36,"dropBones":true,"id":8,"floors":[8,6,4,2,1],"isPremium":true},{"name":"Water God Dungeon","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/water_god_dungeon.svg","type":"Dungeon","difficulty":[5],"monsters":[91,91,91,91,91,91,91,91,92,92,92,92,92,92,93,93,93,93,94,95,96],"rewards":[789],"entryRequirements":[{"type":"Dungeon","dungeons":[{"dungeonID":8,"count":1}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":1}]},"petID":37,"dropBones":true,"id":9,"floors":[8,6,4,2,1],"isPremium":true},{"name":"Earth God Dungeon","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/earth_god_dungeon.svg","type":"Dungeon","difficulty":[5],"monsters":[97,97,97,97,97,97,97,97,98,98,98,98,98,98,99,99,99,99,100,101,102],"rewards":[790],"entryRequirements":[{"type":"Dungeon","dungeons":[{"dungeonID":9,"count":1}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":1}]},"petID":38,"dropBones":true,"id":10,"floors":[8,6,4,2,1],"isPremium":true},{"name":"Fire God Dungeon","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/fire_god_dungeon.svg","type":"Dungeon","difficulty":[5],"monsters":[103,103,103,103,103,103,103,103,104,104,104,104,104,104,105,105,105,105,106,107,108],"rewards":[791],"entryRequirements":[{"type":"Dungeon","dungeons":[{"dungeonID":10,"count":1}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":1}]},"petID":39,"dropBones":true,"id":11,"floors":[8,6,4,2,1],"isPremium":true},{"name":"Dragons Den","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/dragons_den.svg","type":"Dungeon","difficulty":[4],"monsters":[63,63,64,64,65,65,66,66,109],"rewards":[813],"entryRequirements":[],"petID":33,"dropBones":false,"id":12,"isPremium":true},{"name":"Miolite Caves","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/isolite_caves.svg","type":"Dungeon","monsters":[112,112,113,113,114,114,115],"difficulty":[3],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":40}]}],"rewards":[939],"petID":30,"dropBones":false,"id":13,"isPremium":true},{"name":"Infernal Stronghold","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/infernal_stronghold.svg","type":"Dungeon","monsters":[140,140,140,140,140,141,141,141,141,142,142,142,143,143,144,145,146],"difficulty":[5],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":75}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":5,"count":100}]},"rewards":[940,941],"petID":35,"dropBones":false,"id":14,"isPremium":true},{"name":"Into the Mist","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/into_the_mist.svg","type":"Dungeon","monsters":[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,147,148,149],"difficulty":[6],"entryRequirements":[{"type":"Level","levels":[{"skill":18,"level":90}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":11,"count":1}]},"rewards":[952],"petID":40,"dropBones":false,"id":15,"isPremium":true},{"name":"Impending Darkness Event","media":"https://cdn.melvor.net/core/v018/assets/media/skills/combat/impending_darkness.svg","type":"Dungeon","monsters":[163],"difficulty":[6],"entryRequirements":[{"type":"Level","levels":[{"skill":6,"level":99},{"skill":7,"level":99},{"skill":8,"level":99},{"skill":9,"level":99},{"skill":12,"level":99},{"skill":16,"level":99},{"skill":17,"level":99},{"skill":18,"level":99},{"skill":0,"level":99},{"skill":1,"level":99},{"skill":2,"level":99},{"skill":3,"level":99},{"skill":4,"level":99},{"skill":5,"level":99},{"skill":10,"level":99},{"skill":11,"level":99},{"skill":13,"level":99},{"skill":14,"level":99},{"skill":15,"level":99},{"skill":19,"level":99},{"skill":20,"level":99},{"skill":21,"level":99},{"skill":22,"level":99}]}],"unlockRequirement":{"type":"Dungeon","dungeons":[{"dungeonID":15,"count":1}]},"rewards":[],"petID":46,"dropBones":false,"id":16,"isPremium":true,"isEvent":true}]')

areaData.event = mw.text.jsonDecode('{"slayerAreas":[12,10,9,8],"rewards":[1112,1113,1114,1115,1167]}')

areaData.displayOrder = {}

areaData.displayOrder.combatAreas = mw.text.jsonDecode('[9,0,10,7,2,5,6,8,4,3,1,11]')

areaData.displayOrder.slayerAreas = mw.text.jsonDecode('[0,4,1,3,6,7,2,11,5,8,9,10,12]')

areaData.displayOrder.dungeons = mw.text.jsonDecode('[0,1,6,7,2,13,4,3,12,5,14,8,9,10,11,15,16]')

return areaData