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/009-5/alvasus.txt | 2 +- npc/009-5/joaquim.txt | 2 +- npc/009-5/luanna.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/009-5') diff --git a/npc/009-5/alvasus.txt b/npc/009-5/alvasus.txt index e5d2869b8..23e2fa037 100644 --- a/npc/009-5/alvasus.txt +++ b/npc/009-5/alvasus.txt @@ -173,7 +173,7 @@ L_NoItem: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, DesertHat); setunitdata(.@npcId, UDT_HEADMIDDLE, SilkRobe); setunitdata(.@npcId, UDT_WEAPON, CreasedBoots); diff --git a/npc/009-5/joaquim.txt b/npc/009-5/joaquim.txt index 6b5570289..3362a2ef4 100644 --- a/npc/009-5/joaquim.txt +++ b/npc/009-5/joaquim.txt @@ -168,7 +168,7 @@ L_Missing: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); //setunitdata(.@npcId, UDT_HEADTOP, NPCEyes); setunitdata(.@npcId, UDT_HEADMIDDLE, VneckJumper); setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers); diff --git a/npc/009-5/luanna.txt b/npc/009-5/luanna.txt index 089062310..c2b570b39 100644 --- a/npc/009-5/luanna.txt +++ b/npc/009-5/luanna.txt @@ -13,7 +13,7 @@ OnTimer30000: end; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, NPCEyes); setunitdata(.@npcId, UDT_HEADMIDDLE, VneckJumper); setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers); -- cgit v1.2.3-70-g09d2