1
This commit is contained in:
parent
207abaedda
commit
d3c0203c59
@ -213,6 +213,10 @@ void Human::Shot()
|
||||
CancelAction();
|
||||
}
|
||||
|
||||
if (HasBuffEffect(BET_Hide)) {
|
||||
RemoveBuffByEffectId(BET_Hide);
|
||||
}
|
||||
|
||||
DirectShot(curr_weapon->meta, 0);
|
||||
if (curr_weapon->meta->NeedTrace()) {
|
||||
room->xtimer.AddDeadLineTimerAndAttach(curr_weapon->meta->i->time() * SERVER_FRAME_RATE,
|
||||
@ -1400,9 +1404,6 @@ void Human::ProcBuffEffect(Buff* buff)
|
||||
|
||||
void Human::OnAttack()
|
||||
{
|
||||
if (HasBuffEffect(BET_Hide)) {
|
||||
RemoveBuffByEffectId(BET_Hide);
|
||||
}
|
||||
GrassTempShow();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user