48
edits
(Try this again without using overloads) |
(Add "For Each Unholy Mark stack on the enemy:" to unholy prayers) |
||
(One intermediate revision by the same user not shown) | |||
Line 52: | Line 52: | ||
local chr = asList and '* ' or '' | local chr = asList and '* ' or '' | ||
local bonusLines = {} | local bonusLines = {} | ||
if prayer.isUnholy then | |||
table.insert(bonusLines, "For each Unholy Mark stack on the enemy:") | |||
end | |||
if type(prayer.modifiers) == 'table' then | if type(prayer.modifiers) == 'table' then | ||
for bonusKey, bonusVal in Shared.skpairs(prayer.modifiers) do | for bonusKey, bonusVal in Shared.skpairs(prayer.modifiers) do | ||
Line 132: | Line 136: | ||
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 | ||
edits