summaryrefslogtreecommitdiff
path: root/npc/re/other
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/other
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/other')
-rw-r--r--npc/re/other/resetskill.txt4
-rw-r--r--npc/re/other/stone_change.txt8
2 files changed, 6 insertions, 6 deletions
diff --git a/npc/re/other/resetskill.txt b/npc/re/other/resetskill.txt
index f3415e6c9..a237fcf24 100644
--- a/npc/re/other/resetskill.txt
+++ b/npc/re/other/resetskill.txt
@@ -61,10 +61,10 @@ izlude,127,175,3 script Hypnotist#novice 4_F_TELEPORTER,{
mes "work, or will backfire...";
close;
case 2:
- set .@str$,"Stat";
+ .@str$ = "Stat";
case 3:
if (.@str$ == "")
- set .@str$,"Skill";
+ .@str$ = "Skill";
mes "[Hypnotist]";
mes "Are you sure that you";
mes "want to proceed with";
diff --git a/npc/re/other/stone_change.txt b/npc/re/other/stone_change.txt
index cfb2aa5eb..f99ae28c5 100644
--- a/npc/re/other/stone_change.txt
+++ b/npc/re/other/stone_change.txt
@@ -25,14 +25,14 @@ geffen_in,99,174,5 script Ore Tester#sorty 8_F_GIRL,{
mes "[Ore Tester Sorty]";
mes "So, would you like me to organize your ores?";
next;
- set .@i, select("Steel, please.:Iron, please.:Iron Ore, please.:Rough Oridecon, please.:No, thanks.");
+ .@i = select("Steel, please.:Iron, please.:Iron Ore, please.:Rough Oridecon, please.:No, thanks.");
if (.@i == 5) {
mes "[Ore Tester Sorty]";
mes "Huh, I really hate messy people!";
close;
}
setarray .@ores[0],999,998,1002,756;
- set .@item, .@ores[.@i-1];
+ .@item = .@ores[.@i-1];
if (countitem(.@item) == 0) {
mes "[Ore Tester Sorty]";
mes "You don't have any "+getitemname(.@item)+"...";
@@ -40,8 +40,8 @@ geffen_in,99,174,5 script Ore Tester#sorty 8_F_GIRL,{
}
while(1) {
if (countitem(.@item)) {
- set .@count, countitem(.@item);
- set .@total, .@total + .@count;
+ .@count = countitem(.@item);
+ .@total += .@count;
delitem .@item, .@count;
} else {
getitem .@item, .@total;