Одержимость: в полоске здоровья только числа, без имени зомби
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
8000e65167
commit
ab39126d05
@@ -2276,7 +2276,9 @@ namespace NecromancerTome
|
|||||||
_hpId = z.entityId;
|
_hpId = z.entityId;
|
||||||
_hpCur = hp;
|
_hpCur = hp;
|
||||||
_hpMax = max;
|
_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);
|
DrawBar(hr, Mathf.Clamp01(hp / (float)Mathf.Max(1, max)), Fill, _hpText);
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user