用户:
白云上的刺客查看:6 回复:3 评论:6 创建时间:2021-08-17T16:42:58
谁知道摔落伤害怎么弄,知道的回复一下imgsrc="https://static.codemao.cn/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E6%90%93%E5%A4%B4.gif"alt="emotion_编程猫_搓头"
Lingooy_Sheeranworld.onVoxelContact(async({entity,x,y,z,voxel})=>{
if (!entity.isPlayer) return;
let i=entity.player.fall-y
if(entity.player.fall-y>3){
entity.hurt(i)
entity.player.directMessage('你受到了'+i+'点摔落伤害,目前血量是:'+entity.hp)
}
entity.player.fall=y
})点赞0
评论