diff options
author | jesusalva <cpntb1@ymail.com> | 2018-02-12 21:13:41 -0200 |
---|---|---|
committer | jesusalva <cpntb1@ymail.com> | 2018-02-12 21:13:41 -0200 |
commit | 5583a85812287e266991b88686d27a9a6798ea8d (patch) | |
tree | a8a91f3df5a395350b1af4748367e2bf9e04a5ed | |
parent | a0c564de99be2122aab4536ca1b6d0ab65eddb84 (diff) | |
download | serverdata-5583a85812287e266991b88686d27a9a6798ea8d.tar.gz serverdata-5583a85812287e266991b88686d27a9a6798ea8d.tar.bz2 serverdata-5583a85812287e266991b88686d27a9a6798ea8d.tar.xz serverdata-5583a85812287e266991b88686d27a9a6798ea8d.zip |
Remove broken files
-rw-r--r-- | npc/003-5/broken_old_arnea.txt | 124 |
1 files changed, 0 insertions, 124 deletions
diff --git a/npc/003-5/broken_old_arnea.txt b/npc/003-5/broken_old_arnea.txt deleted file mode 100644 index ccd4c68b5..000000000 --- a/npc/003-5/broken_old_arnea.txt +++ /dev/null @@ -1,124 +0,0 @@ -// TMW2 Scripts -// Author: -// 4144 -// Jesusalva -// Description: -// Arena for Duels and PVP (temporary map) - -003-5,33,37,0 script Arnea NPC_ELF_F,{ - mesn; - mesq l("Welcome to the Arena. Select your action"); - menu - l("Create new arena"), L_NewArena, - l("Join existing arena"), L_JoinArena, - l("Information"), L_Info, - l("Leave"), L_Quit; - -L_NewArena: - mes ""; - mesn; - if (Zeny < .price) { - mesq l("You need @@ GP to use this arena.", .price); - } else { - mesq l("Okay, which arena will you rent? Cost is @@ GP.", .price); - 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; - - $@ARENA_INSTANCES[@menu-1]=getcharid(3); - .@ARENA_INSTID = instance_create("003-5@"+(@menu), getcharid(3), IOT_CHAR); - if (.@ARENA_INSTID >= 0) - { - mes "new instance id: " + str(.@ARENA_INSTID); - .@instanceMapName$ = instance_attachmap("003-5", .@ARENA_INSTID, 0, "003-5@" + (@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; - } - } else { - $@ARENA_INSTANCES[@menu-1]=-1; - mes l("An error happened."); - } - } - goto L_Quit; - - -L_Info: - mes "npc name: " + .name$; - mes "npc ext name: " + .extname$; - mes "npc id: " + .id; - mes "npc parent id: " + .parent; - mes "npc src id: " + .srcId; - mes "char id 3: " + getcharid(3); - if (instance_id() >= 0) - mes "instance id: " + instance_id(); - close; - -L_JoinArena: - mes ""; - mesn; - if (Zeny < .price) { - mesq l("You need @@ GP to use this arena.", .price); - } else { - mesq l("Okay, which arena will you join? Cost is @@ GP.", .price); - //menu - // rif(has_instance2("003-5@0") >= 0, l("Arena 1")), -, - // rif(has_instance2("003-5@1") >= 0, l("Arena 2")), -, - // rif(has_instance2("003-5@2") >= 0, l("Arena 3")), -, - // rif(has_instance2("003-5@3") >= 0, l("Arena 4")), -, - // rif(has_instance2("003-5@4") >= 0, l("Arena 5")), -, - // l("Give Up"), L_Quit; - menu - rif(4 >= 0, l("Arena 1")), -, - rif(3 >= 0, l("Arena 2")), -, - rif(5 >= 0, l("Arena 3")), -, - rif(3 >= 0, l("Arena 4")), -, - rif(4 >= 0, l("Arena 5")), -, - l("Give Up"), L_Quit; - warp "003-5@"+(@menu-1), 0,0; - //instance_warpall("003-5", 30, 31, (@menu-1)); // We can't hold a value so big as ARENA_INSTID - } - close; - - -L_Quit: - close; - -OnInit: - .@npcId = getnpcid(0, "Arnea"); - setunitdata(.@npcId, UDT_HEADTOP, 2907); - setunitdata(.@npcId, UDT_HEADMIDDLE, 1305); - setunitdata(.@npcId, UDT_HEADBOTTOM, 2204); - setunitdata(.@npcId, UDT_WEAPON, 3509); - setunitdata(.@npcId, UDT_HAIRSTYLE, 14); - setunitdata(.@npcId, UDT_HAIRCOLOR, 18); - - .sex = G_FEMALE; - .distance = 5; - .alwaysVisible = true; - .price=1000; - // test instance id - setarray $@ARENA_INSTANCES, -1,-1,-1,-1,-1; // Controls Owners - setarray $@ARENA_INFOS$, "","","","",""; // Controls Owners - end; - -OnInstanceInit: - .@npcId = getnpcid(0, instance_npcname(.name$)); - setunitdata(.@npcId, UDT_HEADTOP, 2907); - setunitdata(.@npcId, UDT_HEADMIDDLE, 1305); - setunitdata(.@npcId, UDT_HEADBOTTOM, 2204); - setunitdata(.@npcId, UDT_WEAPON, 3509); - setunitdata(.@npcId, UDT_HAIRSTYLE, 14); - setunitdata(.@npcId, UDT_HAIRCOLOR, 18); - end; - -} |