This commit is contained in:
aozhiwei 2019-07-19 21:45:59 +08:00
parent 5634ce7039
commit 207abaedda

View File

@ -1400,11 +1400,17 @@ void Human::ProcBuffEffect(Buff* buff)
void Human::OnAttack() void Human::OnAttack()
{ {
if (HasBuffEffect(BET_Hide)) {
RemoveBuffByEffectId(BET_Hide);
}
GrassTempShow(); GrassTempShow();
} }
void Human::OnHit() void Human::OnHit()
{ {
if (HasBuffEffect(BET_Hide)) {
RemoveBuffByEffectId(BET_Hide);
}
GrassTempShow(); GrassTempShow();
} }