summaryrefslogtreecommitdiff
path: root/npc/004-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/004-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/004-1')
-rw-r--r--npc/004-1/anwar.txt2
-rw-r--r--npc/004-1/elanore.txt2
2 files changed, 2 insertions, 2 deletions
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);