Increase damage from crossbows and shotguns
This commit is contained in:
parent
bc1ba727eb
commit
45ef43d964
2 changed files with 3 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
SHOOTER_CROSSBOW_USES = 50
|
SHOOTER_CROSSBOW_USES = 50
|
||||||
SHOOTER_ARROW_TOOL_CAPS = {damage_groups={fleshy=2}}
|
SHOOTER_ARROW_TOOL_CAPS = {damage_groups={fleshy=7}}
|
||||||
SHOOTER_ARROW_LIFETIME = 180 -- 3 minutes
|
SHOOTER_ARROW_LIFETIME = 180 -- 3 minutes
|
||||||
|
|
||||||
minetest.register_alias("shooter:arrow", "shooter:arrow_white")
|
minetest.register_alias("shooter:arrow", "shooter:arrow_white")
|
||||||
|
@ -290,4 +290,3 @@ if SHOOTER_ENABLE_CRAFTING == true then
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ shooter:register_weapon("shooter:shotgun", {
|
||||||
spec = {
|
spec = {
|
||||||
range = 50,
|
range = 50,
|
||||||
step = 15,
|
step = 15,
|
||||||
tool_caps = {full_punch_interval=1.5, damage_groups={fleshy=4}},
|
tool_caps = {full_punch_interval=1.5, damage_groups={fleshy=6}},
|
||||||
groups = {cracky=3, snappy=2, crumbly=2, choppy=2, fleshy=1, oddly_breakable_by_hand=1},
|
groups = {cracky=3, snappy=2, crumbly=2, choppy=2, fleshy=1, oddly_breakable_by_hand=1},
|
||||||
sound = "shooter_shotgun",
|
sound = "shooter_shotgun",
|
||||||
particle = "smoke_puff.png",
|
particle = "smoke_puff.png",
|
||||||
|
@ -124,4 +124,3 @@ minetest.register_globalstep(function(dtime)
|
||||||
shooter.time = 0
|
shooter.time = 0
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue