diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-06-22 22:09:11 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-06-22 22:09:11 +0000 |
commit | d24c00ac556a924dd79f674db88a8cb812d74640 (patch) | |
tree | b66266fbe98064a2a41b83e6d0dd82337d13640d /npc/cities | |
parent | 179da2f41411d5af47c0319ddda5b484eb07ff51 (diff) | |
download | hercules-d24c00ac556a924dd79f674db88a8cb812d74640.tar.gz hercules-d24c00ac556a924dd79f674db88a8cb812d74640.tar.bz2 hercules-d24c00ac556a924dd79f674db88a8cb812d74640.tar.xz hercules-d24c00ac556a924dd79f674db88a8cb812d74640.zip |
* Added support for NPC names in the 'specialeffect' script command, go go copy/paste!
* Updated several NPCs to use the updated specialeffect command, updated more NPCs to use the updated emotion command.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14353 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/cities')
-rw-r--r-- | npc/cities/jawaii.txt | 22 | ||||
-rw-r--r-- | npc/cities/morocc.txt | 6 |
2 files changed, 8 insertions, 20 deletions
diff --git a/npc/cities/jawaii.txt b/npc/cities/jawaii.txt index 5ad12b4ab..a302a2572 100644 --- a/npc/cities/jawaii.txt +++ b/npc/cities/jawaii.txt @@ -988,7 +988,7 @@ jawaii_in,28,124,0 script Bartender#jaw 46,{ next; mes "^3355FFYou gulp the delicious"; mes "Margarita down in one sip.^000000"; - specialeffect2 17; //EF_MAGNUMBREAK + specialeffect2 EF_MAGNUMBREAK; percentheal -20,0; next; } @@ -1010,7 +1010,7 @@ jawaii_in,28,124,0 script Bartender#jaw 46,{ mes "I'm a cowboy hero!"; mes "Bang Bang Bang!"; next; - specialeffect2 18; //EF_STEAL + specialeffect2 EF_STEAL; percentheal -10,0; next; break; @@ -1034,7 +1034,7 @@ jawaii_in,28,124,0 script Bartender#jaw 46,{ mes "["+strcharinfo(0)+"]"; mes "Aaaaaahhhhhh~!"; mes "This drink is really good!"; - specialeffect2 83; //EF_SANCTUARY + specialeffect2 EF_SANCTUARY; percentheal -10,0; next; break; @@ -1054,7 +1054,7 @@ jawaii_in,28,124,0 script Bartender#jaw 46,{ mes "gulped it down.^000000"; next; mes "^3355FFYou feel pretty hammered.^000000"; - specialeffect2 106; //EF_BLASTMINEBOMB + specialeffect2 EF_BLASTMINEBOMB; percentheal -10,0; next; break; @@ -1076,7 +1076,7 @@ jawaii_in,28,124,0 script Bartender#jaw 46,{ mes "^3355FFYou took a sip of it and sighed.^000000"; next; mes "^3355FFAnd promised yourself that you would never drink it ever again.^000000"; - specialeffect2 5; //EF_HIT6 + specialeffect2 EF_HIT6; percentheal -10,0; next; break; @@ -1266,7 +1266,7 @@ prt_in,173,13,4 script Customer#SoloHan 86,{ next; mes "[Bachewcca]"; mes "^666666*Grunt!*^000000"; - donpcevent "Customer#Bachewcca::OnEffect1"; + specialeffect EF_TALK_SCREAM,AREA,"Customer#Bachewcca"; next; mes "[SoloHan]"; mes "To..."; @@ -1372,7 +1372,7 @@ prt_in,173,13,4 script Customer#SoloHan 86,{ next; mes "[Bachewcca]"; mes "^666666*Grrr...!*^000000"; - donpcevent "Customer#Bachewcca::OnEffect2"; + specialeffect EF_THROWITEM,AREA,"Customer#Bachewcca"; close; } mes "Oh man..."; @@ -1392,14 +1392,6 @@ prt_in,170,14,0 script Customer#Bachewcca 89,{ mes "Grrrrr!! That hit the spot!"; emotion e_sob; close; - -OnEffect1: - specialeffect 296; //EF_TALK_SCREAM - end; - -OnEffect2: - specialeffect 291; //EF_THROWITEM - end; } // Izlude diff --git a/npc/cities/morocc.txt b/npc/cities/morocc.txt index ea6d5a240..75b1c0c04 100644 --- a/npc/cities/morocc.txt +++ b/npc/cities/morocc.txt @@ -127,7 +127,7 @@ morocc,223,102,0 script Volunteer - Morroc#06::MocVolunteer 741,{ next; mes "[Ringing Voice]"; mes "Be quiet! Can't you see what's going on?!"; - donpcevent "Volunteer - Morroc#06::OnHit"; + specialeffect EF_HIT2,AREA,"Volunteer - Morroc#06"; next; mes "[Morroc Volunteer]"; mes "Heyyy, you're being too harsh, Senyorita. Your fist may be as fragile as you are, but it sure can hurt somebody."; @@ -138,10 +138,6 @@ morocc,223,102,0 script Volunteer - Morroc#06::MocVolunteer 741,{ mes "[Morroc Volunteer]"; mes "No, No way!? It,, sure is not!"; close; - -OnHit: - specialeffect EF_HIT2; - end; } morocc,226,102,4 duplicate(MocVolunteer) Volunteer - Morroc#07 726 |