ZORO COMMUNITY
关闭频道
显示更多
未指定国家未指定类别
873
订阅者
无数据24 小时
无数据7 天
无数据30 天
帖子存档
guys i have fs account with red fissure dm me I will send the picture.
25 10月, 03:07
Repost from CODM FREE ACCOUNT CHANNEL
@everyone No share = no win send proof na shinare saken! Late share not allowed
16 10月, 23:44
Repost from 𝙆𝙍𝙔𝙑𝙀𝙓 𝘾𝙃𝘼𝙉𝙉𝙀𝙇
NO SHARE NO WIN
NO PROOF NO WIN
LATE PROOF AUTO RR
MINIMUM SHARE 20+
DOUBLE NUMBER NO WIN
21 10月, 06:35
else{if(m.t<=0){m.dir=ri(-1,1);m.t=1.5+rnd()*3;}m.vx=m.dir*34;}
unstick(.5);
if(m.k==='chicken'&&m.vy>110)m.vy=110;
}
if(m.dir&&m.k!=='skeleton')m.face=m.dir;
if(m.onGround)m.walk+=Math.abs(m.vx)*dt*.12;
}
function updateMobs(dt){
const lst=playersList();
for(const p of net.peers)p.inv=Math.max(0,p.inv-dt);
for(const m of mobs){
let tg=lst[0],bd=1e9;
for(const t of lst){const d=Math.hypot(t.x-(m.x+m.w/2),t.y-(m.y+m.h/2));if(d<bd){bd=d;tg=t;}}
aiMob(m,dt,tg,bd);
if(m.dead)continue;
move(m,dt,m.k==='bat');
if(CONTACT[m.k])for(const t of lst){const tx=t.x-10,ty=t.y-20;if(m.x<tx+20&&m.x+m.w>tx&&m.y<ty+40&&m.y+m.h>ty)damagePlayer(t,CONTACT[m.k],m.x+m.w/2);}
if(bd>60*TS||m.y>WH*TS)m.dead=true;
}
mobs=mobs.filter(m=>!m.dead);
}
function updateArrows(dt){
for(const a of arrows){
a.life-=dt;a.vy+=700*dt;a.x+=a.vx*dt;a.y+=a.vy*dt;
if(solid(Math.floor(a.x/TS),Math.floor(a.y/TS))){a.life=0;continue;}
if(a.own>=0){
for(const m of mobs){if(m.k!=='villager'&&!m.dead&&a.x>m.x&&a.x<m.x+m.w&&a.y>m.y&&a.y<m.y+m.h){hurtMob(m,a.d,a.own,a.x-a.vx*.05);a.life=0;break;}}
}else{
for(const t of playersList()){if(a.x>t.x-10&&a.x<t.x+10&&a.y>t.y-20&&a.y<t.y+20){damagePlayer(t,a.d,a.x);a.life=0;break;}}
}
}
arrows=arrows.filter(a=>a.life>0);
}
function trySpawn(t,k,surface){
for(let i=0;i<14;i++){
const side=rnd()<.5?-1:1,tx=Math.floor(t.x/TS)+side*(surface?ri(14,22):ri(9,16));
if(tx<2||tx>=WW-2)continue;
const y=surface?topY[tx]*TS-MD[k].h-1:(Math.floor(t.y/TS)+ri(-9,9))*TS;
if(addMob(k,tx*TS+2,y))return;
}
}
function spawnAnimal(t){
const ks=['pig','cow','sheep','sheep','chicken'],k=ks[ri(0,4)];
for(let i=0;i<8;i++){const tx=Math.floor(t.x/TS)+(rnd()<.5?-1:1)*ri(18,40);if(tx<3||tx>=WW-3)continue;if(addMob(k,tx*TS,topY[tx]*TS-MD[k].h-1))return;}
}
function spawnMobs(){
const lst=playersList(),t=lst[ri(0,lst.length-1)];
const px=clamp(Math.floor(t.x/TS),0,WW-1),dep=Math.floor(t.y/TS)-topY[px];
const near=mobs.filter(m=>Math.abs(m.x-t.x)<40*TS&&Math.abs(m.y-t.y)<30*TS);
const cnt=k=>near.filter(m=>m.k===k).length,hostile=near.filter(m=>!m.animal&&m.k!=='villager').length,anim=near.filter(m=>m.animal).length,nk=darkness();
if(dep<5){
if(nk>.3&&hostile<6){const r=rnd();trySpawn(t,r<.45?'zombie':r<.7?'skeleton':r<.88?'creeper':'spider',true);}
else if(nk<=.3&&cnt('slime')<2&&rnd()<.4)trySpawn(t,'slime',true);
if(nk<.3&&anim<10)spawnAnimal(t);
}else if(dep>8&&hostile<7){
const r=rnd();trySpawn(t,r<.25?'bat':r<.4?'slime':r<.6?'zombie':r<.78?'skeleton':r<.9?'spider':'creeper',false);
}
}
// ================= crafting / items =================
function eat(id){
const f=FOOD[id];if(!f||!(inv[id]>0))return;
if(hunger>=19.5&&P.hp>=10){toast('Not hungry!');return;}
inv[id]--;hunger=Math.min(20,hunger+f.h);P.hp=Math.min(10,P.hp+f.hp);
say('Yum!','#9dff9d');boom(P.x+10,P.y+8,'#9dff9d',8);
}
function place(tx,ty){
const id=heldId(),bid=BLOCKID[id];
if(!bid||!(inv[id]>0))return false;
const g=get(tx,ty);
if(!(g===0g===6g===13||g===14))return false;
if(!reach(tx,ty))return false;
if(!NS[bid]){
if(tx*TS<P.x+P.w&&tx*TS+TS>P.x&&ty*TS<P.y+P.h&&ty*TS+TS>P.y)return false;
for(const m of mobs)if(tx*TS<m.x+m.w&&tx*TS+TS>m.x&&ty*TS<m.y+m.h&&ty*TS+TS>m.y)return false;
}
setTile(tx,ty,bid);inv[id]--;boom(tx*TS+16,ty*TS+16,BL[bid].c,4);return true;
}
function breakBlock(tx,ty){
const t=get(tx,ty),info=BL[t];setTile(tx,ty,0);
if(t===6){if(rnd()<.14)give('apple',1);}else if(info.drop)give(info.drop,1);
boom(tx*TS+16,ty*TS+16,info.c,10);
const up=get(tx,ty-1);if(up===13||up===14)setTile(tx,ty-1,0);
hunger=Math.max(0,hunger-.03);mineP=0;mineK='';
}
function recipes(){
const R=[];
for(const k of TT){const nt=bestTier(k)+1;if(nt<=4)R.push({name:TIER[nt]+' '+TN2[k],res:k+nt,n:1,cost:TCOST[k][nt]});}
20 10月, 11:01
