0
0
Fork 0

Correct tooltip for healing/harming potions

This commit is contained in:
Brandon 2020-08-01 08:39:50 -04:00
parent acea309564
commit 2ca2f25e58
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ local function register_potion(def)
_tt = "1/2 Heart/"..effect.."sec | "..time_string(dur)
end
elseif def.name == "healing" or def.name == "harming" then
_tt = (effect / 2).." Hearts"
_tt = ((effect / 2) - ((effect / 2)% 0.5)).." Hearts"
else
_tt = tt or time_string(dur) or S("No effect")
end