Module:GolbinRaid/data

From Melvor Idle

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

-- Version: V1.0.5 (?2075)

--[[Generated from console via the below.
(function() {
  var getGameVersion = function() {
      var elemVer = document.querySelector("li[data-target='#modal-major-update']:not(.d-none)")
      if (elemVer !== undefined) {
      	return elemVer.innerText
      }
      else {
        return gameVersion
      }
    }

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

  var txt = JSON.stringify(RaidManager.difficulties)
  txt = txt.replace(/\'/g, "\\\'")
  txt = txt.replace(/\\\"/g, "\\\\\"")
  txt = "RaidData.Difficulties = mw.text.jsonDecode('" + txt + "')"
  fullText += "\r\n\r\n" + txt
  
  txt = JSON.stringify(RaidManager.possibleModifiers)
  txt = txt.replace(/\'/g, "\\\'")
  txt = txt.replace(/\\\"/g, "\\\\\"")
  txt = "RaidData.PossibleModifiers = mw.text.jsonDecode('" + txt + "')"
  fullText += "\r\n\r\n" + txt
  
  txt = JSON.stringify(RaidManager.bannedItems)
  txt = txt.replace(/\'/g, "\\\'")
  txt = txt.replace(/\\\"/g, "\\\\\"")
  txt = "RaidData.BannedItems = mw.text.jsonDecode('" + txt + "')"
  fullText += "\r\n\r\n" + txt
  
  txt = JSON.stringify(RaidManager.bannedPassiveItems)
  txt = txt.replace(/\'/g, "\\\'")
  txt = txt.replace(/\\\"/g, "\\\\\"")
  txt = "RaidData.BannedPassiveItems = mw.text.jsonDecode('" + txt + "')"
  fullText += "\r\n\r\n" + txt

  txt = JSON.stringify(RaidManager.crateItemWeights)
  txt = txt.replace(/\'/g, "\\\'")
  txt = txt.replace(/\\\"/g, "\\\\\"")
  txt = "RaidData.GolbinCrate = mw.text.jsonDecode('" + txt + "')"
  fullText += "\r\n\r\n" + txt

  fullText += "\r\n\r\nreturn RaidData"
  console.log(fullText)
})()
--]]

local RaidData = {}

RaidData.Difficulties = mw.text.jsonDecode('{"0":{"combatTriangle":0,"coinMultiplier":0.5,"enemyHPModifier":-25,"enemyAccuracyModifier":0,"enemyMaxHitModifier":0,"enemyEvasionModifier":0,"negativeModifierCount":0,"positiveModifierCount":0,"selectedClass":"btn-success","unselectedClass":"btn-outline-success","hasSecondPassiveChange":false,"name":"Easy"},"1":{"combatTriangle":0,"coinMultiplier":1,"enemyHPModifier":0,"enemyAccuracyModifier":0,"enemyMaxHitModifier":0,"enemyEvasionModifier":0,"negativeModifierCount":1,"positiveModifierCount":1,"selectedClass":"btn-warning","unselectedClass":"btn-outline-warning","hasSecondPassiveChange":false,"name":"Medium"},"2":{"combatTriangle":1,"coinMultiplier":1.5,"enemyHPModifier":25,"enemyAccuracyModifier":10,"enemyMaxHitModifier":10,"enemyEvasionModifier":10,"negativeModifierCount":2,"positiveModifierCount":1,"selectedClass":"btn-danger","unselectedClass":"btn-outline-danger","hasSecondPassiveChange":false,"name":"Hard"}}')

RaidData.PossibleModifiers = mw.text.jsonDecode('[{"key":"increasedGlobalAccuracy"},{"key":"decreasedGlobalAccuracy"},{"key":"increasedMeleeAccuracyBonus"},{"key":"decreasedMeleeAccuracyBonus"},{"key":"increasedMeleeMaxHit"},{"key":"decreasedMeleeMaxHit"},{"key":"increasedMeleeEvasion"},{"key":"decreasedMeleeEvasion"},{"key":"increasedRangedAccuracyBonus"},{"key":"decreasedRangedAccuracyBonus"},{"key":"increasedRangedMaxHit"},{"key":"decreasedRangedMaxHit"},{"key":"increasedRangedEvasion"},{"key":"decreasedRangedEvasion"},{"key":"increasedMagicAccuracyBonus"},{"key":"decreasedMagicAccuracyBonus"},{"key":"increasedMagicMaxHit"},{"key":"decreasedMagicMaxHit"},{"key":"increasedMagicEvasion"},{"key":"decreasedMagicEvasion"},{"key":"increasedMaxHitFlat"},{"key":"decreasedMaxHitFlat"},{"key":"increasedMaxHitPercent"},{"key":"decreasedMaxHitPercent"},{"key":"increasedDamageReduction"},{"key":"decreasedDamageReduction"},{"key":"increasedHPRegenFlat"},{"key":"decreasedAttackInterval","multiplier":50},{"key":"increasedAttackInterval","multiplier":50},{"key":"decreasedAttackIntervalPercent"},{"key":"increasedAttackIntervalPercent"},{"key":"increasedMaxHitpoints"},{"key":"decreasedMaxHitpoints"},{"key":"increasedFlatMaxHitpoints"},{"key":"decreasedFlatMaxHitpoints"},{"key":"increasedReflectDamage"},{"key":"increasedFlatReflectDamage"},{"key":"increasedRolledReflectDamage"},{"key":"increasedLifesteal"},{"key":"increasedMeleeLifesteal"},{"key":"increasedRangedLifesteal"},{"key":"increasedMagicLifesteal"},{"key":"increasedBleedLifesteal"},{"key":"increasedBurnLifesteal"},{"key":"increasedPoisonLifesteal"},{"key":"increasedMeleeCritChance"},{"key":"increasedRangedCritChance"},{"key":"increasedMagicCritChance"},{"key":"increasedMinHitBasedOnMaxHit"},{"key":"decreasedMinHitBasedOnMaxHit"},{"key":"increasedFlatMinHit"},{"key":"decreasedFlatMinHit"},{"key":"increasedDamageTaken"},{"key":"decreasedDamageTaken"},{"key":"increasedConfusion"},{"key":"increasedDecay"},{"key":"increasedGlobalEvasion"},{"key":"decreasedGlobalEvasion"}]')

RaidData.BannedItems = mw.text.jsonDecode('[388,824,825,826,827,828,829,448,810,903,927,959,245,320,323,324,330,335,336,337,338,339,383,445,446,449,450,451,454,456,457,459,460,502,505,630,632,647,667,669,670,680,817,887,902,904,905,906,913,949,958,960,961,965,998,1005,1006,1007,1008,1066,1067,1069,1086,1091,1096,1097,1098,1099,1100,1101,1102,1105,1106,1090,1075,1107,1108,1109,1110]')

RaidData.BannedPassiveItems = mw.text.jsonDecode('[484,485,486,487,488,489,494,507,508,509,510,511,512,513,514,515,516,517,518,882,901,942,943,944,945,946,947,948,956,962,963,1104,830,833,832,831,846,849,848,847,862,865,864,863,834,837,836,835,850,853,852,851,866,869,868,867,838,841,840,839,854,857,856,855,870,873,872,871,842,845,844,843,858,861,860,859,874,877,876,875]')

RaidData.GolbinCrate = mw.text.jsonDecode('[{"itemID":1190,"weight":35},{"itemID":1191,"weight":35},{"itemID":1192,"weight":20},{"itemID":1193,"weight":20},{"itemID":1194,"weight":10},{"itemID":1195,"weight":4},{"itemID":1196,"weight":20},{"itemID":1197,"weight":10},{"itemID":1198,"weight":35},{"itemID":1199,"weight":1},{"itemID":1200,"weight":1},{"itemID":1201,"weight":20},{"itemID":1202,"weight":10},{"itemID":1203,"weight":35},{"itemID":1204,"weight":10},{"itemID":1205,"weight":35},{"itemID":1206,"weight":20},{"itemID":1207,"weight":4},{"itemID":1208,"weight":20},{"itemID":1209,"weight":20},{"itemID":1210,"weight":20},{"itemID":1211,"weight":10},{"itemID":1212,"weight":10},{"itemID":1213,"weight":4},{"itemID":1214,"weight":10},{"itemID":1215,"weight":10},{"itemID":1216,"weight":20},{"itemID":1217,"weight":10},{"itemID":1218,"weight":10},{"itemID":1219,"weight":1},{"itemID":1220,"weight":20},{"itemID":1221,"weight":20},{"itemID":1222,"weight":10},{"itemID":1223,"weight":10},{"itemID":1224,"weight":20},{"itemID":1225,"weight":4},{"itemID":1226,"weight":20},{"itemID":1227,"weight":1},{"itemID":1228,"weight":35}]')

return RaidData