1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-19 16:50:31 +01:00

tweak the mobs mod

increase the damage of the « creeper »
This commit is contained in:
Ombridride 2015-03-21 16:44:36 +01:00
parent 1b127302f4
commit dba0ef5fab

View File

@ -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}) 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 else
if obj:get_player_name() ~= nil then 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 end
end end