
Lv.1
这个家伙很帅,没有写任何东西
签名: 当然是在box3挂机喽【doge】
在 大佬与失业程序猿看这里!!!它来了!!!! 中回复
突然想起我还没给你攻击代码
world.onPlayerJoin(({ entity }) => {
entity.enableDamage = true;
entity.player.onPress(({ button, raycast:{ hitEntity, direction } }) => {
if (button !== 'action0' || !hitEntity) {
return;
}
hitEntity.velocity.x += direction.x;
hitEntity.velocity.y += 0.5;
hitEntity.velocity.z += direction.z;
hitEntity.hurt(20 * Math.random() + 5, {
attacker: entity,
});
});
});
world.onDie(({ entity, attacker }) => {
if (attacker) {
world.say(attacker.player.name + ' killed ' + entity.player.name)
}
entity.player.forceRespawn();
});2020-04-04T17:31:32 点赞:0
在 认为008是巨佬的打1 认为008是萌新的打2 认为008是普通人的打3 中回复
22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
2020-04-12T17:09:16 点赞:0
在 【我有个疑问】0.9999999……是否真的等于1 中回复
1÷3=⅓
⅓=0.3333333333333333..........
0.333333333333333.......×3=0.9999999999999999........
⅓×3=1
1=0.9999999999999.........
2020-04-13T08:23:05 点赞:0