forked from nalc/spears
1.0 rebalance
This commit is contained in:
parent
2c0ebde983
commit
5a214d3b44
|
@ -57,7 +57,7 @@ function spears_set_entity(kind, eq, toughness)
|
||||||
if obj:get_luaentity() ~= nil then
|
if obj:get_luaentity() ~= nil then
|
||||||
if obj:get_luaentity().name ~= "spears:spear_" .. kind .. "_entity" and obj:get_luaentity().name ~= "__builtin:item" then
|
if obj:get_luaentity().name ~= "spears:spear_" .. kind .. "_entity" and obj:get_luaentity().name ~= "__builtin:item" then
|
||||||
local speed = vector.length(self.object:getvelocity())
|
local speed = vector.length(self.object:getvelocity())
|
||||||
local damage = (speed + eq)^1.12-10
|
local damage = (speed + eq)^1.12-20
|
||||||
obj:punch(self.object, 1.0, {
|
obj:punch(self.object, 1.0, {
|
||||||
full_punch_interval=1.0,
|
full_punch_interval=1.0,
|
||||||
damage_groups={fleshy=damage},
|
damage_groups={fleshy=damage},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user