4,951
edits
Falterfire (talk | contribs) (Added p.getItemModifier and a related p.getItemStat modifier so that pulling slayerBonusXP properly pulls the new modifier) |
Falterfire (talk | contribs) m (typo fix) |
||
Line 137: | Line 137: | ||
end | end | ||
elseif StatName == 'slayerBonusXP' then | elseif StatName == 'slayerBonusXP' then | ||
return p. | return p._getItemModifier(item, 'increasedSkillXP', 'Slayer', false) | ||
end | end | ||
if result == nil and ZeroIfNil then result = 0 end | if result == nil and ZeroIfNil then result = 0 end |