summaryrefslogtreecommitdiff
path: root/npc/re/merchants/quivers.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-26 04:26:34 +0100
committerHaru <haru@dotalux.com>2014-11-02 01:36:51 +0100
commit46fbbaabefa29df1378ae68b7f063dbc64846042 (patch)
tree8a29abc6017e4dfbc9430e6484871ead9ab41c49 /npc/re/merchants/quivers.txt
parentd853cc9c0ccdafb8e23ddf6b3f18e7859af0a710 (diff)
downloadhercules-46fbbaabefa29df1378ae68b7f063dbc64846042.tar.gz
hercules-46fbbaabefa29df1378ae68b7f063dbc64846042.tar.bz2
hercules-46fbbaabefa29df1378ae68b7f063dbc64846042.tar.xz
hercules-46fbbaabefa29df1378ae68b7f063dbc64846042.zip
Replaced 'set' with direct assignment where applicable (re folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/re/merchants/quivers.txt')
-rw-r--r--npc/re/merchants/quivers.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/re/merchants/quivers.txt b/npc/re/merchants/quivers.txt
index 03730a04a..649da8529 100644
--- a/npc/re/merchants/quivers.txt
+++ b/npc/re/merchants/quivers.txt
@@ -73,10 +73,10 @@ S_BuyQuiver:
next;
switch(select("Trade all the arrows you have:Get only one quiver:Don't trade")) {
case 1:
- set .@arrows, countitem(getarg(0));
- set .@quiver, .@arrows / getarg(1);
- set .@arrows_used, .@quiver * getarg(1);
- set .@arrow_zeny01, .@quiver * getarg(2);
+ .@arrows = countitem(getarg(0));
+ .@quiver = .@arrows / getarg(1);
+ .@arrows_used = .@quiver * getarg(1);
+ .@arrow_zeny01 = .@quiver * getarg(2);
mes "The number of arrows you have : ^3131FF"+.@arrows+"^000000";
mes "The number of quivers available : ^3131FF"+.@quiver+"^000000";
mes "Zeny needed for trade : ^3131FF"+.@arrow_zeny01+" zeny^000000";
@@ -90,10 +90,10 @@ S_BuyQuiver:
}
break;
case 2:
- set .@quiver, 1;
- set .@arrows_used, getarg(1);
- set .@arrow_zeny01, getarg(2);
- set .@zeny_mes,1;
+ .@quiver = 1;
+ .@arrows_used = getarg(1);
+ .@arrow_zeny01 = getarg(2);
+ .@zeny_mes = 1;
break;
case 3:
mes "[Quiver Maker]";