
Lv.1
大屑()()()
在 【岛三代码教程】武器击中爆炸特效代码教程公布! 中回复
aaaa这对代码萌新不太友好吧)
问一下函数里的炮弹是指你发射的东西吗()
还有就是是这么调用的吗()
arrow.onEntityContact(({ other }) => {
if(other.isPlayer && !arrow.hasTag(`${other.player.name}`)){
arrow.destroy(arrow,other)
let sh = 114514
other.hurt(sh)//喵10
other.player.directMessage(`你受到了${sh}点伤害,剩余${other.hp},攻击者:${entity.player.name}`)
}
})2022-02-21T15:25:40 点赞:0