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:
LoneWolfHT 2020-07-01 11:42:17 -07:00 committed by GitHub
parent bc0fc7f43c
commit d7f6dc7c06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -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