mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-19 08:40:29 +01:00
tweak the mobs mod
increase the damage of the « creeper »
This commit is contained in:
parent
1b127302f4
commit
dba0ef5fab
@ -1012,7 +1012,7 @@ function do_tnt_physics(tnt_np,tntr)
|
||||
obj:setvelocity({x=(p.x - tnt_np.x) + (tntr / 4) + v.x, y=(p.y - tnt_np.y) + (tntr / 2) + v.y, z=(p.z - tnt_np.z) + (tntr / 4) + v.z})
|
||||
else
|
||||
if obj:get_player_name() ~= nil then
|
||||
obj:set_hp(obj:get_hp() - 8) -- lost of 8 life level
|
||||
obj:set_hp(obj:get_hp() - 16) -- loose 16 life points when detonate
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user