From dba0ef5fab429af9415280753e10ca4380f22c52 Mon Sep 17 00:00:00 2001 From: Ombridride Date: Sat, 21 Mar 2015 16:44:36 +0100 Subject: [PATCH] tweak the mobs mod MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit increase the damage of the « creeper » --- mods/mobs/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/mobs/api.lua b/mods/mobs/api.lua index a0deeb77..c83a26ae 100755 --- a/mods/mobs/api.lua +++ b/mods/mobs/api.lua @@ -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