summaryrefslogtreecommitdiff
path: root/npc/re/mobs/dungeons
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/mobs/dungeons
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/mobs/dungeons')
-rw-r--r--npc/re/mobs/dungeons/lhz_dun.txt60
1 files changed, 30 insertions, 30 deletions
diff --git a/npc/re/mobs/dungeons/lhz_dun.txt b/npc/re/mobs/dungeons/lhz_dun.txt
index 8da7874bf..16296e20e 100644
--- a/npc/re/mobs/dungeons/lhz_dun.txt
+++ b/npc/re/mobs/dungeons/lhz_dun.txt
@@ -73,26 +73,26 @@ OnTimer6000000: // delay1 = 6000000 ms (100 min)
OnInit:
// Select Coordinates to summon a random MVP on
switch(rand(1,6)) {
- case 1: set .@x,140; set .@y,232; break;
- case 2: set .@x,75; set .@y,138; break;
- case 3: set .@x,140; set .@y,87; break;
- case 4: set .@x,205; set .@y,140; break;
- case 5: set .@x,123; set .@y,137; break;
- case 6: set .@x,175; set .@y,137; break;
+ case 1: .@x = 140; .@y = 232; break;
+ case 2: .@x = 75; .@y = 138; break;
+ case 3: .@x = 140; .@y = 87; break;
+ case 4: .@x = 205; .@y = 140; break;
+ case 5: .@x = 123; .@y = 137; break;
+ case 6: .@x = 175; .@y = 137; break;
}
- set .@mob,rand(1646,1651);
+ .@mob = rand(1646,1651);
monster "lhz_dun03",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,strnpcinfo(3)+"::OnMyMVPDead";
// Select Coordinates to summon a random 99 on
switch(rand(1,6)) {
- case 1: set .@x2,183; set .@y2,97; break;
- case 2: set .@x2,97; set .@y2,96; break;
- case 3: set .@x2,47; set .@y2,139; break;
- case 4: set .@x2,231; set .@y2,140; break;
- case 5: set .@x2,139; set .@y2,211; break;
- case 6: set .@x2,139; set .@y2,259; break;
+ case 1: .@x2 = 183; .@y2 = 97; break;
+ case 2: .@x2 = 97; .@y2 = 96; break;
+ case 3: .@x2 = 47; .@y2 = 139; break;
+ case 4: .@x2 = 231; .@y2 = 140; break;
+ case 5: .@x2 = 139; .@y2 = 211; break;
+ case 6: .@x2 = 139; .@y2 = 259; break;
}
- set .@mob2,rand(1640,1645);
+ .@mob2 = rand(1640,1645);
monster "lhz_dun03",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,strnpcinfo(3)+"::OnMy99Dead";
end;
@@ -128,28 +128,28 @@ OnTimer6000000: // delay1 = 6000000 ms (100 min)
OnInit:
// Select Coordinates to summon a random MVP on
switch(rand(1,7)) {
- case 1: set .@x,77; set .@y,251; break;
- case 2: set .@x,147; set .@y,224; break;
- case 3: set .@x,219; set .@y,219; break;
- case 4: set .@x,244; set .@y,120; break;
- case 5: set .@x,149; set .@y,41; break;
- case 6: set .@x,53; set .@y,109; break;
- case 7: set .@x,149; set .@y,151; break;
+ case 1: .@x = 77; .@y = 251; break;
+ case 2: .@x = 147; .@y = 224; break;
+ case 3: .@x = 219; .@y = 219; break;
+ case 4: .@x = 244; .@y = 120; break;
+ case 5: .@x = 149; .@y = 41; break;
+ case 6: .@x = 53; .@y = 109; break;
+ case 7: .@x = 149; .@y = 151; break;
}
- set .@mob,rand(2235,2241);
+ .@mob = rand(2235,2241);
monster "lhz_dun04",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,strnpcinfo(3)+"::OnMyMVPDead";
// Select Coordinates to summon a random 99 on
switch(rand(1,7)) {
- case 1: set .@x2,77; set .@y2,251; break;
- case 2: set .@x2,147; set .@y2,224; break;
- case 3: set .@x2,219; set .@y2,219; break;
- case 4: set .@x2,244; set .@y2,120; break;
- case 5: set .@x2,149; set .@y2,41; break;
- case 6: set .@x2,53; set .@y2,109; break;
- case 7: set .@x2,149; set .@y2,151; break;
+ case 1: .@x2 = 77; .@y2 = 251; break;
+ case 2: .@x2 = 147; .@y2 = 224; break;
+ case 3: .@x2 = 219; .@y2 = 219; break;
+ case 4: .@x2 = 244; .@y2 = 120; break;
+ case 5: .@x2 = 149; .@y2 = 41; break;
+ case 6: .@x2 = 53; .@y2 = 109; break;
+ case 7: .@x2 = 149; .@y2 = 151; break;
}
- set .@mob2,rand(2228,2234);
+ .@mob2 = rand(2228,2234);
monster "lhz_dun04",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,strnpcinfo(3)+"::OnMy99Dead";
end;