From 85c82391169ea758814f3df34cf05d6b92d3c226 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Wed, 18 Nov 2020 20:46:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BB=E5=87=BB=E7=BC=93=E5=86=B2=E5=8C=BA?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=88=B026?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/player/player.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parts/player/player.lua b/parts/player/player.lua index 99c7f83c..b8f72dd9 100644 --- a/parts/player/player.lua +++ b/parts/player/player.lua @@ -186,9 +186,9 @@ function Player.attack(P,R,send,time,...) P:createBeam(R,send,time,...) end R.lastRecv=P - if R.atkBuffer.sum<20 then + if R.atkBuffer.sum<26 then local B=R.atkBuffer - if send>20-B.sum then send=20-B.sum end--No more then 20 + if send>26-B.sum then send=26-B.sum end local m,k=#B,1 while k<=m and time>B[k].countdown do k=k+1 end for i=m,k,-1 do