4,951
edits
Falterfire (talk | contribs) (Set up formatting for Prayer Level requirement) |
Falterfire (talk | contribs) (formatting tweaks) |
||
Line 91: | Line 91: | ||
if prayer.pointsPerPlayer > 0 then | if prayer.pointsPerPlayer > 0 then | ||
local val = 0.2 * prayer.pointsPerPlayer | local val = 0.2 * prayer.pointsPerPlayer | ||
table.insert(bonusLines, chr.."+"..Shared.round(val, | table.insert(bonusLines, chr.."+"..Shared.round(val, 1, 1).." Prayer XP per damage done") | ||
end | end | ||
Line 117: | Line 117: | ||
return p.getPrayerEffect(prayer, true) | return p.getPrayerEffect(prayer, true) | ||
elseif statName == 'prayerLevel' then | elseif statName == 'prayerLevel' then | ||
return Icons._SkillReq('Prayer', prayer['prayerLevel'] | return Icons._SkillReq('Prayer', prayer['prayerLevel']) | ||
else | else | ||
return prayer[statName] | return prayer[statName] |