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/005-7/nurse.txt | 2 +- npc/005-7/trainer.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/005-7') diff --git a/npc/005-7/nurse.txt b/npc/005-7/nurse.txt index 44647f851..6728f412a 100644 --- a/npc/005-7/nurse.txt +++ b/npc/005-7/nurse.txt @@ -77,7 +77,7 @@ L_Close: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADBOTTOM, CottonShorts); setunitdata(.@npcId, UDT_HEADMIDDLE, ShortTankTop); setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes); diff --git a/npc/005-7/trainer.txt b/npc/005-7/trainer.txt index 8f31e1a08..ee3a63a13 100644 --- a/npc/005-7/trainer.txt +++ b/npc/005-7/trainer.txt @@ -509,7 +509,7 @@ OnKillManaBug: end; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, LeatherShirt); setunitdata(.@npcId, UDT_HEADMIDDLE, CottonTrousers); setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes); -- cgit v1.2.3-70-g09d2