被攻击时场地会抖动

This commit is contained in:
MrZ626
2021-11-08 20:17:45 +08:00
parent a1030906c7
commit 7fa96eee1a
8 changed files with 12 additions and 0 deletions

View File

@@ -500,6 +500,9 @@ function Player:receive(A,send,time,line)
if self.sound then
SFX.play(send<4 and'blip_1'or'blip_2',min(send+1,5)*.1)
end
if send>=2 then
self:shakeField(send/2)
end
end
end
function Player:clearAttackBuffer()