From b1ac913dd896c507f45f8ca2fec366ec972b7d30 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Wed, 14 Jul 2021 23:24:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0ZRS=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9O=E5=92=8CX=E7=9A=84=E6=97=8B=E8=BD=AC=E8=B8=A2?= =?UTF-8?q?=E5=A2=99=E6=96=B9=E5=90=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/kickList.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/parts/kickList.lua b/parts/kickList.lua index 0d268c6e..f4908d22 100644 --- a/parts/kickList.lua +++ b/parts/kickList.lua @@ -479,8 +479,10 @@ do {[02]=F,[20]=F,[13]=F,[31]=F},--O1 } for i=1,29 do - list[i][01]=R;list[i][10]=L;list[i][03]=L;list[i][30]=R - list[i][12]=R;list[i][21]=L;list[i][32]=L;list[i][23]=R + local a,b=R,L + if i==6 or i==18 then a,b=b,a end + list[i][01]=a;list[i][10]=b;list[i][03]=b;list[i][30]=a + list[i][12]=a;list[i][21]=b;list[i][32]=b;list[i][23]=a end ZRS=TABLE.new(function(P,d,ifpre) local cur=P.cur @@ -498,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 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