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/015-2/guard.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/015-2') diff --git a/npc/015-2/guard.txt b/npc/015-2/guard.txt index ac7b6da48..28d505e25 100644 --- a/npc/015-2/guard.txt +++ b/npc/015-2/guard.txt @@ -57,7 +57,7 @@ L_BanditLord: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, FairyHat); setunitdata(.@npcId, UDT_HEADMIDDLE, ForestArmor); setunitdata(.@npcId, UDT_HEADBOTTOM, JeansChaps); -- cgit v1.2.3-70-g09d2