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/007-1/caelum.txt | 2 +- npc/007-1/dracoula.txt | 2 +- npc/007-1/pylon.txt | 2 +- npc/007-1/tycoon.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/007-1') diff --git a/npc/007-1/caelum.txt b/npc/007-1/caelum.txt index 6aaa2aa0a..455f9f9ad 100644 --- a/npc/007-1/caelum.txt +++ b/npc/007-1/caelum.txt @@ -139,7 +139,7 @@ L_TooWeak: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, MinerHat); setunitdata(.@npcId, UDT_HEADMIDDLE, LeatherShirt); setunitdata(.@npcId, UDT_HEADBOTTOM, BromenalPants); diff --git a/npc/007-1/dracoula.txt b/npc/007-1/dracoula.txt index 1c9f99c4c..4730bca96 100644 --- a/npc/007-1/dracoula.txt +++ b/npc/007-1/dracoula.txt @@ -137,7 +137,7 @@ L_Close: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, MinerHat); setunitdata(.@npcId, UDT_HEADMIDDLE, ArtisTankTop); setunitdata(.@npcId, UDT_HEADBOTTOM, JeansShorts); diff --git a/npc/007-1/pylon.txt b/npc/007-1/pylon.txt index c68e3763a..c5d32e54e 100644 --- a/npc/007-1/pylon.txt +++ b/npc/007-1/pylon.txt @@ -132,7 +132,7 @@ L_Close: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, MinerHat); setunitdata(.@npcId, UDT_HEADMIDDLE, ArtisTankTop); setunitdata(.@npcId, UDT_HEADBOTTOM, BromenalPants); diff --git a/npc/007-1/tycoon.txt b/npc/007-1/tycoon.txt index e2951dc98..dd3a44ffc 100644 --- a/npc/007-1/tycoon.txt +++ b/npc/007-1/tycoon.txt @@ -280,7 +280,7 @@ OnKillBlackScorpion: end; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, MinerHat); setunitdata(.@npcId, UDT_HEADMIDDLE, ArtisTankTop); setunitdata(.@npcId, UDT_HEADBOTTOM, BromenalPants); -- cgit v1.2.3-70-g09d2