Module:Fighter/punishment

From Wavu Wiki, the 🌊 wavy Tekken wiki

Documentation for this module may be created at Module:Fighter/punishment/doc

local P_HARD = 'bg-green'
local P_SHORT = 'bg-red'
local P_WALL = 'bg-orange'
local P_METER = 'bg-purple'

local p = { P_METER = P_METER }

p.block = {
	Bryan = {
		stand = {
			[10] = {
				[24] = true,
			},
			[12] = {
				[27] = true,
			},
			[14] = {
				[77] = true,
				[98] = P_WALL, -- f,n,b+2 dash qcf+3,4 b+2,1,4 S! b+3,f~2,1 W! b+3,f~3>4
			},
			[16] = {
				[80] = P_WALL, -- b+4 f,n,b+2 W! f,F+4 b+3,f~3>4
			},
			[18] = {
				[89] = P_METER, -- R.b+1+2 TNT~f,F+3* S! 1+2,1 qcf+3 qcf+3,4 TNT.f,F+2
			},
			[23] = {
				[82] = true,
				[104] = P_WALL, -- uf,n,4 dash qcf+3,4 b+2,1,4 S! b+3,f~2,1 W! b+3,f~3>4
			},
		},
		crouch = {
			[10] = {
				[5] = true,
			},
			[11] = {
				[16] = true,
			},
			[12] = {
				[18] = true,
			},
			[13] = {
				[37] = true,
				[64] = P_WALL, -- FC.df+2,1 W! b+3,f~3>4
			},
			[15] = {
				[77] = true,
				[98] = P_WALL, -- ws1 dash qcf+3,4 b+2,1,4 S! b+3,f~2,1 W! b+3,f~3>4
			},
			[19] = {
				[87] = true,
			},
		},
	},
	Fahkumram = {
		stand = {
			[10] = {
				[24] = true,
			},
			[12] = {
				[33] = true,
				[57] = P_WALL, -- f+2,1 W! 1,2,1,4
				[71] = P_METER, -- and P_WALL f+2,1 W! 3,1 R.uf+3+4
			},
			[14] = {
				[38] = true,
				[59] = P_WALL, -- b+2,1 W! 1,2,1,4
				[73] = P_METER, -- and P_WALL b+2,1 W! 3,1 R.uf+3+4
			},
			[15] = {
				[71] = true,
				[85] = P_METER, -- df+2,3 b+1 df+1,2~1 3,4~4 S! R.df+3+4
				[91] = P_WALL, -- df+2,3 b+1 df+1,2~1 3,4~4 S! df+1,4~3,2 W! 1,2,1,4
			},
			[21] = {
				[78] = P_HARD, -- just frame f,F+1+2 f,F+2,1 4,3~4 df+1,4 S! df+1,4~3,2
				[94] = P_METER, -- just frame f,F+1+2 f,F+2,1 4,3~4 df+1,4 S! R.df+3+4
				[98] = P_WALL, -- just frame f,F+1+2 f,F+2,1 4,3~4 df+1,4 S! df+1,4~3,2 W! 1,2,1,4
			},
			[23] = {
				[78] = true,
				[94] = P_METER, -- f,F+1+2 f,F+2,1 4,3~4 df+1,4 S! R.df+3+4
				[98] = P_WALL, -- f,F+1+2 f,F+2,1 4,3~4 df+1,4 S! df+1,4~3,2 W! 1,2,1,4
			},
		},
		crouch = {
			[10] = {
				[5] = true,
			},
			[11] = {
				[20] = true,
			},
			[13] = {
				[32] = true,
				[56] = P_WALL, -- ws1,2 W! 1,2,1,4
				[70] = P_METER, -- and P_WALL ws1,2 W! 3,1 R.uf+3+3
			},
			[15] = {
				[70] = true,
				[84] = P_METER, -- df+2,3 b+1 df+1,2~1 3,4~4 S! R.df+3+4
				[90] = P_WALL, -- ws3 b+1 df+1,2~1 3,4~4 S! df+1,4~3,2 W! 1,2,1,4
			},
		},
	},
	Jin = {
		stand = {
			[10] = {
				[29] = true,
				[58] = P_WALL, -- 2,4 W! b,n,f+2,1,df+2
				[65] = P_METER, -- 2,4 W! R.b+1+2
			},
			[12] = {
				[30] = true,
				[58] = P_WALL, -- 1+2 W! b,n,f+2,1,df+2
				[66] = P_METER, -- 1+2 W! R.b+1+2
			},
			[13] = {
				[82] = P_METER,
			},
			[14] = {
				[38] = true,
				[79] = P_WALL, -- f+1+2 WB! db+3 S! W! b,n,f+2,1,df+2
				[69] = P_HARD, -- f,n,d,df#2
				[79] = P_METER, -- f,n,d,df#2 S! R.f,n,d,df+1+2,DF~f,f 3,1,F~1,3
			},
			[15] = {
				[74] = true,
				[97] = P_WALL, -- d+3+4 b+3,F~1 b,n,f+2,3,F~3 S! b+3,F~1,3 W! b,n,f+2,1,df+2
				[115] = P_METER, -- and P_WALL d+3+4 R.f,n,d,df+1+2,DF~f,f b,n,f+2,3,F~3 S! b+3,F~1,3 W! b,n,f+2,1,df+2
			},
			[17] = {
				[74] = true,
			}
		},
		crouch = {
			[10] = {
				[5] = true,
			},
			[11] = {
				[16] = true,
			},
			[12] = {
				[29] = P_HARD, -- cc 2,4
				[58] = P_WALL, -- cc 2,4 W! b,n,f+2,1,df+2
				[65] = P_METER, -- cc 2,4 W! R.b+1+2
			},
			[13] = {
				[26] = true,
				[82] = P_METER,
			},
			[14] = {
				[65] = true,
				[88] = P_WALL, -- ws2 b+3,F~1 b,n,f+2,3,F~3 S! b+3,F~1,3 W! b,n,f+2,1,df+2
			},
			[17] = {
				[74] = P_HARD, -- cc d+3+4 combo
				[97] = P_WALL, -- cc d+3+4 b+3,F~1 b,n,f+2,3,F~3 S! b+3,F~1,3 W! b,n,f+2,1,df+2
				[115] = P_METER, -- and P_WALL cc d+3+4 R.f,n,d,df+1+2,DF~f,f b,n,f+2,3,F~3 S! b+3,F~1,3 W! b,n,f+2,1,df+2
			},
		},
	},
	Law = {
		stand = {
			[10] = {
				[20] = true,
			},
			[11] = {
				[26] = true,
			},
			[12] = {
				[32] = true,
			},
			[14] = {
				[58] = true,
			},
			[15] = {
				[67] = true,
			},
			[23] = {
				[78] = true,
			},
		},
		crouch = {
			[10] = {
				[5] = true,
			},
			[11] = {
				[14] = true,
			},
			[13] = {
				[35] = true,
			},
			[15] = {
				[73] = true,
			},
		},
	},
	Lee = {
		stand = {
			[10] = {
				[26] = true,
				[47] = P_HARD, -- 1,3:3:3 d,DB+4
			},
			[11] = {
				[30] = true,
			},
			[13] = {
				[30] = true,
				[61] = P_WALL, -- f+1+2 W! b+2,f~n f+4,3 d+3
			},
			[14] = {
				[36] = true,
				[67] = P_WALL, -- f+2,1 W! b+2,f~n f+4,3 d+3
			},
			[15] = {
				[69] = true, -- f+3,3,3,3,3,4 S! 4,u+3 b+2,f~n(x3) <f+2,1
				[90] = P_WALL, -- f+3,3,3,3,3,4 S! 4,u+3 b+2,f~n(x2) ws2,3 W! df+1 f+4,3 d+3
			},
			[23] = {
				[78] = true, -- uf,n,4 4,u+3 b+2,f~n(x3) ws2,4 S! f+2,1
				[99] = P_WALL, -- uf,n,4 4,u+3 b+2,f~n ws2,4 S! b+2,f~n ws2,3 W! df+1 f+4,3 d+3
			}
		},
		crouch = {
			[10] = {
				[27] = true,
			},
			[13] = {
				[30] = true,
			},
			[14] = {
				[36] = true,
				[54] = P_HARD, -- ws2,3 f,F+3
				[78] = P_WALL, -- ws2,3 W! 4,u+3 f+4,3 d+3
				[94] = P_METER, -- ws2,3 R.d/f+3+4 S! ws2,3 b+2,f~n(x2) f+4,1 S! f+2,1
			},
			[15] = {
				[66] = true, -- uf+4 4,u+3 b+2,f~n(x3) ws2,4 S! f+2,1
				[87] = P_WALL, -- uf+4 4,u+3 b+2,f~n ws2,4 S! b+2,f~n ws2,3 W! df+1 f+4,3 d+3
			},
		},
	},
	Lidia = {
		stand = {
			[10] = {
				[25] = true,
			},
			[11] = {
				[28] = true,
			},
			[12] = {
				[33] = true,
			},
			[14] = {
				[38] = true,
			},
			[15] = {
				[60] = true,
				[63] = P_HARD,
				[82] = P_WALL,
			},
			[17] = {
				[78] = true,
				[98] = P_WALL,
			},
		},
		crouch = {
			[10] = {
				[5] = true,
			},
			[11] = {
				[25] = true,
			},
			[12] = {
				[28] = true,
				[56] = P_WALL,
			},
			[13] = {
				[32] = true,
				[60] = P_WALL,
			},
			[14] = {
				[38] = true,
				[85] = P_WALL, -- ws3,2 W! bab W! blossom
			},
			[15] = {
				[66] = true,
				[86] = P_WALL,
			},
			[23] = {
				[78] = true,
				[98] = P_WALL,
			},
		},
	},
	Paul = {
		stand = {
			[10] = {
				[19] = true,
			},
			[12] = {
				[32] = true,
				[62] = P_WALL,
			},
			[14] = {
				[62] = true,
				[86] = P_WALL, -- b+3 ws3 3,2,B~4 S! d+4,2:1+2 W! 3,2,B~2
			},
			[15] = {
				[63] = true,
				[87] = P_WALL, -- uf+3,4 3,2,B~4 S! d+4,2:1+2 W! 3,2,B~2
			},
			[23] = {
				[76] = true,
				[100] = P_WALL, -- qcf+1 3,2,B~4 S! d+4,2:1+2 W! 3,2,B~2
			},
		},
		crouch = {
			[10] = {
				[5] = true,
			},
			[11] = {
				[16] = true,
			},
			[13] = {
				[37] = true,
				[67] = P_WALL,
			},
			[14] = {
				[38] = true,
				[68] = P_WALL,
			},
			[15] = {
				[64] = true,
			},
		},
	},
	Katarina = {
		stand = {
			[10] = {
				[17] = true,
			},
			[12] = {
				[30] = true,
				[59] = P_WALL -- f,F+3 > u/b+4
				-- [82] = P_WALL + P_METER -- 2,2 W! > d/f+1,1,F > R.HAR 1+2
			},
			[13] = {
				[58] = P_HARD -- f,F+2,4
			},
			[14] = {
				[38] = true
			},
			[15] = {
				[72] = true,
				[86] = P_METER,
				[101] = P_WALL
				-- [120] = P_METER + P_WALL
			},
			[19] = {
				[79] = true,
				[93] = P_METER,
				[108] = P_WALL
				-- [127] = P_METER + P_WALL
			},
		},
		crouch = {
			[10] = {
				[5] = true,
			},
			[11] = {
				[15] = true,
			},
			[13] = {
				[23] = true
			},
			[14] = {
				[41] = true,
				[58] = P_HARD -- f,F+2,4
			},
			[15] = {
				[72] = true,
				[86] = P_METER,
				[101] = P_WALL
				-- [120] = P_METER + P_WALL
			},
			[19] = {
				[79] = true,
				[93] = P_METER,
				[108] = P_WALL
				-- [127] = P_METER + P_WALL
			},
		},
	},
	Marduk = {
		stand = {
			[10] = {
				[22] = true,
			},
			[12] = {
				[34] = true,
			},
			[13] = {
				[38] = true,
				[65] = P_WALL -- qcf+1+2,2
			},
			[15] = {
				[67] = true,
				[76] = P_METER, -- df+1 f,F+2 db+2 S! df+3,1,2 R.b+1+2
				[74] = P_WALL -- df+1 f,F+2 db+2 S! f,F+3,2 W! qcf+1+2,2
			},
			[17] = {
				[75] = true,
				[84] = P_METER,
				[82] = P_WALL
			},
			[23] = {
				[85] = true, -- f+3,2 f,F+2 db+2 S! df+3,1,2~VTSc f,F+1+2
				[96] = P_METER,
				[92] = P_WALL
			},
		},
		crouch = {
			[10] = {
				[12] = true,
			},
			[11] = {
				[14] = true,
			},
			[12] = {
				[34] = true,
			},
			[13] = {
				[21] = true
			},
			[18] = {
				[69] = true,
				[78] = P_METER,
				[76] = P_WALL
			},
			[23] = {
				[79] = true,
				[88] = P_METER,
				[86] = P_WALL
			}
		},
	}
}

p.block.Bryan.crouch[23] = p.block.Bryan.stand[23]
p.block.Fahkumram.crouch[21] = p.block.Fahkumram.stand[21]
p.block.Fahkumram.crouch[23] = p.block.Fahkumram.stand[23]
p.block.Law.crouch[23] = p.block.Law.stand[23]
p.block.Lee.crouch[23] = p.block.Lee.stand[23]
p.block.Paul.crouch[23] = p.block.Paul.stand[23]

-- Estimating this for now
p.median = {
	stand = {
		[10] = 24,
		[11] = 27,
		[12] = 30,
		[13] = 33,
		[14] = 36,
		[15] = 65,
		[23] = 77,
	},
	crouch = {
		[10] = 5,
		[11] = 20,
		[12] = 25,
		[13] = 30,
		[14] = 35,
		[15] = 65,
		[23] = 77,
	},
}

return p