diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-06-21 20:06:31 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-06-21 20:06:31 -0300 |
commit | 3477a6a48a21e33498ca7bd48c64136caef5634c (patch) | |
tree | c7b9cfcc629964c81af5dcd2537d976f164dbfe8 /npc | |
parent | cf550665b4be1f6717a8e779ca300ecbe2b7a525 (diff) | |
download | serverdata-3477a6a48a21e33498ca7bd48c64136caef5634c.tar.gz serverdata-3477a6a48a21e33498ca7bd48c64136caef5634c.tar.bz2 serverdata-3477a6a48a21e33498ca7bd48c64136caef5634c.tar.xz serverdata-3477a6a48a21e33498ca7bd48c64136caef5634c.zip |
I'm not sure if this even makes sense. Grenade no longer kills.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/items/grenade.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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$)) { |