summaryrefslogtreecommitdiff
path: root/world/map/npc/021-2
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2012-05-23 13:18:52 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2012-05-23 13:18:52 +0200
commit41e84b961446b5f3c64bcac387139a817d5c959b (patch)
treeb10889d3617095968dbd4005757f1cea824cf4f7 /world/map/npc/021-2
parent92ed81e0abeb739f58865e8bd48a968ed22de8b3 (diff)
downloadserverdata-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/021-2')
-rw-r--r--world/map/npc/021-2/government_building.txt12
1 files changed, 5 insertions, 7 deletions
diff --git a/world/map/npc/021-2/government_building.txt b/world/map/npc/021-2/government_building.txt
index dc2749b2..944efd09 100644
--- a/world/map/npc/021-2/government_building.txt
+++ b/world/map/npc/021-2/government_building.txt
@@ -144,18 +144,16 @@ S_give_rings:
goto L_TrickOrTreat;
L_Begin:
- set @PARTY_SKILL, 3;
-
mes "[Tathin]";
mes "\"Hello what Can I do for you?\"";
next;
- if (getskilllv(@PARTY_SKILL) == 2 )
+ if (getskilllv(SKILL_PARTY) == 2 )
goto L_Base_Menu;
if (BaseLevel >= 15
- && getskilllv(@PARTY_SKILL) == 1)
+ && getskilllv(SKILL_PARTY) == 1)
goto L_Can_Make_Party;
- if (getskilllv(@PARTY_SKILL) == 1)
+ if (getskilllv(SKILL_PARTY) == 1)
goto L_Base_Menu;
if (BaseLevel >= 10)
goto L_Can_Party;
@@ -190,7 +188,7 @@ L_Give_Party:
if (Zeny < 10)
goto L_NotEnoughMoney;
set Zeny, Zeny - 10;
- setskill @PARTY_SKILL, 1;
+ setskill SKILL_PARTY, 1;
mes "[Tathin]";
mes "\"Here's your permit. You'll need to be invited by an existing member of a party to join it.\"";
next;
@@ -211,7 +209,7 @@ L_Give_Make_Party:
if (Zeny < 50)
goto L_NotEnoughMoney;
set Zeny, Zeny - 50;
- setskill @PARTY_SKILL, 2;
+ setskill SKILL_PARTY, 2;
mes "[Tathin]";
mes "\"Here's your permit. You can create parties with the 'new' or 'create' commands on the Party tab in the client. Parties need to have unique names.\"";
close;