summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-18 14:06:28 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-18 14:06:28 -0300
commit048e7cda65cfb7ef0b07cdd33f1ba2a735a51267 (patch)
tree71c958a652f8147ec0e38c3c21435fe98ec431ae /npc/items
parentd561ba5e79694309dd5fb90f4f463bfaf28ac7c3 (diff)
downloadserverdata-048e7cda65cfb7ef0b07cdd33f1ba2a735a51267.tar.gz
serverdata-048e7cda65cfb7ef0b07cdd33f1ba2a735a51267.tar.bz2
serverdata-048e7cda65cfb7ef0b07cdd33f1ba2a735a51267.tar.xz
serverdata-048e7cda65cfb7ef0b07cdd33f1ba2a735a51267.zip
Fix smoke grenade and tweak it
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/grenade.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/items/grenade.txt b/npc/items/grenade.txt
index 13685f0a2..5768b66cd 100644
--- a/npc/items/grenade.txt
+++ b/npc/items/grenade.txt
@@ -34,8 +34,8 @@ function script smoke_grenade {
getmapxy(.@m$, .@x, .@y, 0);
.@c=getunits(BL_MOB, .@mbs, false, .@m$, .@x-.@r, .@y-.@r, .@x+.@r, .@y+.@r);
for (.@i = 0; .@i < .@c; .@i++) {
- sc_start SC_SLEEP, .@d, 1;
- specialeffect(FX_ATTACK, AREA, .@mbs[.@i]);
+ sc_start SC_SLEEP, .@d, 1, 10000, SCFLAG_NONE, .@mbs[.@i];
+ specialeffect(FX_BUFF, AREA, .@mbs[.@i]);
}
return;
}