ui基本完毕,修了一大把的bug

This commit is contained in:
2026-07-13 02:28:39 +08:00
parent 1e20d73e90
commit fd22501f71
958 changed files with 378289 additions and 41038 deletions
+9
View File
@@ -159,6 +159,15 @@ public class EnemyCombatant : MonoBehaviour, ICombatant
ModifyHP(-delta, true);
int actual = before - currentHP;
if (actual > 0 && source != null && teamUIController.Instance != null)
{
var sourceAlly = source.GetComponent<AllyCombatant>();
if (sourceAlly != null)
{
teamUIController.Instance.RecordDamage(sourceAlly.slotIndex, actual);
}
}
GameplaySkillLogger.RecordEnemyHpEvent(
gameObject.name,
"Damage",