summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/003-13/arnea.txt5
-rw-r--r--npc/003-5/arnea.txt5
2 files changed, 8 insertions, 2 deletions
diff --git a/npc/003-13/arnea.txt b/npc/003-13/arnea.txt
index 4cf07ca14..ff7e63fb1 100644
--- a/npc/003-13/arnea.txt
+++ b/npc/003-13/arnea.txt
@@ -5,7 +5,7 @@
// Description:
// Arena for Duels and PVP (temporary map)
-003-13,30,27,0 script Arnea#003-13 NPC_ELF_F,{
+003-13,30,30,0 script Arnea#003-13 NPC_ELF_F,{
mes "npc name: " + .name$;
mes "npc ext name: " + .extname$;
mes "npc id: " + .id;
@@ -68,6 +68,9 @@ OnInit:
.sex = G_FEMALE;
.distance = 9;
// test instance id
+
+ // Temporary fix
+ disablenpc .name$;
end;
OnInstanceInit:
diff --git a/npc/003-5/arnea.txt b/npc/003-5/arnea.txt
index f92c28ef4..191dccc43 100644
--- a/npc/003-5/arnea.txt
+++ b/npc/003-5/arnea.txt
@@ -109,7 +109,7 @@ L_Incomplete:
close;
OnInit:
- .@npcId = getnpcid(0, "Arnea");
+ .@npcId = getnpcid(0, .name$);
setunitdata(.@npcId, UDT_HEADTOP, 2907);
setunitdata(.@npcId, UDT_HEADMIDDLE, 1305);
setunitdata(.@npcId, UDT_HEADBOTTOM, 2204);
@@ -124,6 +124,9 @@ OnInit:
// test instance id
setarray $@ARENA_INSTANCES, -1,-1,-1,-1,-1; // Controls Owners
setarray $@ARENA_INFOS$, "","","","",""; // Controls Owners
+
+ // Temporary fix
+ disablenpc .name$;
end;
OnInstanceInit: