ZORO COMMUNITY
Closed channel
Show more
The country is not specifiedThe category is not specified
876
Subscribers
No data24 hours
No data7 days
No data30 days
Posts Archive
Repost from JAMES MAIN CHANNEL
╔═━─━─━─━─━─━─━─━─━═╗
✦ 𝑵𝑶 𝑷𝑹𝑶𝑶𝑭 𝑶𝑭 𝑺𝑯𝑨𝑹𝑬 ✦
➤ 𝑵𝑶 𝑹𝑬𝑾𝑨𝑹𝑫
✧ 𝑳𝑨𝑻𝑬 𝑺𝑯𝑨𝑹𝑬 ✧
➤ 𝑨𝑼𝑻𝑶 𝑹𝑹
✦ SHARE THIS TO 20 GROUPS
➤ NO PROOF NO WIN ✦
✦ DOUBLE NUM = REROLL ✧
╚═━─━─━─━─━─━─━─━─━═╝
09 Oct, 06:38
m.hp-=dm;m.hurt=.18;m.kb=.2;
const dir=(m.x+m.w/2>fx)?1:-1;
m.vx=dir*230;m.vy=m.k==='bat'?-80:-220;
if(m.animal)m.flee=3;
say('-'+dm,'#ffd0a0',m.x+m.w/2,m.y-4);boom(m.x+m.w/2,m.y+m.h/2,'#c33',6);
if(m.hp<=0&&!m.dead)killMob(m,owner);
}
function killMob(m,owner){
m.dead=true;boom(m.x+m.w/2,m.y+m.h/2,m.k==='slime'?'#5fe36a':(m.animal?'#f0a0a8':'#7ccf6a'),16);
const c=(id,n)=>creditDrop(owner,id,n);
if(m.k==='pig')c('meat',ri(1,2));else if(m.k==='cow')c('meat',ri(2,3));
else if(m.k==='sheep'){c('wool',ri(1,2));c('meat',1);}
else if(m.k==='chicken')c('meat',1);
else if(m.k==='zombie'){if(rnd()<.35)c('coal',1);if(rnd()<.25)c('apple',1);}
else if(m.k==='skeleton'){c('bone',ri(1,2));if(rnd()<.5)c('arrow',ri(1,3));}
else if(m.k==='spider'){c('string',ri(1,2));}
else if(m.k==='creeper'){c('coal',ri(1,3));}
else if(m.k==='slime'){if(rnd()<.6)c('torch',ri(1,2));}
else if(m.k==='bat'&&rnd()<.2)c('iron',1);
}
function explode(cx,cy,r){
const tx0=Math.floor(cx/TS),ty0=Math.floor(cy/TS);
for(let dx=-r;dx<=r;dx++)for(let dy=-r;dy<=r;dy++){
const d=Math.hypot(dx,dy);if(d>r)continue;
const x=tx0+dx,y=ty0+dy,t=get(x,y);
if(t===0t===9x<1x>=WW-1y>=WH-3)continue;
if(d>r-1&&rnd()<.4)continue;
setTile(x,y,0);
}
boom(cx,cy,'#ffb347',40);boom(cx,cy,'#555',30);shake=Math.max(shake,14);
if(net.mode==='host')sendAll({t:'x',x:cx,y:cy});
for(const t of playersList()){const d=Math.hypot(t.x-cx,t.y-cy)/TS;if(d<r+1.5)damagePlayer(t,Math.max(2,Math.round(9*(1-d/(r+1.5)))),cx);}
for(const m of mobs){if(m.dead||m.k==='villager')continue;const d=Math.hypot(m.x+m.w/2-cx,m.y+m.h/2-cy)/TS;if(d<r+1)hurtMob(m,Math.max(1,Math.round(10*(1-d/(r+1)))),-1,cx);}
}
function burn(m,dt){
const mx=clamp(Math.floor(m.x/TS),0,WW-1);
if(darkness()<.08&&m.y/TS<topY[mx]+3){m.hp-=dt*3;m.hurt=.1;if(m.hp<=0)m.dead=true;}
}
function aiMob(m,dt,tg,dist){
const dx=tg.x-(m.x+m.w/2),dy=tg.y-(m.y+m.h/2);
m.t-=dt;m.hurt=Math.max(0,m.hurt-dt);
if(m.kb>0){m.kb-=dt;return;}
const unstick=(f)=>{if(m.dir&&m.onGround&&Math.abs(m.x-m.lastX)<.15){m.stuck+=dt;if(m.stuck>f){m.vy=-560;m.stuck=0;}}else m.stuck=0;m.lastX=m.x;};
if(m.k==='zombie'){
if(dist<20*TS)m.dir=dx>0?1:-1;else if(m.t<=0){m.dir=ri(-1,1);m.t=1+rnd()*2;}
m.vx=m.dir*(dist<20*TS?78:35);unstick(.25);burn(m,dt);
}else if(m.k==='skeleton'){
m.face=dx>0?1:-1;
if(dist<3.5*TS)m.dir=-m.face;else if(dist>7*TS&&dist<20*TS)m.dir=m.face;else m.dir=0;
m.vx=m.dir*65;m.sh-=dt;
if(dist<13*TS&&m.sh<=0){m.sh=2+rnd();const d=Math.max(1,Math.hypot(dx,dy));arrows.push({x:m.x+m.w/2,y:m.y+10,vx:dx/d*500,vy:dy/d*500-140,own:-1,d:2,life:4});}
unstick(.3);burn(m,dt);
}else if(m.k==='spider'){
if(dist<16*TS){m.dir=dx>0?1:-1;m.vx=m.dir*115;}else{if(m.t<=0){m.dir=ri(-1,1);m.t=1+rnd()*2;}m.vx=m.dir*30;}
m.jt-=dt;
if(m.onGround&&dist<9*TS&&m.jt<=0){m.vy=-520;m.jt=1.2+rnd();}
unstick(.25);
}else if(m.k==='creeper'){
if(dist<18*TS)m.dir=dx>0?1:-1;else if(m.t<=0){m.dir=ri(-1,1);m.t=1.5+rnd()*2;}
const close=dist<2.6*TS;
m.vx=close?0:m.dir*(dist<18*TS?68:30);
if(close||m.fuse>0){m.fuse+=dt*(close?1:-1.5);if(m.fuse<0)m.fuse=0;}
unstick(.3);
if(m.fuse>1.4){m.dead=true;explode(m.x+m.w/2,m.y+m.h/2,3);}
}else if(m.k==='slime'){
if(m.onGround){m.vx*=.8;if(m.t<=0){m.t=.8+rnd()*.9;m.vy=-430;m.dir=dist<14*TS?(dx>0?1:-1):(rnd()<.5?-1:1);m.vx=m.dir*130;}}
}else if(m.k==='bat'){
const near=dist<22*TS,ax=near?dx:Math.sin(time+m.seed)*50,ay=near?dy:Math.cos(time*.7+m.seed)*30;
m.vx+=((ax>0?1:-1)*85-m.vx)*dt*2;
m.vy+=((ay>0?1:-1)*55+Math.sin(time*7+m.seed)*70-m.vy)*dt*2.5;
m.dir=m.vx>0?1:-1;
}else if(m.k==='villager'){
if(Math.abs(m.x-m.home)>6*TS){m.dir=m.x>m.home?-1:1;}else if(m.t<=0){m.dir=ri(-1,1);m.t=2+rnd()*3;}
m.vx=m.dir*28;unstick(.5);
}else{
if(m.flee>0){m.flee-=dt;m.dir=(m.x<tg.x)?-1:1;m.vx=m.dir*115;}
20 Oct, 11:01
