summaryrefslogtreecommitdiff
path: root/npc/003-0
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/003-0
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/003-0')
-rw-r--r--npc/003-0/berserk.txt2
-rw-r--r--npc/003-0/paladin.txt2
-rw-r--r--npc/003-0/priest.txt2
-rw-r--r--npc/003-0/sage.txt2
-rw-r--r--npc/003-0/tanker.txt2
-rw-r--r--npc/003-0/wizard.txt2
6 files changed, 6 insertions, 6 deletions
diff --git a/npc/003-0/berserk.txt b/npc/003-0/berserk.txt
index 8506a3e0d..862a4e87f 100644
--- a/npc/003-0/berserk.txt
+++ b/npc/003-0/berserk.txt
@@ -207,7 +207,7 @@ L_Member:
goto L_Member;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, WarlordHelmet);
setunitdata(.@npcId, UDT_HEADMIDDLE, GoldenWarlordPlate);
setunitdata(.@npcId, UDT_HEADBOTTOM, ShortGladius);
diff --git a/npc/003-0/paladin.txt b/npc/003-0/paladin.txt
index 63f4430ab..0c55cac1c 100644
--- a/npc/003-0/paladin.txt
+++ b/npc/003-0/paladin.txt
@@ -208,7 +208,7 @@ L_Member:
goto L_Member;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, WarlordHelmet);
setunitdata(.@npcId, UDT_HEADMIDDLE, GoldenWarlordPlate);
setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes);
diff --git a/npc/003-0/priest.txt b/npc/003-0/priest.txt
index be513ed71..04ff8b558 100644
--- a/npc/003-0/priest.txt
+++ b/npc/003-0/priest.txt
@@ -234,7 +234,7 @@ L_Member:
goto L_Member;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
//setunitdata(.@npcId, UDT_HEADTOP, WarlordHelmet); // TODO: wizard hat
setunitdata(.@npcId, UDT_HEADMIDDLE, SorcererRobe);
setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes);
diff --git a/npc/003-0/sage.txt b/npc/003-0/sage.txt
index 6e79dab39..b93983860 100644
--- a/npc/003-0/sage.txt
+++ b/npc/003-0/sage.txt
@@ -240,7 +240,7 @@ L_Member:
goto L_Member;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
//setunitdata(.@npcId, UDT_HEADTOP, WarlordHelmet); // TODO: wizard hat
setunitdata(.@npcId, UDT_HEADMIDDLE, SorcererRobe);
setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes);
diff --git a/npc/003-0/tanker.txt b/npc/003-0/tanker.txt
index 7f7e7d72d..c495b538d 100644
--- a/npc/003-0/tanker.txt
+++ b/npc/003-0/tanker.txt
@@ -205,7 +205,7 @@ L_Member:
goto L_Member;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, WarlordHelmet);
setunitdata(.@npcId, UDT_HEADMIDDLE, WarlordPlate);
setunitdata(.@npcId, UDT_HEADBOTTOM, SteelShield);
diff --git a/npc/003-0/wizard.txt b/npc/003-0/wizard.txt
index 9e19b9981..d8d8166cb 100644
--- a/npc/003-0/wizard.txt
+++ b/npc/003-0/wizard.txt
@@ -212,7 +212,7 @@ L_Member:
goto L_Member;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, FancyHat); // TODO: wizard hat
setunitdata(.@npcId, UDT_HEADMIDDLE, SorcererRobe);
setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes);