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