summaryrefslogtreecommitdiff
path: root/npc/merchants/enchan_arm.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-10 04:28:03 +0100
committerHaru <haru@dotalux.com>2013-11-10 04:31:28 +0100
commitb4f1b3b5c5c009ed4f7635c5349ea97c80c08c25 (patch)
treecbd305d3896bdc9f498ed9eb72836dc7b6c32b99 /npc/merchants/enchan_arm.txt
parentc9b63614070f7fce81c88cd60e5edad5a7730df0 (diff)
downloadhercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.gz
hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.bz2
hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.xz
hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.zip
Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4
- Consolidated case in variables, labels, constants. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/merchants/enchan_arm.txt')
-rw-r--r--npc/merchants/enchan_arm.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/merchants/enchan_arm.txt b/npc/merchants/enchan_arm.txt
index a236722fe..2de5a6fe5 100644
--- a/npc/merchants/enchan_arm.txt
+++ b/npc/merchants/enchan_arm.txt
@@ -35,16 +35,16 @@ prontera,165,60,2 script Apprentice Craftsman 1_F_MERCHANT_01,{
next;
switch(select("Non Slotted Armor.:Slotted Armor.:High Grade Armor.:Maybe next time.")) {
case 1:
- setarray .@Items[0],2307,2309,2314,2316,2321,2325,2327,2328,2330,2332,2334,2335,2341,2344,2346,2348,2350,2337,2386,2394,2395,2396;
+ setarray .@items[0],2307,2309,2314,2316,2321,2325,2327,2328,2330,2332,2334,2335,2341,2344,2346,2348,2350,2337,2386,2394,2395,2396;
set .@j,50;
break;
case 2:
- setarray .@Items[0],2311,2318,2319,2320,2308,2310,2315,2317,2322,2324,2326,2331,2333,2336,2342,2345,2347,2349,2351;
+ setarray .@items[0],2311,2318,2319,2320,2308,2310,2315,2317,2322,2324,2326,2331,2333,2336,2342,2345,2347,2349,2351;
set .@j,55;
set .@k,1;
break;
case 3:
- setarray .@Items[0],2364,2365,2391,2374,2375,2376,2377,2378,2379,2380,2381,2382,2387,2388,2389,2390;
+ setarray .@items[0],2364,2365,2391,2374,2375,2376,2377,2378,2379,2380,2381,2382,2387,2388,2389,2390;
set .@j,60;
break;
case 4:
@@ -53,9 +53,9 @@ prontera,165,60,2 script Apprentice Craftsman 1_F_MERCHANT_01,{
close;
}
set .@menu$,"";
- for(set .@i,0; .@i<getarraysize(.@Items); set .@i,.@i+1)
- set .@menu$, .@menu$+getitemname(.@Items[.@i])+((.@k)?" [1]":"")+":";
- callsub S_EnchantArmor, .@Items[select(.@menu$)-1], .@j;
+ for(set .@i,0; .@i<getarraysize(.@items); set .@i,.@i+1)
+ set .@menu$, .@menu$+getitemname(.@items[.@i])+((.@k)?" [1]":"")+":";
+ callsub S_EnchantArmor, .@items[select(.@menu$)-1], .@j;
end;
}
mes "I am in charge of Enchanting Armors. Simply put, I've been studying ways to power-up armor.";