summaryrefslogtreecommitdiff
path: root/npc/016-1/laranja.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/016-1/laranja.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/016-1/laranja.txt')
-rw-r--r--npc/016-1/laranja.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/016-1/laranja.txt b/npc/016-1/laranja.txt
index 66d692e43..32c1770e7 100644
--- a/npc/016-1/laranja.txt
+++ b/npc/016-1/laranja.txt
@@ -38,7 +38,7 @@ L_Close:
close;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, NPCEyes);
setunitdata(.@npcId, UDT_HEADMIDDLE, ShortTankTop);
setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers);
@@ -54,7 +54,7 @@ OnInit:
end;
OnInstanceInit:
- .@npcId = getnpcid(0, instance_npcname(.name$));
+ .@npcId = getnpcid(instance_npcname(.name$));
setunitdata(.@npcId, UDT_HEADTOP, NPCEyes);
setunitdata(.@npcId, UDT_HEADMIDDLE, ShortTankTop);
setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers);