Module:Abilities/utils: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Removed dead code: data["Name"] is always nil since data is the full JSON object, not a single ability. This line had no effect |
No edit summary |
||
| Line 50: | Line 50: | ||
prefix = '+' | prefix = '+' | ||
end | end | ||
-- | -- ONLY add a '+' if the value is positive AND there isn't already a prefix. | ||
elseif (value > 0 and prefix == '') then | |||
prefix = '+' | |||
end | end | ||