From eb5a3ece8568bae80d2d6912cd172f4cce029e68 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 26 Oct 2014 02:29:12 +0100 Subject: Replaced 'set' with direct assignment where applicable (pre-re folder) Signed-off-by: Haru --- npc/pre-re/mobs/dungeons/lhz_dun.txt | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'npc/pre-re/mobs') diff --git a/npc/pre-re/mobs/dungeons/lhz_dun.txt b/npc/pre-re/mobs/dungeons/lhz_dun.txt index eb544e724..5d054d111 100644 --- a/npc/pre-re/mobs/dungeons/lhz_dun.txt +++ b/npc/pre-re/mobs/dungeons/lhz_dun.txt @@ -271,26 +271,26 @@ OnTimer7800000: OnSummon: // 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,"summon_boss_lt::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,"summon_boss_lt::OnMVP"; end; -- cgit v1.2.3-70-g09d2