diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2011-11-15 21:06:07 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-11-16 19:44:03 +0100 |
commit | 206c3720a29b0db6c73ea534bd3f34bacaef17de (patch) | |
tree | 2d0e6a65117ad6ea1185dda7112a6f8679c781a1 /world/map/npc/021-2/heathin.txt | |
parent | 0f44cd07642a74953e5b03a10a1593c5d839c7a2 (diff) | |
download | serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.tar.gz serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.tar.bz2 serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.tar.xz serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.zip |
Made Constants case-sensitive
Diffstat (limited to 'world/map/npc/021-2/heathin.txt')
-rw-r--r-- | world/map/npc/021-2/heathin.txt | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/world/map/npc/021-2/heathin.txt b/world/map/npc/021-2/heathin.txt index e83ab281..acfff47f 100644 --- a/world/map/npc/021-2/heathin.txt +++ b/world/map/npc/021-2/heathin.txt @@ -6,22 +6,22 @@ set @TARROW_REQ_COAL, 5; set @TARROW_REQ_GP, 3000; - if (HEATHIN_QUEST == 14) && (baselevel >= 80) goto L_Heathin_Terranite_Arrows_Trade; - if (HEATHIN_QUEST == 13) && (baselevel >= 80) goto L_Heathin_Terranite_Arrows_Ready; - if (HEATHIN_QUEST == 12) && (baselevel >= 80) goto L_Heathin_Terranite_Arrows_Forge; - if (HEATHIN_QUEST == 11) && (baselevel >= 80) goto L_Heathin_Terranite_Arrows; - if (HEATHIN_QUEST == 10) && (baselevel >= 80) goto L_Heathin_Terranite_Chest_Armor_Ready; - if (HEATHIN_QUEST == 9) && (baselevel >= 80) goto L_Heathin_Terranite_Chest_Armor_Forge; - if (HEATHIN_QUEST == 8) && (baselevel >= 80) goto L_Heathin_Terranite_Chest_Armor; - if (HEATHIN_QUEST == 7) && (baselevel >= 80) goto L_Heathin_Terranite_Legs_Ready; - if (HEATHIN_QUEST == 6) && (baselevel >= 80) goto L_Heathin_Terranite_Legs_Forge; - if (HEATHIN_QUEST == 5) && (baselevel >= 80) goto L_Heathin_Terranite_Legs; - if (HEATHIN_QUEST == 4) && (baselevel >= 80) goto L_Heathin_Terranite_Hood_Ready; - if (HEATHIN_QUEST == 3) && (baselevel >= 80) goto L_Heathin_Terranite_Hood_Forge; - if (HEATHIN_QUEST == 2) && (baselevel >= 80) goto L_Heathin_Terranite_Hood; - if (HEATHIN_QUEST == 2) && (baselevel >= 60)goto L_Heathin_Ring_Thanks; - if (HEATHIN_QUEST == 1) && (baselevel >= 60) goto L_Heathin_Ring_Award; - if (baselevel >= 60) goto L_Heathin_Start; + if (HEATHIN_QUEST == 14) && (BaseLevel >= 80) goto L_Heathin_Terranite_Arrows_Trade; + if (HEATHIN_QUEST == 13) && (BaseLevel >= 80) goto L_Heathin_Terranite_Arrows_Ready; + if (HEATHIN_QUEST == 12) && (BaseLevel >= 80) goto L_Heathin_Terranite_Arrows_Forge; + if (HEATHIN_QUEST == 11) && (BaseLevel >= 80) goto L_Heathin_Terranite_Arrows; + if (HEATHIN_QUEST == 10) && (BaseLevel >= 80) goto L_Heathin_Terranite_Chest_Armor_Ready; + if (HEATHIN_QUEST == 9) && (BaseLevel >= 80) goto L_Heathin_Terranite_Chest_Armor_Forge; + if (HEATHIN_QUEST == 8) && (BaseLevel >= 80) goto L_Heathin_Terranite_Chest_Armor; + if (HEATHIN_QUEST == 7) && (BaseLevel >= 80) goto L_Heathin_Terranite_Legs_Ready; + if (HEATHIN_QUEST == 6) && (BaseLevel >= 80) goto L_Heathin_Terranite_Legs_Forge; + if (HEATHIN_QUEST == 5) && (BaseLevel >= 80) goto L_Heathin_Terranite_Legs; + if (HEATHIN_QUEST == 4) && (BaseLevel >= 80) goto L_Heathin_Terranite_Hood_Ready; + if (HEATHIN_QUEST == 3) && (BaseLevel >= 80) goto L_Heathin_Terranite_Hood_Forge; + if (HEATHIN_QUEST == 2) && (BaseLevel >= 80) goto L_Heathin_Terranite_Hood; + if (HEATHIN_QUEST == 2) && (BaseLevel >= 60)goto L_Heathin_Ring_Thanks; + if (HEATHIN_QUEST == 1) && (BaseLevel >= 60) goto L_Heathin_Ring_Award; + if (BaseLevel >= 60) goto L_Heathin_Start; mes "[Heathin]"; mes "\"Hello, friend. I am Heathin, a smith of exotic metals. \""; @@ -68,11 +68,11 @@ L_Heathin_Interested: close; L_Heathin_Ring_Award: - if ( (zeny < 100000) + if ( (Zeny < 100000) | (countitem ("Coal") < 50) ) goto L_Heathin_Ring_Wait; set HEATHIN_QUEST, 2; - set zeny, zeny - 100000; + set Zeny, Zeny - 100000; delitem "Coal", 50; getitem "SimpleRing", 1; mes "[Heathin]"; @@ -131,14 +131,14 @@ L_Heathin_Terranite_Yes: close; L_Heathin_Terranite_Hood_Forge: - if ( (zeny < 200000) + if ( (Zeny < 200000) | (countitem("Coal") < 100) | (countitem("TerraniteOre") < 10) ) goto L_Heathin_Terranite_Hood_Wait; set HEATHIN_QUEST, 4; delitem "Coal", 100; delitem "TerraniteOre", 10; - set zeny, zeny - 200000; + set Zeny, Zeny - 200000; mes "[Heathin]"; mes "\"Great, you brought everything! Come back later and I'll have the helm ready for you.\""; close; @@ -164,14 +164,14 @@ L_Heathin_Terranite_Legs: close; L_Heathin_Terranite_Legs_Forge: - if ( (zeny < 400000) + if ( (Zeny < 400000) | (countitem("Coal") < 200) | (countitem("TerraniteOre") < 30) ) goto L_Heathin_Terranite_Legs_Wait; set HEATHIN_QUEST, 7; delitem "Coal", 200; delitem "TerraniteOre", 30; - set zeny, zeny - 400000; + set Zeny, Zeny - 400000; mes "[Heathin]"; mes "\"Great, you have brought everything! Come back later and I will have those terranite pants ready for you.\""; close; @@ -197,14 +197,14 @@ L_Heathin_Terranite_Chest_Armor: close; L_Heathin_Terranite_Chest_Armor_Forge: - if ( (zeny < 500000) + if ( (Zeny < 500000) | (countitem("Coal") < 250) | (countitem("TerraniteOre") < 40) ) goto L_Heathin_Terranite_Chest_Armor_Wait; set HEATHIN_QUEST, 10; delitem "Coal", 250; delitem "TerraniteOre", 40; - set zeny, zeny - 500000; + set Zeny, Zeny - 500000; mes "[Heathin]"; mes "\"Splendid, you have brought everything! Come back later and I will have the terranite chest armor ready for you.\""; close; @@ -245,14 +245,14 @@ L_Heathin_Terranite_Arrows_Yes: close; L_Heathin_Terranite_Arrows_Forge: - if ( (zeny < @TARROW_REQ_GP) + if ( (Zeny < @TARROW_REQ_GP) | (countitem("Coal") < @TARROW_REQ_COAL) | (countitem("TerraniteOre") < @TARROW_REQ_TERRA_ORE) ) goto L_Heathin_Terranite_Arrows_Wait; set HEATHIN_QUEST, 13; delitem "Coal", @TARROW_REQ_COAL; delitem "TerraniteOre", @TARROW_REQ_TERRA_ORE; - set zeny, zeny - @TARROW_REQ_GP; + set Zeny, Zeny - @TARROW_REQ_GP; mes "[Heathin]"; mes "\"Wonderful! You have everything I asked for. I will start working on the arrows right away.\""; close; @@ -283,13 +283,13 @@ L_Heathin_Terranite_Arrows_Trade_No: close; L_Heathin_Terranite_Arrows_Trade_Yes: - if ( (zeny < @TARROW_REQ_GP) + if ( (Zeny < @TARROW_REQ_GP) | (countitem("Coal") < @TARROW_REQ_COAL) | (countitem("TerraniteOre") < @TARROW_REQ_TERRA_ORE) ) goto L_Heathin_Terranite_Arrows_Trade_Wait; delitem "Coal", @TARROW_REQ_COAL; delitem "TerraniteOre", @TARROW_REQ_TERRA_ORE; - set zeny, zeny - @TARROW_REQ_GP; + set Zeny, Zeny - @TARROW_REQ_GP; set @lucky, 5 * rand(readparam(bLuk)); getitem "TerraniteArrow", 1000 + @lucky; mes "[Heathin]"; |