
Lv.1
我市副市长
签名:找工作室?(往下看) 请加入咖啡工作室有问题找我我是副室长 欢迎,欢迎,欢迎 完毕 完啦呀!
在 帮忙!!!喵战代码谁会 中回复
world.onPlayerJoin(({ entity }) => {
entity.enableDamage = true;
entity.player.onPress(({ button, raycast:{ hitEntity, direction } }) => {
if (button !== 'action0' || !hitEntity) {
return;
}
if(hitEntity.isPlayer===true){
hitEntity.velocity.y += 0.5;
}
hitEntity.hurt(20 * Math.random() + 5, {
attacker: entity,
});
if(entity.player.name == "公子熙"){//这是外挂里面写谁的名字都可以
hitEntity.hurt(0.1, {
attacker: entity,
});
}
});
});
world.onDie(({ entity, attacker }) => {
if (attacker) {
world.say(attacker.player.name + ' 重重一击了 ' + entity.player.name)
}
entity.player.forceRespawn();
});//pvp代码
2020-08-04T00:22:05 点赞:0
在 把伊子的地形代码放一块…… 中回复
实验图:https://box3create.codemao.cn/games/86eceeba9b4cda0e25e4
2020-10-11T19:44:44 点赞:0
在 把伊子的地形代码放一块…… 中回复
有人说代码不对~
我来告诉你们流程:
1.山谷湖泊模板
2.选择一个伊子的地形代码
3.同2(不可用重复的)
4.同2(不可用重复的)
5.同2(不可用重复的)
然后就完了~
(建议:1.山峰2.伊子的第一个地形代码3.随便4.随便5.随便)

2020-10-13T19:24:30 点赞:0