Module:Abilities/card: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) No edit summary |
Gammaton32 (talk | contribs) added melee scaling |
||
| Line 178: | Line 178: | ||
end | end | ||
-- Get spirit scaling of attribute, return nil if none is found | -- Get spirit or melee scaling of attribute, return nil if none is found | ||
function get_attr_ss(attr) | function get_attr_ss(attr) | ||
if not attr then | if not attr then | ||
| Line 189: | Line 189: | ||
end | end | ||
if scale.Type ~= 'spirit' then | if scale.Type ~= 'spirit' or 'melee' then | ||
return nil | return nil | ||
end | end | ||