diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-14 02:34:47 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-14 02:34:47 -0200 |
commit | eb1c2abd3d093f0c293568dfbcbbf0d8c4caa12f (patch) | |
tree | bb92c5bf6259d66385d5c357d107eb027d80375e /npc/017-1 | |
parent | a36d6b759f36636fa4d68f2ed1c4630feb8f3673 (diff) | |
download | serverdata-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/017-1')
-rw-r--r-- | npc/017-1/misc.txt | 2 | ||||
-rw-r--r-- | npc/017-1/paxel.txt | 2 | ||||
-rw-r--r-- | npc/017-1/shops.txt | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/npc/017-1/misc.txt b/npc/017-1/misc.txt index 0cd181b7c..903f74378 100644 --- a/npc/017-1/misc.txt +++ b/npc/017-1/misc.txt @@ -136,7 +136,7 @@ L_Close: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, NPCEyes); setunitdata(.@npcId, UDT_HEADMIDDLE, UglyChristmasSweater); setunitdata(.@npcId, UDT_HEADBOTTOM, JeansShorts); diff --git a/npc/017-1/paxel.txt b/npc/017-1/paxel.txt index 93bd5790b..b6dda6b6f 100644 --- a/npc/017-1/paxel.txt +++ b/npc/017-1/paxel.txt @@ -170,7 +170,7 @@ L_Spring: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, PrsmHelmet); setunitdata(.@npcId, UDT_HEADMIDDLE, WarlordPlate); setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes); diff --git a/npc/017-1/shops.txt b/npc/017-1/shops.txt index 8d8e5c017..ec30f6422 100644 --- a/npc/017-1/shops.txt +++ b/npc/017-1/shops.txt @@ -9,7 +9,7 @@ close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, NPCEyes); setunitdata(.@npcId, UDT_HEADMIDDLE, any(ShortTankTop, CandorShirt, Chainmail)); setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers); @@ -40,7 +40,7 @@ OnClock0112: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, NPCEyes); setunitdata(.@npcId, UDT_HEADMIDDLE, any(ShortTankTop, CandorShirt, Chainmail)); setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers); |