17,101
edits
mNo edit summary |
m (Revert to previous revision) |
||
Line 1: | Line 1: | ||
-- Version: ALPHA V0.21 (? | -- Version: ALPHA V0.21 (?1114) | ||
--[[The text to decode can be generated in the console via | --[[The text to decode can be generated in the console via | ||
Line 16: | Line 16: | ||
for (var i = 0; i < items.length; i++) { | for (var i = 0; i < items.length; i++) { | ||
itemsAdj[i] = {...items[i]} | itemsAdj[i] = {...items[i]} | ||
// Amend elements of specialAttacks to include descriptions | // Amend elements of specialAttacks to include descriptions | ||
if (itemsAdj[i].specialAttacks !== undefined) { | if (itemsAdj[i].specialAttacks !== undefined) { | ||
Line 85: | Line 71: | ||
})() | })() | ||
--]] | --]] | ||
local itemData = {} | local itemData = {} | ||
itemData | |||
itemData.EquipmentStatKeys = mw.text.jsonDecode('["attackSpeed","stabAttackBonus","slashAttackBonus","blockAttackBonus","rangedAttackBonus","magicAttackBonus","meleeStrengthBonus","rangedStrengthBonus","magicDamageBonus","meleeDefenceBonus","rangedDefenceBonus","magicDefenceBonus","damageReduction","summoningMaxhit"]') | itemData.EquipmentStatKeys = mw.text.jsonDecode('["attackSpeed","stabAttackBonus","slashAttackBonus","blockAttackBonus","rangedAttackBonus","magicAttackBonus","meleeStrengthBonus","rangedStrengthBonus","magicDamageBonus","meleeDefenceBonus","rangedDefenceBonus","magicDefenceBonus","damageReduction","summoningMaxhit"]') | ||
return itemData | return itemData |