summaryrefslogtreecommitdiff
path: root/npc/custom/events
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-05-27 16:04:52 -0400
committergumi <mekolat@users.noreply.github.com>2017-06-03 12:57:26 -0400
commit610ae47b9d0250ef9df5abd86c29f0f72c584910 (patch)
treeb23f335833732c22566c78f5211fbf34681fd59a /npc/custom/events
parent96e0a6ad736f4c31f7a722c20005e8ca3e991130 (diff)
downloadhercules-610ae47b9d0250ef9df5abd86c29f0f72c584910.tar.gz
hercules-610ae47b9d0250ef9df5abd86c29f0f72c584910.tar.bz2
hercules-610ae47b9d0250ef9df5abd86c29f0f72c584910.tar.xz
hercules-610ae47b9d0250ef9df5abd86c29f0f72c584910.zip
remove specialeffect2 from npcs
Diffstat (limited to 'npc/custom/events')
-rw-r--r--npc/custom/events/cluckers.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/custom/events/cluckers.txt b/npc/custom/events/cluckers.txt
index fbdbbed3f..a249c8a40 100644
--- a/npc/custom/events/cluckers.txt
+++ b/npc/custom/events/cluckers.txt
@@ -21,7 +21,7 @@ prontera,156,219,4 script Cluckers 4_NFCOCK,{
set .@GMAccess,80; // GM level required to access NPC
if (.startcluck) {
- specialeffect2 2;
+ specialeffect(2, AREA, playerattached());
switch(rand(15)) {
case 0: npctalk "CLUUUUUUCK!!!"; unitskilluseid getcharid(CHAR_ID_ACCOUNT),"NPC_SELFDESTRUCTION",1; emotion 23; break;
case 1: npctalk "Cluuuuuck!~"; break;
@@ -40,7 +40,7 @@ prontera,156,219,4 script Cluckers 4_NFCOCK,{
default:
if (rand(50) < 4) {
npctalk "WOOF!...........";
- specialeffect2 72;
+ specialeffect(72, AREA, playerattached());
announce "[Cluck! Cluck! Boom!] " + strcharinfo(PC_NAME) + " squeezed out the prize! Well done!",0;
getitem $cluck_item_id,$cluck_item_amount;
set .startcluck,0;