summaryrefslogtreecommitdiff
path: root/npc/012-1/mahad.txt
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/012-1/mahad.txt
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/012-1/mahad.txt')
-rw-r--r--npc/012-1/mahad.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/012-1/mahad.txt b/npc/012-1/mahad.txt
index de1b02728..4631825d7 100644
--- a/npc/012-1/mahad.txt
+++ b/npc/012-1/mahad.txt
@@ -47,7 +47,7 @@ OnInit:
.sex = G_MALE;
.distance = 7;
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
// Check items.xml for info about this
setunitdata(.@npcId, UDT_HEADTOP, InfantryHelmet);
setunitdata(.@npcId, UDT_HEADMIDDLE, SailorShirt);