From 86977d79269408a371384e61111c3a9cf6e87b0c Mon Sep 17 00:00:00 2001 From: Asheraf Date: Sun, 28 Aug 2016 17:03:57 +0100 Subject: *strnpcinfo now uses constants - NPC_NAME for the whole npc name including hidden part - NPC_NAME_VISIBLE for the visible part of the npc name - NPC_NAME_HIDDEN for the hidden part of the npc name - NPC_NAME_UNIQUE for the npc unique name - NPC_MAP for npc map --- npc/re/mobs/dungeons/lhz_dun.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'npc/re/mobs/dungeons') diff --git a/npc/re/mobs/dungeons/lhz_dun.txt b/npc/re/mobs/dungeons/lhz_dun.txt index 7ec6e6c49..3243a6e04 100644 --- a/npc/re/mobs/dungeons/lhz_dun.txt +++ b/npc/re/mobs/dungeons/lhz_dun.txt @@ -94,7 +94,7 @@ OnInit: case 6: .@x = 175; .@y = 137; break; } .@mob = rand(1646,1651); - monster "lhz_dun03",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,strnpcinfo(3)+"::OnMyMVPDead"; + monster "lhz_dun03",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,strnpcinfo(NPC_NAME_UNIQUE)+"::OnMyMVPDead"; // Select Coordinates to summon a random 99 on switch(rand(1,6)) { @@ -106,11 +106,11 @@ OnInit: case 6: .@x2 = 139; .@y2 = 259; break; } .@mob2 = rand(1640,1645); - monster "lhz_dun03",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,strnpcinfo(3)+"::OnMy99Dead"; + monster "lhz_dun03",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,strnpcinfo(NPC_NAME_UNIQUE)+"::OnMy99Dead"; end; OnMyMVPDead: - killmonster "lhz_dun03",strnpcinfo(3)+"::OnMy99Dead"; + killmonster "lhz_dun03",strnpcinfo(NPC_NAME_UNIQUE)+"::OnMy99Dead"; initnpctimer; OnMy99Dead: end; @@ -148,7 +148,7 @@ OnInit: case 7: .@x = 149; .@y = 151; break; } .@mob = rand(2235,2241); - monster "lhz_dun04",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,strnpcinfo(3)+"::OnMyMVPDead"; + monster "lhz_dun04",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,strnpcinfo(NPC_NAME_UNIQUE)+"::OnMyMVPDead"; // Select Coordinates to summon a random 99 on switch(rand(1,7)) { @@ -161,11 +161,11 @@ OnInit: case 7: .@x2 = 149; .@y2 = 151; break; } .@mob2 = rand(2228,2234); - monster "lhz_dun04",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,strnpcinfo(3)+"::OnMy99Dead"; + monster "lhz_dun04",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,strnpcinfo(NPC_NAME_UNIQUE)+"::OnMy99Dead"; end; OnMyMVPDead: - killmonster "lhz_dun04",strnpcinfo(3)+"::OnMy99Dead"; + killmonster "lhz_dun04",strnpcinfo(NPC_NAME_UNIQUE)+"::OnMy99Dead"; initnpctimer; OnMy99Dead: end; -- cgit v1.2.3-70-g09d2