|
@@ -136,6 +136,7 @@ public class BattleUnit : BattleObject
|
|
|
{
|
|
|
if (ZUnit.Info.Properties is XmdsUnitProperties prop)
|
|
|
{
|
|
|
+ //Log.Debug($"hp({ZUnit.TemplateID}) change: {ZUnit.HP}");
|
|
|
if (prop.GameStatusType == XmdsUnitProperties.StatusType.SpecialElite)
|
|
|
{
|
|
|
var hp = ZUnit.HP;
|
|
@@ -148,7 +149,6 @@ public class BattleUnit : BattleObject
|
|
|
RefreshBossHPBar(prop);
|
|
|
return;
|
|
|
}
|
|
|
- //Log.Debug($"hp({ZUnit.ObjectID}) change: {ZUnit.HP}");
|
|
|
|
|
|
if (prop.ShowHPBanner)
|
|
|
{
|
|
@@ -241,7 +241,7 @@ public class BattleUnit : BattleObject
|
|
|
});
|
|
|
actionChangeHandler.AddListener(UnitActionStatus.HitMove, stun);
|
|
|
actionChangeHandler.AddListener(UnitActionStatus.Dead, (o) => {
|
|
|
- OnHPChanged();
|
|
|
+ //OnHPChanged();
|
|
|
});
|
|
|
actionChangeHandler.AddListener(UnitActionStatus.Damage, (o) => { });
|
|
|
actionChangeHandler.AddListener(UnitActionStatus.Pick, (o) => { });
|