用户:
魔以侵心查看:1 回复:1 评论:1 创建时间:2020-05-10T18:32:00
给我吧谢谢谢谢谢谢谢谢谢谢谢谢
老葵world.onPlayerJoin(({entity})=>{
entity.enableDamage = true;
})
world.onDie(({entity})=>{
entity.player.forceRespawn();
})
world.querySelectorAll('.电磁炮').forEach((e)=>{
e.onEntityContact(({entity,other})=>{
for (i=0;i=101;i++){
other.hurt(1)
}
})
})
需要配合标签使用,在需要的模型上加电磁炮标签(仅扣血效果)
点赞0
评论