summaryrefslogtreecommitdiff
path: root/npc/re/mobs/dungeons/lhz_dun.txt
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2016-08-28 17:03:57 +0100
committerhemagx <ibrahem.h.basyone@gmail.com>2016-08-29 01:03:42 +0200
commit86977d79269408a371384e61111c3a9cf6e87b0c (patch)
tree4f2a9b1f9a3ee6436a0b857d05caa2be7e99a877 /npc/re/mobs/dungeons/lhz_dun.txt
parent16f998c8a79153ed9f6721c36e129b6080fa59d2 (diff)
downloadhercules-86977d79269408a371384e61111c3a9cf6e87b0c.tar.gz
hercules-86977d79269408a371384e61111c3a9cf6e87b0c.tar.bz2
hercules-86977d79269408a371384e61111c3a9cf6e87b0c.tar.xz
hercules-86977d79269408a371384e61111c3a9cf6e87b0c.zip
*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
Diffstat (limited to 'npc/re/mobs/dungeons/lhz_dun.txt')
-rw-r--r--npc/re/mobs/dungeons/lhz_dun.txt12
1 files changed, 6 insertions, 6 deletions
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;