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/guards.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/012-1/guards.txt') diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt index 492ef05a0..ff34e134c 100644 --- a/npc/012-1/guards.txt +++ b/npc/012-1/guards.txt @@ -84,7 +84,7 @@ OnInit: .sex = G_MALE; .distance = 4; - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, Bull); setunitdata(.@npcId, UDT_HEADMIDDLE, LegionTrainingShirt); setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers); @@ -131,7 +131,7 @@ OnSet: OnInit: .CYCLES=0; - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, GoldenWarlordPlate); // Light armor setunitdata(.@npcId, UDT_HEADMIDDLE, JeansChaps); // Pants setunitdata(.@npcId, UDT_HEADBOTTOM, DeepBlackBoots); // Shoes -- cgit v1.2.3-70-g09d2