Module:Prayer: Difference between revisions

Tweaked getPrayerEffect to ensure it properly forms lists
(Updated to reflect new getModifierType name)
(Tweaked getPrayerEffect to ensure it properly forms lists)
Line 99: Line 99:
     table.insert(bonusLines, chr.."+"..Shared.round(val, 1, 1).." Prayer XP per damage done")
     table.insert(bonusLines, chr.."+"..Shared.round(val, 1, 1).." Prayer XP per damage done")
   end
   end
 
  if asList then
   return table.concat(bonusLines, '<br/>')
    return table.concat(bonusLines, '\r\n')
   else
    return table.concat(bonusLines, '<br/>')
  end
end
end