diff options
author | Haru <haru@dotalux.com> | 2014-10-26 02:06:46 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-11-02 01:36:50 +0100 |
commit | bf4b0a281207e46a9b21a9c9f779aeafaa739b62 (patch) | |
tree | 0230ee95510255548ebb7f4080460b466c9e2ca6 /npc/merchants/advanced_refiner.txt | |
parent | 6b20c5b6988c889df35b890d93c338f8b87fa430 (diff) | |
download | hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.gz hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.bz2 hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.xz hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.zip |
Replaced 'set' with direct assignment where applicable (common folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/merchants/advanced_refiner.txt')
-rw-r--r-- | npc/merchants/advanced_refiner.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/merchants/advanced_refiner.txt b/npc/merchants/advanced_refiner.txt index 853e82f5e..6d19d68e4 100644 --- a/npc/merchants/advanced_refiner.txt +++ b/npc/merchants/advanced_refiner.txt @@ -35,20 +35,20 @@ payon,157,146,6 script Suhnbi#cash 4_M_03,{ next; setarray .@position$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3"; - set .@menu$,""; - for(set .@i,1; .@i<=10; set .@i,.@i+1) { + .@menu$ = ""; + for(.@i = 1; .@i<=10; ++.@i) { if (getequipisequiped(.@i)) { - set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; - set .@equipped,1; + .@menu$ += .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; + .@equipped = 1; } - set .@menu$, .@menu$ + ":"; + .@menu$ += ":"; } if (.@equipped == 0) { mes "[Suhnbi]"; mes "I don't think I can refine any items you have..."; close; } - set .@part, select(.@menu$); + .@part = select(.@menu$); if (!getequipisequiped(.@part)) //custom check close; |