Browse Source

1.0 rebalance

tags/nalc-1.0
Echoes91 4 years ago
parent
commit
5a214d3b44
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      functions.lua

+ 1
- 1
functions.lua View File

@@ -57,7 +57,7 @@ function spears_set_entity(kind, eq, toughness)
if obj:get_luaentity() ~= nil 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 damage = (speed + eq)^1.12-10
local damage = (speed + eq)^1.12-20
obj:punch(self.object, 1.0, {
full_punch_interval=1.0,
damage_groups={fleshy=damage},


Loading…
Cancel
Save