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 | |
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.
-rw-r--r-- | db/re/item_db.conf | 2 | ||||
-rw-r--r-- | npc/items/grenade.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 465d18629..ab188773e 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -3151,7 +3151,7 @@ item_db: ( Script: <" //itemskill WZ_STORMGUST,3,0; //callfunc "grenade", 3, rand(500,700); - callfunc "grenade", 3, rand(100,150)+BaseLevel*6, true; + callfunc "grenade", 3, rand(100,150)+BaseLevel*6, false; "> }, { 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$)) { |