Anonymous

Module:Prayer: Difference between revisions

From Melvor Idle
Add Unholy Prayer Table function
(Try this again without using overloads)
(Add Unholy Prayer Table function)
Line 132: Line 132:
function p.getPrayerTable(frame)
function p.getPrayerTable(frame)
return p.getPrayerTableFiltered(frame, function(prayer) return true end)
return p.getPrayerTableFiltered(frame, function(prayer) return true end)
end
function p.getUnholyPrayerTable(frame)
return p.getPrayerTableFiltered(frame, function(prayer) return prayer.isUnholy end)
end
end


48

edits