summaryrefslogtreecommitdiff
path: root/npc/001-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/001-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/001-1')
-rw-r--r--npc/001-1/bgmaster.txt6
-rw-r--r--npc/001-1/rewards.txt2
2 files changed, 4 insertions, 4 deletions
diff --git a/npc/001-1/bgmaster.txt b/npc/001-1/bgmaster.txt
index 73849a5e5..13aa30ee0 100644
--- a/npc/001-1/bgmaster.txt
+++ b/npc/001-1/bgmaster.txt
@@ -144,7 +144,7 @@ OnVictor2:
end;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, GMRobe); // Dress
setunitdata(.@npcId, UDT_HEADMIDDLE, NPCEyes); // Not needed
setunitdata(.@npcId, UDT_HEADBOTTOM, LousyMoccasins); // Shoes
@@ -241,7 +241,7 @@ OnSet:
end;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, LightPlatemail); // Light armor
setunitdata(.@npcId, UDT_HEADMIDDLE, JeansShorts); // Pants
setunitdata(.@npcId, UDT_HEADBOTTOM, LousyMoccasins); // Shoes
@@ -267,7 +267,7 @@ OnSet:
end;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, TerraniteArmor); // Terranite armor
setunitdata(.@npcId, UDT_HEADMIDDLE, JeansShorts); // Pants
setunitdata(.@npcId, UDT_HEADBOTTOM, LousyMoccasins); // Shoes
diff --git a/npc/001-1/rewards.txt b/npc/001-1/rewards.txt
index 9e3d4d9ea..68968d50c 100644
--- a/npc/001-1/rewards.txt
+++ b/npc/001-1/rewards.txt
@@ -19,7 +19,7 @@
close;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, TopHat);
setunitdata(.@npcId, UDT_HEADMIDDLE, GoldenWarlordPlate);
setunitdata(.@npcId, UDT_WEAPON, JeansChaps);