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-4/pihro.txt | 2 +- npc/017-4/pyndragon.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/017-4') diff --git a/npc/017-4/pihro.txt b/npc/017-4/pihro.txt index 325c0971e..804742109 100644 --- a/npc/017-4/pihro.txt +++ b/npc/017-4/pihro.txt @@ -90,7 +90,7 @@ L_Craft: OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, Monocle); setunitdata(.@npcId, UDT_HEADMIDDLE, WarlordPlate); setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes); diff --git a/npc/017-4/pyndragon.txt b/npc/017-4/pyndragon.txt index 516dad4f4..6c69b294b 100644 --- a/npc/017-4/pyndragon.txt +++ b/npc/017-4/pyndragon.txt @@ -130,7 +130,7 @@ L_Close: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, WarlordHelmet); setunitdata(.@npcId, UDT_HEADMIDDLE, GoldenWarlordPlate); setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes); -- cgit v1.2.3-70-g09d2