31 lines
No EOL
688 B
JSON
31 lines
No EOL
688 B
JSON
{
|
|
"weight": 0.0,
|
|
"ads_addend": -0.01,
|
|
// 近战伤害,用于刺刀
|
|
"melee": {
|
|
// 刺伤范围,以玩家视角为中心的立方体区域
|
|
// 枪械里还有个刺刀攻击距离参数,两者做加和
|
|
"range": [5, 1, 2],
|
|
// 伤害值
|
|
"damage": 11,
|
|
// 击退效果
|
|
"knockback": 1.2,
|
|
// 延迟伤害,单位:秒
|
|
"delay_damage_time": 0.2,
|
|
// 额外效果
|
|
"effects": [
|
|
{
|
|
"id": "minecraft:slowness",
|
|
"time": 3,
|
|
"amplifier": 2,
|
|
"hide_particles": true
|
|
},
|
|
{
|
|
"id": "minecraft:weakness",
|
|
"time": 5,
|
|
"amplifier": 2,
|
|
"hide_particles": true
|
|
}
|
|
]
|
|
}
|
|
} |