Add ranged damage group to guns and crossbow
* Add ranged damage group to guns * Add ranged and crossbow group to crossbow
This commit is contained in:
parent
bc0fc7f43c
commit
d7f6dc7c06
2 changed files with 5 additions and 5 deletions
|
@ -37,7 +37,7 @@ end
|
|||
|
||||
config = shooter.get_configuration(config)
|
||||
|
||||
local arrow_tool_caps = {damage_groups={fleshy=config.arrow_fleshy}}
|
||||
local arrow_tool_caps = {damage_groups={fleshy=config.arrow_fleshy, ranged=1, crossbow=1}}
|
||||
if minetest.global_exists("SHOOTER_ARROW_TOOL_CAPS") then
|
||||
arrow_tool_caps = table.copy(SHOOTER_ARROW_TOOL_CAPS)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue