summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-03-01 20:19:25 -0300
committerjesusalva <cpntb1@ymail.com>2018-03-01 20:19:25 -0300
commit0c1663d92beb6405c210a148448c6d806a5b4e30 (patch)
tree326f6bf7b56df115213a741c3d62fa1151153a3b /npc
parent74eacc4967d1ba3e3fee4a5f5173226ef3f9e3d5 (diff)
downloadserverdata-0c1663d92beb6405c210a148448c6d806a5b4e30.tar.gz
serverdata-0c1663d92beb6405c210a148448c6d806a5b4e30.tar.bz2
serverdata-0c1663d92beb6405c210a148448c6d806a5b4e30.tar.xz
serverdata-0c1663d92beb6405c210a148448c6d806a5b4e30.zip
Disable Arnea (unfinished script)
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: