summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-04-03 10:52:10 -0300
committerJesusaves <cpntb1@ymail.com>2018-04-03 10:52:10 -0300
commitaa4240c9c3d99ea375f9292fab0285905993c741 (patch)
tree7a02d2a78d42e99a24a8b93ecf427049530d2b04 /npc
parent545be9fa7b91102c9170036f62d410017de74089 (diff)
downloadserverdata-aa4240c9c3d99ea375f9292fab0285905993c741.tar.gz
serverdata-aa4240c9c3d99ea375f9292fab0285905993c741.tar.bz2
serverdata-aa4240c9c3d99ea375f9292fab0285905993c741.tar.xz
serverdata-aa4240c9c3d99ea375f9292fab0285905993c741.zip
Delete old code
Diffstat (limited to 'npc')
-rw-r--r--npc/003-10/arnea.txt35
-rw-r--r--npc/003-13/arnea.txt1
2 files changed, 1 insertions, 35 deletions
diff --git a/npc/003-10/arnea.txt b/npc/003-10/arnea.txt
index 153eb258d..0c48a4eb3 100644
--- a/npc/003-10/arnea.txt
+++ b/npc/003-10/arnea.txt
@@ -126,38 +126,3 @@ OnInit:
}
-
- /*
- mes (@menu-1);
- .@ARENA_INSTID = instance_create("003-13@arenax"+(@menu), 0, IOT_NONE);
- if (.@ARENA_INSTID >= 0)
- {
- mes "new instance id: " + str(.@ARENA_INSTID);
- .@instanceMapName$ = instance_attachmap("003-13", .@ARENA_INSTID, 0, "003-13@a" + (@menu-1));
- if (.@instanceMapName$ == "")
- {
- mes "Error: instance attach map error";
- } else {
- mes "Attached instance map name: " + .@instanceMapName$;
- instance_set_timeout(1000000, 1000000, .@ARENA_INSTID);
- instance_init(.@ARENA_INSTID);
- set Zeny, Zeny-1000;
- $@ARENA_INSTANCES[@menu-1]=getcharid(3);
- }
- } else {
- mes l("An error happened.");
- }
- }
-
- menu
- rif($@ARENA_INSTANCES[0] > 0, l("Arena 1")), -,
- rif($@ARENA_INSTANCES[1] > 0, l("Arena 2")), -,
- rif($@ARENA_INSTANCES[2] > 0, l("Arena 3")), -,
- rif($@ARENA_INSTANCES[3] > 0, l("Arena 4")), -,
- rif($@ARENA_INSTANCES[4] > 0, l("Arena 5")), -,
- l("Give Up"), L_Quit;
- warp "003-13@a"+(@menu-1), 31,31;
- set Zeny, Zeny-.price;
- //instance_warpall("003-13@a"+@menu, 30, 31); // Only use while in instance
- */
-
diff --git a/npc/003-13/arnea.txt b/npc/003-13/arnea.txt
index b6ca6cb46..366df73b8 100644
--- a/npc/003-13/arnea.txt
+++ b/npc/003-13/arnea.txt
@@ -43,6 +43,7 @@ L_Manage:
break;
}
close;
+
OnInit:
.@npcId = getnpcid(0, .name$);
setunitdata(.@npcId, UDT_HEADTOP, Darkelm);