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/017-1/shops.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/017-1/shops.txt') diff --git a/npc/017-1/shops.txt b/npc/017-1/shops.txt index 8d8e5c017..ec30f6422 100644 --- a/npc/017-1/shops.txt +++ b/npc/017-1/shops.txt @@ -9,7 +9,7 @@ close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, NPCEyes); setunitdata(.@npcId, UDT_HEADMIDDLE, any(ShortTankTop, CandorShirt, Chainmail)); setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers); @@ -40,7 +40,7 @@ OnClock0112: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, NPCEyes); setunitdata(.@npcId, UDT_HEADMIDDLE, any(ShortTankTop, CandorShirt, Chainmail)); setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers); -- cgit v1.2.3-70-g09d2