diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2012-05-23 13:18:52 +0200 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2012-05-23 13:18:52 +0200 |
commit | 41e84b961446b5f3c64bcac387139a817d5c959b (patch) | |
tree | b10889d3617095968dbd4005757f1cea824cf4f7 /world/map/npc/001-1/entertainer.txt | |
parent | 92ed81e0abeb739f58865e8bd48a968ed22de8b3 (diff) | |
download | serverdata-41e84b961446b5f3c64bcac387139a817d5c959b.tar.gz serverdata-41e84b961446b5f3c64bcac387139a817d5c959b.tar.bz2 serverdata-41e84b961446b5f3c64bcac387139a817d5c959b.tar.xz serverdata-41e84b961446b5f3c64bcac387139a817d5c959b.zip |
Use newly defined constants for SKILL_EMOTE, SKILL_TRADE and SKILL_PARTY instead of local variables.
Diffstat (limited to 'world/map/npc/001-1/entertainer.txt')
-rw-r--r-- | world/map/npc/001-1/entertainer.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/world/map/npc/001-1/entertainer.txt b/world/map/npc/001-1/entertainer.txt index 96e0527c..b7bbc9a7 100644 --- a/world/map/npc/001-1/entertainer.txt +++ b/world/map/npc/001-1/entertainer.txt @@ -1,8 +1,7 @@ // Emote NPC allows for players to learn the emote skill 001-1.gat,30,45,0|script|Entertainer|165,{ - set @EMOTE_SKILL, 1; - if (getskilllv(@EMOTE_SKILL) > 0) goto L_Has; + if (getskilllv(SKILL_EMOTE) > 0) goto L_Has; mes "[Entertainer]"; mes "\"Yes how can I help you?\""; @@ -21,7 +20,7 @@ L_Learn: goto L_Close; L_Learn2: - setskill @EMOTE_SKILL, 1; + setskill SKILL_EMOTE, 1; mes "[Entertainer]"; mes "\"All you have to do is press alt and a number."; mes "The number determines what emotion will be shown."; @@ -34,7 +33,6 @@ L_Has: goto L_Close; L_Close: - set @EMOTE_SKILL, 0; close; OnTimer3000: |