summaryrefslogtreecommitdiff
path: root/npc/017-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-14 02:34:47 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-14 02:34:47 -0200
commiteb1c2abd3d093f0c293568dfbcbbf0d8c4caa12f (patch)
treebb92c5bf6259d66385d5c357d107eb027d80375e /npc/017-1
parenta36d6b759f36636fa4d68f2ed1c4630feb8f3673 (diff)
downloadserverdata-eb1c2abd3d093f0c293568dfbcbbf0d8c4caa12f.tar.gz
serverdata-eb1c2abd3d093f0c293568dfbcbbf0d8c4caa12f.tar.bz2
serverdata-eb1c2abd3d093f0c293568dfbcbbf0d8c4caa12f.tar.xz
serverdata-eb1c2abd3d093f0c293568dfbcbbf0d8c4caa12f.zip
New Hercules Syntax for getnpcid().
sed -i 's/getnpcid(0, /getnpcid(/g' */*.txt
Diffstat (limited to 'npc/017-1')
-rw-r--r--npc/017-1/misc.txt2
-rw-r--r--npc/017-1/paxel.txt2
-rw-r--r--npc/017-1/shops.txt4
3 files changed, 4 insertions, 4 deletions
diff --git a/npc/017-1/misc.txt b/npc/017-1/misc.txt
index 0cd181b7c..903f74378 100644
--- a/npc/017-1/misc.txt
+++ b/npc/017-1/misc.txt
@@ -136,7 +136,7 @@ L_Close:
close;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, NPCEyes);
setunitdata(.@npcId, UDT_HEADMIDDLE, UglyChristmasSweater);
setunitdata(.@npcId, UDT_HEADBOTTOM, JeansShorts);
diff --git a/npc/017-1/paxel.txt b/npc/017-1/paxel.txt
index 93bd5790b..b6dda6b6f 100644
--- a/npc/017-1/paxel.txt
+++ b/npc/017-1/paxel.txt
@@ -170,7 +170,7 @@ L_Spring:
close;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, PrsmHelmet);
setunitdata(.@npcId, UDT_HEADMIDDLE, WarlordPlate);
setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes);
diff --git a/npc/017-1/shops.txt b/npc/017-1/shops.txt
index 8d8e5c017..ec30f6422 100644
--- a/npc/017-1/shops.txt
+++ b/npc/017-1/shops.txt
@@ -9,7 +9,7 @@
close;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, NPCEyes);
setunitdata(.@npcId, UDT_HEADMIDDLE, any(ShortTankTop, CandorShirt, Chainmail));
setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers);
@@ -40,7 +40,7 @@ OnClock0112:
close;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, NPCEyes);
setunitdata(.@npcId, UDT_HEADMIDDLE, any(ShortTankTop, CandorShirt, Chainmail));
setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers);