Update to new damage system
This commit is contained in:
parent
d377a8d959
commit
d64cac49d4
7
init.lua
7
init.lua
@ -55,11 +55,8 @@ boom = function(pos, time)
|
|||||||
local damage = (80*0.5^dist)*2
|
local damage = (80*0.5^dist)*2
|
||||||
obj:punch(obj, 1.0, {
|
obj:punch(obj, 1.0, {
|
||||||
full_punch_interval=1.0,
|
full_punch_interval=1.0,
|
||||||
groupcaps={
|
damage_grups={fleshy=damage},
|
||||||
fleshy={times={[1]=1/damage, [2]=1/damage, [3]=1/damage}},
|
}, vec)
|
||||||
snappy={times={[1]=1/damage, [2]=1/damage, [3]=1/damage}},
|
|
||||||
}
|
|
||||||
}, nil)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user