diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-18 14:06:28 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-18 14:06:28 -0300 |
commit | 048e7cda65cfb7ef0b07cdd33f1ba2a735a51267 (patch) | |
tree | 71c958a652f8147ec0e38c3c21435fe98ec431ae | |
parent | d561ba5e79694309dd5fb90f4f463bfaf28ac7c3 (diff) | |
download | serverdata-048e7cda65cfb7ef0b07cdd33f1ba2a735a51267.tar.gz serverdata-048e7cda65cfb7ef0b07cdd33f1ba2a735a51267.tar.bz2 serverdata-048e7cda65cfb7ef0b07cdd33f1ba2a735a51267.tar.xz serverdata-048e7cda65cfb7ef0b07cdd33f1ba2a735a51267.zip |
Fix smoke grenade and tweak it
-rw-r--r-- | db/re/item_db.conf | 2 | ||||
-rw-r--r-- | npc/items/grenade.txt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 78780c98a..8bee054b8 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -1573,7 +1573,7 @@ item_db: ( Delay: 500 UseEffect: "FX_SMOKEBOMB" Script: <" - callfunc "smoke_grenade", 3, 500+BaseLevel; + callfunc "smoke_grenade", 3, 500+BaseLevel*3; //itemskill AS_CLOAKING,1,1; //itemskill SM_MAGNUM,1; // Fallback: ~~TF_HIDING AS_CLOAKING SC_INVISIBILITY RA_CAMOUFLAGE~~ None work? 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; } |