Update to new damage system

master
PilzAdam 2013-05-20 01:28:59 +02:00
parent d377a8d959
commit d64cac49d4
1 changed files with 2 additions and 5 deletions

View File

@ -55,11 +55,8 @@ boom = function(pos, time)
local damage = (80*0.5^dist)*2
obj:punch(obj, 1.0, {
full_punch_interval=1.0,
groupcaps={
fleshy={times={[1]=1/damage, [2]=1/damage, [3]=1/damage}},
snappy={times={[1]=1/damage, [2]=1/damage, [3]=1/damage}},
}
}, nil)
damage_grups={fleshy=damage},
}, vec)
end
end