Files
Techmino/parts/eventsets/checkTurn_7.lua
2021-08-28 16:46:10 +08:00

14 lines
337 B
Lua

return{
dropPiece=function(P)
if P.stat.piece%7==0 and #PLY_ALIVE>1 then
P.control=false
local ID=P.id
repeat
ID=ID+1
if not PLAYERS[ID]then ID=1 end
until PLAYERS[ID].alive or ID==P.id
PLAYERS[ID].control=true
end
end
}