Одержимость: в полоске здоровья только числа, без имени зомби

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
AlexCube
2026-10-13 13:10:40 +03:00
co-authored by Claude Opus 5.5
parent 8000e65167
commit ab39126d05
3 changed files with 3 additions and 1 deletions
+3 -1
View File
@@ -2276,7 +2276,9 @@ namespace NecromancerTome
_hpId = z.entityId;
_hpCur = hp;
_hpMax = max;
_hpText = Localization.Get(z.EntityName) + " " + hp + "/" + max;
// Только числа: имя зомби в полоске не помещалось и переносилось (скриншоты 13.10: «название зомби
// в индикаторе здоровья - плохая идея»).
_hpText = hp + "/" + max;
}
DrawBar(hr, Mathf.Clamp01(hp / (float)Mathf.Max(1, max)), Fill, _hpText);
Binary file not shown.
Binary file not shown.