12,808
edits
m (Correct description typos) |
m (Missed multiplication symbol) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 209: | Line 209: | ||
["debuffImmunity"] = { text = "Immune to debuffs", skills = {'Combat'} }, | ["debuffImmunity"] = { text = "Immune to debuffs", skills = {'Combat'} }, | ||
["Decay"] = { text = "Take {V}% of Max HP as damage on a succesful attack", isIncreaseNegative = true, skills = {'Combat'} }, | ["Decay"] = { text = "Take {V}% of Max HP as damage on a succesful attack", isIncreaseNegative = true, skills = {'Combat'} }, | ||
["doubleItemsSkill"] = { text = "x{ | ["doubleItemsSkill"] = { text = "x{VMUL} Items recieved from {SV0}" }, | ||
["doubleOresMining"] = { text = "x{ | ["doubleOresMining"] = { text = "x{VMUL} Ores recieved from Mining", skills = {'Mining'} }, | ||
["DragonBreathDamage"] = { text = "{V}% damage taken from dragonbreath", isIncreaseNegative = true, skills = {'Combat'} }, | ["DragonBreathDamage"] = { text = "{V}% damage taken from dragonbreath", isIncreaseNegative = true, skills = {'Combat'} }, | ||
["FiremakingCoalChance"] = { text = "{V}% chance to recieve coal when burning logs in Firemaking", skills = {'Firemaking'} }, | ["FiremakingCoalChance"] = { text = "{V}% chance to recieve coal when burning logs in Firemaking", skills = {'Firemaking'} }, | ||
Line 236: | Line 236: | ||
["MagicLifesteal"] = { text = "{V}% Magic lifesteal", skills = {'Magic'} }, | ["MagicLifesteal"] = { text = "{V}% Magic lifesteal", skills = {'Magic'} }, | ||
["MagicMaxHit"] = { text = "{V}% Magic Max Hit", skills = {'Magic'} }, | ["MagicMaxHit"] = { text = "{V}% Magic Max Hit", skills = {'Magic'} }, | ||
["magicProtection"] = { text = " | ["magicProtection"] = { text = "You have a set {V}% chance to dodge Magic attacks", skills = {'Magic'} }, | ||
["MasteryPoolProgress"] = { text = "{V}% to effective Mastery Pool progress" }, | ["MasteryPoolProgress"] = { text = "{V}% to effective Mastery Pool progress" }, | ||
["MaxAirSpellDmg"] = { text = "{MX} Max Air Spell Dmg", skills = {'Magic'} }, | ["MaxAirSpellDmg"] = { text = "{MX} Max Air Spell Dmg", skills = {'Magic'} }, | ||
Line 246: | Line 246: | ||
["MeleeLifesteal"] = { text = "{V}% Melee Lifesteal", skills = {'Combat'} }, | ["MeleeLifesteal"] = { text = "{V}% Melee Lifesteal", skills = {'Combat'} }, | ||
["MeleeMaxHit"] = { text = "{V}% Melee Max Hit", skills = {'Combat'} }, | ["MeleeMaxHit"] = { text = "{V}% Melee Max Hit", skills = {'Combat'} }, | ||
["meleeProtection"] = { text = " | ["meleeProtection"] = { text = "You have a set {V}% chance to dodge Melee attacks", skills = {'Combat'} }, | ||
["MeleeStunThreshold"] = { text = "Melee attacks stun the target when they deal {V}% of max hit", skills = {'Combat'} }, | ["MeleeStunThreshold"] = { text = "Melee attacks stun the target when they deal {V}% of max hit", skills = {'Combat'} }, | ||
["MiningGemChance"] = { text = "{V}% Chance to recieve gems from Mining (Does not work for Rune Essence)", skills = {'Combat'} }, | ["MiningGemChance"] = { text = "{V}% Chance to recieve gems from Mining (Does not work for Rune Essence)", skills = {'Combat'} }, | ||
Line 257: | Line 257: | ||
["RangedLifesteal"] = { text = "{V}% Ranged Lifesteal", skills = {'Ranged'} }, | ["RangedLifesteal"] = { text = "{V}% Ranged Lifesteal", skills = {'Ranged'} }, | ||
["RangedMaxHit"] = { text = "{V}% Ranged Max Hit", skills = {'Ranged'} }, | ["RangedMaxHit"] = { text = "{V}% Ranged Max Hit", skills = {'Ranged'} }, | ||
["rangedProtection"] = { text = " | ["rangedProtection"] = { text = "You have a set {V}% chance to dodge Ranged attacks", skills = {'Ranged'} }, | ||
["RebirthChance"] = { text = "{V}% chance to respawn with full hitpoints upon reaching 0 hitpoints", skills = {'Combat'} }, | ["RebirthChance"] = { text = "{V}% chance to respawn with full hitpoints upon reaching 0 hitpoints", skills = {'Combat'} }, | ||
["RedemptionPercent"] = { text = "{V}% of max hitpoints healed on redemption", skills = {'Combat'} }, | ["RedemptionPercent"] = { text = "{V}% of max hitpoints healed on redemption", skills = {'Combat'} }, | ||
Line 400: | Line 400: | ||
function p.getSlayerTierNameByLevel(lvl) | function p.getSlayerTierNameByLevel(lvl) | ||
for i, tier in Shared.skpairs(ConstantData.Slayer.Tiers) do | for i, tier in Shared.skpairs(ConstantData.Slayer.Tiers) do | ||
if tier.minLevel <= lvl and (tier.maxLevel | if tier.minLevel <= lvl and (tier.maxLevel == nil or tier.maxLevel >= lvl) then | ||
return tier.display | return tier.display | ||
end | end |