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/004-1/anwar.txt | 2 +- npc/004-1/elanore.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/004-1') diff --git a/npc/004-1/anwar.txt b/npc/004-1/anwar.txt index 64b560c85..6cdcf6b32 100644 --- a/npc/004-1/anwar.txt +++ b/npc/004-1/anwar.txt @@ -128,7 +128,7 @@ OnTimer1000: domovestep; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, FarmerHat); setunitdata(.@npcId, UDT_HEADMIDDLE, DesertShirt); setunitdata(.@npcId, UDT_HEADBOTTOM, LeatherTrousers); diff --git a/npc/004-1/elanore.txt b/npc/004-1/elanore.txt index e03187dfc..8909123b5 100644 --- a/npc/004-1/elanore.txt +++ b/npc/004-1/elanore.txt @@ -81,7 +81,7 @@ L_Close: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); //setunitdata(.@npcId, UDT_HEADTOP, 2929); setunitdata(.@npcId, UDT_HEADMIDDLE, SorcererRobe); setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes); -- cgit v1.2.3-70-g09d2