From 3e909f3c4a25d5f550dccf1b7a98922c80a90416 Mon Sep 17 00:00:00 2001 From: euphyy Date: Mon, 17 Dec 2012 22:05:04 +0000 Subject: * Updated Rune Knight and Ranger job quests to their latest versions. This completes the recent third job updates (r17024, r17010, r16991, r16990). * Fixed quest_db name typos (bugreport:7011). * Added Wolf Flute Trader script to re\merchants\falcon_flute.txt, and renamed to re\merchants\flute.txt. * Optimized Falcon Flute Trader script. * Added constants in El Dicastes quests. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17028 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/kafras/functions_kafras.txt | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'npc/kafras/functions_kafras.txt') diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt index c8ea55644..c1e7d25ee 100644 --- a/npc/kafras/functions_kafras.txt +++ b/npc/kafras/functions_kafras.txt @@ -5,7 +5,7 @@ //= Darlskies, Darkchild, Syrus22, Lupus, kobra_k88 (2.0) //= L0ne_W0lf //===== Current Version: ===================================== -//= 6.6 +//= 6.7 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= @@ -61,6 +61,7 @@ //= 6.4 Removed unofficial Guide function. [Daegaladh] //= 6.5 Optimized. [Joseph] //= 6.6 Added Warp Points / View Points Function. [Joseph] +//= 6.7 Added Rune Knight Kafra. [Euphy] //============================================================ //=== Main Function ======================================================== @@ -135,11 +136,13 @@ function script F_Kafra { // No save, or teleport. (Common) case 5: setarray @K_Menu0$[0],"Use Storage","Rent a Pushcart","Check Other Information","Cancel"; break; // Storage and Check Other Information only. - case 6: setarray @K_Menu0$[0],"Use Storage","Check Other Information","Cancel"; break; + case 6: setarray @K_Menu0$[0],"Use Storage","Check Other Information","Cancel"; break; // Save, Storage, and Pushcart only (Kafra Warehouse) case 7: setarray @K_Menu0$[0],"Save","Use Storage","Rent a Pushcart","Cancel"; break; // Save, Storage, Other Check information. (Turbo track) case 8: setarray @K_Menu0$[0],"Save","Use Storage","Check Other Information","Cancel"; break; + // No Save (Rune Knight) + case 9: setarray @K_Menu0$[0],"Use Storage","Rent a Pushcart","Use Teleport Service","Check Other Information","Cancel"; break; // Default message (obsolete) default: setarray @K_Menu0$[0],"Save","Use Storage","Use Teleport Service","Rent a Pushcart","Check Other Information","Cancel"; break; } @@ -327,7 +330,7 @@ function script F_KafTele { //=================================================== function script F_KafCart { // Ensure that the class wanting to rent a pushcart is a merchant - if(baseClass != Job_Merchant){ + if(BaseClass != Job_Merchant){ mes "[Kafra Employee]"; mes "I'm sorry, but the"; mes "Pushcart rental service"; @@ -378,7 +381,8 @@ function script F_KafInfo { // Uncomment next line to block Kafra Storage Protection // set .@block, 1; setarray .@m$, "Check Special Reserve Points.","Storage Password Service","Kafra Employee Locations","Cancel"; - if (.@block) deletearray .@m$[1],1; + if (getarg(0) == 2) deletearray .@m$[1],2; // Rune Knight + else if (.@block) deletearray .@m$[1],1; while (1) { set .@j, select(implode(.@m$,":")) - 1; if (.@m$[.@j] == "Check Special Reserve Points.") { @@ -622,9 +626,12 @@ function script F_KafSet { setarray @wrpP[0], 1200; setarray @viewpX[0], 328, 278, 153, 0; setarray @viewpY[0], 108, 221, 187, 0; + } else if (strnpcinfo(4) == "job3_rune01") { + setarray @wrpD$[0], "Izlude", "Geffen", "Payon", "Morroc", "Alberta"; + setarray @wrpP[0], 600, 1200, 1200, 1200, 1800; } for (set .@i, 0; .@i < getarraysize(@wrpD$); set .@i, .@i + 1) setd "@wrpC$["+.@i+"]",getd("@wrpD$["+.@i+"]")+" -> "+getd("@wrpP["+.@i+"]"); setd "@wrpC$["+getarraysize(@wrpC$)+"]","Cancel"; return; -} \ No newline at end of file +} \ No newline at end of file -- cgit v1.2.3-60-g2f50