function procCmd(cmd){ if(cmd == "c"){ var X = getPlayerX()+1; var Y = getPlayerY()+5; var Z = getPlayerZ(); var R = 15, deg = 0; for(; R>0; R--){ deg = 0; while(deg < 2*Math.PI){ x = X+R*Math.cos(deg); y = Y+R*Math.sin(deg); setTile(x,y,Z,24); deg += 0.01; } Z += 1; } clientMessage(ChatColor.YELLOW+"done!"); } }
无名可用
2015-02-07S1.1
12楼
回复10楼
function procCmd(cmd){
if(cmd == "c"){
var X = getPlayerX()+1;
var Y = getPlayerY()+5;
var Z = getPlayerZ();
var R = 15, deg = 0;
for(; R>0; R--){
deg = 0;
while(deg < 2*Math.PI){
x = X+R*Math.cos(deg);
y = Y+R*Math.sin(deg);
setTile(x,y,Z,24);
deg += 0.01;
}
Z += 1;
}
clientMessage(ChatColor.YELLOW+"done!");
}
}
135.58M 87%好评(52540人)
自由开放的沙盘创造类游戏