Browse Source

added a custom warper to Novice Castles

git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@235 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lupus 20 năm trước cách đây
mục cha
commit
2e366db32a
3 tập tin đã thay đổi với 52 bổ sung0 xóa
  1. 3 0
      conf-tmpl/map_athena.conf
  2. 1 0
      npc/Changelog.txt
  3. 48 0
      npc/guild/Extras/woe_warper.txt

+ 3 - 0
conf-tmpl/map_athena.conf

@@ -379,6 +379,9 @@ npc: npc/guild/nguild/nguild_kafras.txt
 npc: npc/guild/nguild/nguild_treas.txt
 npc: npc/guild/nguild/nguild_guardians.txt
 
+//Guild Wars: Extras
+//npc: npc/guild/Extras/woe_gflag.txt
+npc: npc/guild/Extras/woe_warper.txt
 
 //------------------ Guild Wars(Non-optimized) -----------------------
 //Guild Wars: General

+ 1 - 0
npc/Changelog.txt

@@ -35,6 +35,7 @@ Other Ppl
 Date		Added
 ======
 11/18
+	* Added custom WOE warper (now you can get to Novice Castles from Prontera) [Lupus]
 	* Prontera.txt (Sewers) anti-novice exploit fix. should be added to any quests/banks where u once get free items/zeny [Lupus]
 11/17
 	* Fixed valkyrie.txt (wrong condition check, temp var->perm vars) but it still has no exit for common players [Lupus]

+ 48 - 0
npc/guild/Extras/woe_warper.txt

@@ -0,0 +1,48 @@
+//Custom WOE warper 1.1 [Lupus]
+//you can get to Novice Castles, too
+
+n_castle.gat,102,107,5	script	Vimta	757,{
+	mes "[Vimta]";
+	mes "Hello, "+ strcharinfo(0) +"! What would you like?";
+	next;
+	menu "Warp me to Prontera",-,"Cancel",LEnd;
+	
+		warp "prontera.gat",155,177+rand(5);
+		close;
+	LEnd:
+		mes "[Vimta]";
+		mes "Ok. I'll wait here.";
+		close;
+}
+
+prontera.gat,130,217,5	script	Vimta	757,{
+	mes "[Vimta]";
+	mes "Hello there! I'm a WOE representative, Vimta.";
+	if (getcharid(2) < 1000 ) mes "You are not a guild member, "+ strcharinfo(0) +"? Naff off for now.";
+	if (getcharid(2) < 1000 ) close;
+	if (agitcheck(0) == 0) mes "When WOE is off I can warp you to Novice Castles only:";
+	if (agitcheck(0) != 0) mes "I can warp you to any Castle:";
+	next;
+	if (agitcheck(0) == 0) menu "Novice Castles",novice_cas,"Cancel",-;
+	if (agitcheck(0) != 0) menu "Prontera Castles",prtg_cas,"Payon Castles",payg_cas,"Geffen Castles",gefg_cas,"Aldebaran Castles",aldeg_cas,"Novice Castles",novice_cas,"Cancel",-;
+
+	mes "[Vimta]";
+	mes "Don't think too long, War of Emperium is such a cool thing.";
+	close;
+
+	prtg_cas:
+		warp "prt_gld.gat",	159,	38;	close;
+
+
+	payg_cas:
+		warp "pay_gld.gat",	202,	173;	close;
+
+	gefg_cas:
+		warp "gef_fild13.gat",	270,	225;	close;
+
+	aldeg_cas:
+		warp "alde_gld.gat",	186,	157;	close;
+
+	novice_cas:
+		warp "n_castle.gat",	102,	103+rand(5);	close;
+}