Module:Constants: Difference between revisions

Added difficulties for Combat Area porpoises
(Added getEquipmentSlotID)
(Added difficulties for Combat Area porpoises)
Line 181: Line 181:
   ["decreasedAltMagicSkillXP"] = { text = "-{V}% Alt. Magic Skill XP", isNegative = true },
   ["decreasedAltMagicSkillXP"] = { text = "-{V}% Alt. Magic Skill XP", isNegative = true },
}
}
--Difficulties are hard coded which is dumb but means hardcoding them here too
local Difficulties = {
    [0] = 'Very Easy',
    [1] = 'Easy',
    [2] = 'Medium',
    [3] = 'Hard',
    [4] = 'Very Hard',
    [5] = 'Elite'}
function p.getDifficultyString(difficulty)
  return Difficulties[difficulty]
end


function p.getSkillName(skillID)
function p.getSkillName(skillID)