fix: Standardize healing text display to match damage text formatting.
This commit is contained in:
@@ -22,7 +22,7 @@ public partial class FloatingTextManager : Node
|
|||||||
|
|
||||||
public void ShowHeal(float amount, Vector2 position)
|
public void ShowHeal(float amount, Vector2 position)
|
||||||
{
|
{
|
||||||
var text = $"+{Mathf.Round(amount)}";
|
var text = $"+{Mathf.Round(amount * 100f).ToString(CultureInfo.InvariantCulture)}";
|
||||||
CreateFloatingText(text, position, HealColor);
|
CreateFloatingText(text, position, HealColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user