From 3477a6a48a21e33498ca7bd48c64136caef5634c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 21 Jun 2023 20:06:31 -0300 Subject: I'm not sure if this even makes sense. Grenade no longer kills. --- npc/items/grenade.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc') diff --git a/npc/items/grenade.txt b/npc/items/grenade.txt index d4d78a9e4..12a314b4b 100644 --- a/npc/items/grenade.txt +++ b/npc/items/grenade.txt @@ -15,7 +15,7 @@ function script grenade { .@c=getunits(BL_MOB, .@mbs, false, .@m$, .@x-.@r, .@y-.@r, .@x+.@r, .@y+.@r); for (.@i = 0; .@i < .@c; .@i++) { .@hp=getunitdata(.@mbs[.@i], UDT_HP); - .@dm=max(1, .@hp*(10000-.@d)/10000); + .@dm=max(1, .@hp*(10000-.@d)/10000); // Does it even make sense? if (getarg(2, false)) .@dm=max(1, .@hp-.@d); if (callfunc(.@f$)) { -- cgit v1.2.3-70-g09d2