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/cities/louyang.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/cities/louyang.txt') diff --git a/npc/cities/louyang.txt b/npc/cities/louyang.txt index dca5f0376..b4cfcb8ea 100644 --- a/npc/cities/louyang.txt +++ b/npc/cities/louyang.txt @@ -338,7 +338,7 @@ louyang,84,254,0 script Exit#lou HIDDEN_NPC,{ if (rand(1,100) == 34) { percentheal -99,0; warp "louyang",86,269; - mapannounce "louyang",""+strnpcinfo(0)+" : Oh God, I'm faaaaaaaaaaaalling~~!!!!",bc_map; + mapannounce "louyang",""+strnpcinfo(NPC_NAME)+" : Oh God, I'm faaaaaaaaaaaalling~~!!!!",bc_map; } else { warp "lou_in01",10,18; -- cgit v1.2.3-60-g2f50