I can"t even remember what was all that fuzz about half a year ago...However, since I'm not completely useless, I took a shot at it. Do you think this would work @Infixo ?
The duration of the promotion that goes into the tooltip comes from these lines:
Code:
local sDurationTip = ""
if unit:GetPromotionDuration(unitPromotionID) > 0 then
sDurationTip = " (" .. Locale.ConvertTextKey("TXT_KEY_STR_TURNS", unit:GetPromotionDuration(unitPromotionID) - (Game.GetGameTurn() - unit:GetTurnPromotionGained(unitPromotionID))) .. ")"
end
Last edited: