再微调ZRS踢墙表(修改有偏移时只允许y<0踢为允许y<=0踢)

This commit is contained in:
MrZ626
2021-07-16 23:01:07 +08:00
parent a9925b3f15
commit 1d1522a9c4

View File

@@ -500,7 +500,7 @@ do
while true do
for test=1,#kickList do
local x,y=ix+kickList[test][1]+dx,iy+kickList[test][2]+dy
if (dx==0 and dy==0 or kickList[test][2]<0)and(P.freshTime>0 or kickList[test][2]+dy<=0)and not P:ifoverlap(icb,x,y)then
if (dx==0 and dy==0 or kickList[test][2]<=0)and(P.freshTime>0 or kickList[test][2]+dy<=0)and not P:ifoverlap(icb,x,y)then
if P.gameEnv.moveFX and P.gameEnv.block then
P:createMoveFX()
end