From eb1c2abd3d093f0c293568dfbcbbf0d8c4caa12f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 14 Dec 2018 02:34:47 -0200 Subject: New Hercules Syntax for getnpcid(). sed -i 's/getnpcid(0, /getnpcid(/g' */*.txt --- npc/012-1/mahad.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/012-1/mahad.txt') diff --git a/npc/012-1/mahad.txt b/npc/012-1/mahad.txt index de1b02728..4631825d7 100644 --- a/npc/012-1/mahad.txt +++ b/npc/012-1/mahad.txt @@ -47,7 +47,7 @@ OnInit: .sex = G_MALE; .distance = 7; - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); // Check items.xml for info about this setunitdata(.@npcId, UDT_HEADTOP, InfantryHelmet); setunitdata(.@npcId, UDT_HEADMIDDLE, SailorShirt); -- cgit v1.2.3-60-g2f50