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/jobs/3-1/archbishop.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/re/jobs/3-1/archbishop.txt') diff --git a/npc/re/jobs/3-1/archbishop.txt b/npc/re/jobs/3-1/archbishop.txt index addcc0346..9caa1f538 100644 --- a/npc/re/jobs/3-1/archbishop.txt +++ b/npc/re/jobs/3-1/archbishop.txt @@ -1007,7 +1007,7 @@ OnTouch: delitem ValkyrieA_Scroll,1; // fall through } else if (getmercinfo(1) == 2037) { - if (strnpcinfo(0) == "#arch_1_10") + if (strnpcinfo(NPC_NAME) == "#arch_1_10") viewpoint 1,113,327,1,0xFF9900; .@randht = rand(1,10); if (.@randht < 8) -- cgit v1.2.3-70-g09d2