两个C2踢墙表调整

This commit is contained in:
MrZ626
2020-11-14 22:35:53 +08:00
parent b8f22dc99d
commit ae71968909

View File

@@ -1,7 +1,9 @@
local zero={0,0}
local Zero={zero}
local ZERO={[01]=Zero,[10]=Zero,[03]=Zero,[30]=Zero,[12]=Zero,[21]=Zero,[32]=Zero,[23]=Zero}
local ZERO_180={[01]=Zero,[10]=Zero,[03]=Zero,[30]=Zero,[12]=Zero,[21]=Zero,[32]=Zero,[23]=Zero,[02]=Zero,[20]=Zero,[13]=Zero,[31]=Zero}
local ZERO,ZERO_180 do
local Zero={zero}
ZERO={[01]=Zero,[10]=Zero,[03]=Zero,[30]=Zero,[12]=Zero,[21]=Zero,[32]=Zero,[23]=Zero}
ZERO_180={[01]=Zero,[10]=Zero,[03]=Zero,[30]=Zero,[12]=Zero,[21]=Zero,[32]=Zero,[23]=Zero,[02]=Zero,[20]=Zero,[13]=Zero,[31]=Zero}
end
local map={}
for x=-3,3 do map[x]={}for y=-3,3 do map[x][y]={x,y}end end
@@ -56,8 +58,8 @@ end
local TRS
do
local OspinList={
{111,5,2, 0,-1,0},{111,5,2,-1,-1,0},{111,5,0,-1, 0,0},--t
{333,5,2,-1,-1,0},{333,5,2, 0,-1,0},{333,5,0, 0, 0,0},--t
{111,5,2, 0,-1,0},{111,5,2,-1,-1,0},{111,5,0,-1, 0,0},--T
{333,5,2,-1,-1,0},{333,5,2, 0,-1,0},{333,5,0, 0, 0,0},--T
{313,1,2,-1, 0,0},{313,1,2, 0,-1,0},{313,1,2, 0, 0,0},--Z
{131,2,2, 0, 0,0},{131,2,2,-1,-1,0},{131,2,2,-1, 0,0},--S
{331,3,2, 0,-1,0},{113,3,0, 0, 0,0},{113,3,2,-1, 0,0},--J
@@ -115,7 +117,7 @@ do
[20]={{ 1, 0},{-1, 0},{ 0,-1}},
[13]={{ 0,-1},{ 0, 1},{ 1, 0},{ 0,-2},{ 0, 2}},
[31]={{ 0,-1},{ 0, 1},{-1, 0},{ 0,-2},{ 0, 2}},
},--t
},--T
function(P,d)
if P.human then SFX.fieldPlay("rotate",nil,P)end
if not P.gameEnv.ospin then return end
@@ -383,7 +385,7 @@ end
local C2
do
local L={{0,0},{-1,0},{1,0},{0,-1},{-1,-1},{1,-1}}
local L={{0,0},{-1,0},{1,0},{0,-1},{-1,-1},{1,-1},{0,-2},{0,2}}
C2={{[01]=L,[10]=L,[12]=L,[21]=L,[23]=L,[32]=L,[30]=L,[03]=L}}
collect(C2[1])
for i=2,25 do C2[i]=C2[1]end
@@ -391,11 +393,33 @@ end
local C2sym
do
local L1={{0,0},{-1,0},{1,0},{0,-1},{-1,-1},{1,-1}}
local L2={{0,0},{-1,0},{1,0},{0,-1},{-1,-1},{1,-1}}
C2sym={{[01]=L1,[10]=L2,[12]=L1,[21]=L2,[23]=L1,[32]=L2,[30]=L1,[03]=L2,[02]=L1,[20]=L1,[13]=L1,[31]=L2}}
collect(C2sym[1])
for i=2,25 do C2sym[i]=C2sym[1]end
local L={{0,0},{-1,0},{1,0},{0,-1},{-1,-1},{1,-1},{0,-2},{0,2}}
local R={{0,0},{-1,0},{1,0},{0,-1},{-1,-1},{1,-1},{0,2},{0,-2}}
local Z={
[01]=R,[10]=L,[03]=L,[30]=R,
[12]=R,[21]=L,[32]=L,[23]=R,
[02]=R,[20]=L,[13]=L,[31]=R,
}
collect(Z)
local S=reflect(Z)
collect(S)
C2sym={
Z,S,--Z,S
Z,S,--JL
Z,--T
ZERO,--O
Z,--I
Z,S,--Z5,S5
Z,S,--P,Q
Z,S,--F,E
Z,Z,Z,Z,--T5,U,V,W
ZERO,--X
Z,S,--J5,L5
Z,S,--R,Y
Z,S,--N,H
}
end
local None={}