用户:
tiger666250查看:2 回复:3 评论:2 创建时间:2022-10-28T15:29:30
rt()rtrtrtrtrtrtrtrtrtrtrtrt
呵呵0486代码是这样 xxx.hurt(114514,{damageType:'被撅力'}) 然后可以在onDie或者onTakeDamage里这样 world.onDie(({entity})=>{ world.say(`${entity.isPlayer?entity.player.name:entity.id}${damageType}`) }) 然后世界就会广播xxx+damageType 可以通过更改damageType然后在onTakeDamage改玩家颜色(比如中毒绿色火烧红色) 喵可以广播不同的消息 所以就是没啥用()doge()
点赞0
评论