summaryrefslogtreecommitdiff
path: root/npc/re/cities/dewata.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/cities/dewata.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/cities/dewata.txt')
-rw-r--r--npc/re/cities/dewata.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/re/cities/dewata.txt b/npc/re/cities/dewata.txt
index 1205a4de1..022d3d715 100644
--- a/npc/re/cities/dewata.txt
+++ b/npc/re/cities/dewata.txt
@@ -278,12 +278,12 @@ dewata,146,109,5 script Restauranteur#dew 4_COOK,{
case 1:
mes "[Restauranteur]";
mes "This is Nasi Goreng fried with my special sauce plus egg fry on the top. It only costs ^0000FF5000^000000 Zeny.";
- set .@food,11532;
+ .@food = 11532;
break;
case 2:
mes "[Restauranteur]";
mes "This is the Satay, a slice of meat skewered and grilled over Palm fruit charcoal. It costs only ^0000FF5000^000000 Zeny.";
- set .@food,11533;
+ .@food = 11533;
break;
}
next;
@@ -474,9 +474,9 @@ dewata,89,191,6 script Small Shrine#dew1 CLEAR_NPC,{
mes "- Cancelled. -";
close;
} else if (.@input <= 50000)
- set .@good_luck, rand(1,10000);
+ .@good_luck = rand(1,10000);
else
- set .@good_luck, rand(1,5000);
+ .@good_luck = rand(1,5000);
if (.@input > Zeny) {
mes "- Not enough Zeny. -";
close;
@@ -498,10 +498,10 @@ dewata,89,191,6 script Small Shrine#dew1 CLEAR_NPC,{
1,1,2,2,2,2,4,4,8,8,8,16,16,16,16,16,32,32,32,32,32,32,64,64,64,128,128,128;
if (.@good_luck == 7 || .@good_luck == 77 || .@good_luck == 777 || .@good_luck == 7777)
- set .@bonus,1;
- for(set .@i,0; .@i<getarraysize(.@wishes$); set .@i,.@i+1) {
+ .@bonus = 1;
+ for(.@i = 0; .@i<getarraysize(.@wishes$); ++.@i) {
if (compare(.@wish$,.@wishes$[.@i])) {
- set .@stat, .@stat | .@index[.@i];
+ .@stat |= .@index[.@i];
break;
}
}