This commit is contained in:
aozhiwei 2022-11-15 20:22:02 +08:00
parent 226872d62c
commit 1ee8021f1a

View File

@ -1125,6 +1125,7 @@ void Buff::ProcReserveMove()
void Buff::ProcHoldShield() void Buff::ProcHoldShield()
{ {
owner->IncDisableAttackDirTimes();
owner->shield_max_hp_ = SkillHelper::GetLdfyHp(owner, skill_meta); owner->shield_max_hp_ = SkillHelper::GetLdfyHp(owner, skill_meta);
owner->shield_hp_ = owner->shield_max_hp_; owner->shield_hp_ = owner->shield_max_hp_;
owner->room->frame_event.AddPropChg(owner->GetWeakPtrRef(), owner->room->frame_event.AddPropChg(owner->GetWeakPtrRef(),
@ -1179,7 +1180,7 @@ void Buff::ProcHoldShield()
void Buff::ProcRemoveHoldShield() void Buff::ProcRemoveHoldShield()
{ {
owner->DecDisableAttackDirTimes();
} }
void Buff::ProcHide() void Buff::ProcHide()