diff options
author | gumi <mekolat@users.noreply.github.com> | 2017-05-27 17:42:42 -0400 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2017-06-03 12:57:36 -0400 |
commit | 2d241c23d89be5810d2bf51c28ad76084bf95182 (patch) | |
tree | dd44df7a27f28d7a08f65372d1527323ca29e02d /npc/custom/events | |
parent | b0b071305f967ae836722e7518455ee06089de01 (diff) | |
download | hercules-2d241c23d89be5810d2bf51c28ad76084bf95182.tar.gz hercules-2d241c23d89be5810d2bf51c28ad76084bf95182.tar.bz2 hercules-2d241c23d89be5810d2bf51c28ad76084bf95182.tar.xz hercules-2d241c23d89be5810d2bf51c28ad76084bf95182.zip |
add missing constants to specialeffect calls
Diffstat (limited to 'npc/custom/events')
-rw-r--r-- | npc/custom/events/cluckers.txt | 4 | ||||
-rw-r--r-- | npc/custom/events/disguise.txt | 2 | ||||
-rw-r--r-- | npc/custom/events/valentinesdayexp.txt | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/npc/custom/events/cluckers.txt b/npc/custom/events/cluckers.txt index a249c8a40..7047ca00e 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) { - specialeffect(2, AREA, playerattached()); + specialeffect(EF_HIT3, 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!..........."; - specialeffect(72, AREA, playerattached()); + specialeffect(EF_SPHERE, 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; diff --git a/npc/custom/events/disguise.txt b/npc/custom/events/disguise.txt index cd44d1767..b9071d162 100644 --- a/npc/custom/events/disguise.txt +++ b/npc/custom/events/disguise.txt @@ -178,7 +178,7 @@ OnTimer30000: set .Change,0; setnpcdisplay "Disguise Event", 4_M_NFDEADMAN; npctalk "You took too long to guess what I was. Please wait 10 seconds while I disguise again."; - specialeffect 725; + specialeffect EF_DETECT2; set $MonsterName$,""; deletepset 1; stopnpctimer; diff --git a/npc/custom/events/valentinesdayexp.txt b/npc/custom/events/valentinesdayexp.txt index 85fa28d20..33339dcd9 100644 --- a/npc/custom/events/valentinesdayexp.txt +++ b/npc/custom/events/valentinesdayexp.txt @@ -25,7 +25,7 @@ prontera,156,172,4 script Tine 1_M_MERCHANT,{ mes "The legend says that on 14th February... on the Day of Saint Valentine..."; mes "Only in Run-Midgard kingdom..."; next; - specialeffect 417; + specialeffect EF_HITBODY; mes "[Tine]"; mes "Some married chocolate lovers almost double their experience at trainings!"; mes "But everything isn't so simply..."; |