攻击缓冲区增加到26
This commit is contained in:
@@ -186,9 +186,9 @@ function Player.attack(P,R,send,time,...)
|
|||||||
P:createBeam(R,send,time,...)
|
P:createBeam(R,send,time,...)
|
||||||
end
|
end
|
||||||
R.lastRecv=P
|
R.lastRecv=P
|
||||||
if R.atkBuffer.sum<20 then
|
if R.atkBuffer.sum<26 then
|
||||||
local B=R.atkBuffer
|
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
|
local m,k=#B,1
|
||||||
while k<=m and time>B[k].countdown do k=k+1 end
|
while k<=m and time>B[k].countdown do k=k+1 end
|
||||||
for i=m,k,-1 do
|
for i=m,k,-1 do
|
||||||
|
|||||||
Reference in New Issue
Block a user