From e3afdc2af4c5e50c79237ee092e25f39b7428e47 Mon Sep 17 00:00:00 2001 From: Michieru Date: Thu, 24 Oct 2013 12:10:43 +0200 Subject: Update to last rAthena npc. Fix some typos change sc_bleeding to -> sc_blooding Updated RE EXP for quests_brasilis.txt --- npc/re/quests/quests_mora.txt | 69 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 55 insertions(+), 14 deletions(-) (limited to 'npc/re/quests/quests_mora.txt') diff --git a/npc/re/quests/quests_mora.txt b/npc/re/quests/quests_mora.txt index 3e58961d2..9e6660c01 100644 --- a/npc/re/quests/quests_mora.txt +++ b/npc/re/quests/quests_mora.txt @@ -1,11 +1,9 @@ -//===== rAthena Script ======================================= +//===== Hercules Script ====================================== //= Mora Quest NPCs //===== By: ================================================== //= Euphy //===== Current Version: ===================================== -//= 1.0 -//===== Compatible With: ===================================== -//= rAthena SVN +//= 1.1 //===== Description: ========================================= //= [Official Conversion] //= Quest NPCs related to Mora: @@ -15,9 +13,10 @@ //===== Additional Comments: ================================= //= 0.1 NPCs are currently placeholders. [Euphy] //= 1.0 Implemented all official quests. [Euphy] +//= 1.1 Added GM management function and NPCs. [Euphy] //============================================================ -// Theore's Request :: bs +// Theore's Request :: ep14_1_bs //============================================================ mid_camp,148,222,4 script Theore#ep14_1_bs 982,3,3,{ if (BaseLevel < 100) { @@ -509,12 +508,11 @@ spl_fild02,183,1,0 duplicate(#mora_bush_timer) Bush4Timer 440 spl_fild02,184,1,0 duplicate(#mora_bush_timer) Bush5Timer 440 spl_fild02,186,1,0 duplicate(#mora_bush_timer) Bush6Timer 440 -/* spl_fild02,187,1,0 script Field Bush Switch 440,{ + callfunc "F_GM_NPC"; donpcevent "Bush#ep14_1_bs1::OnEnable"; end; } -*/ splendide,183,117,4 script Tired-looking Fairy 438,{ if (!isequipped(2782)) { @@ -1444,7 +1442,23 @@ splendide,121,260,4 script Daphrer#ep14_1_bs 435,{ close; } -// Chesire's New Day :: cheshir2 +sec_in02,35,175,0 script Theore Set Guid 436,{ + callfunc "F_GM_NPC"; + switch(select("Set0:Set33:Set2_0")) { + case 1: + set ep14_1_bs,0; + end; + case 2: + set ep4_1_bs,3; + setquest 11183; + end; + case 3: + set ep14_1_bs2,0; + end; + } +} + +// Chesire's New Day :: ep14_1_cheshir2 //============================================================ dic_in01,262,191,0 script #ep14_1_xq02 139,0,3,{ end; @@ -1936,7 +1950,7 @@ OnTimer600000: end; } -// Helping Lope and Euridi :: rofe +// Helping Lope and Euridi :: ep14_1_rofe //============================================================ mora,117,66,3 script Euridi#pa 521,{ if (BaseLevel < 100) { @@ -2064,7 +2078,11 @@ mora,117,66,3 script Euridi#pa 521,{ mes "Euridi is standing staring blankly like someone who wasn't all there."; mes "Let's go show the letter to Pitt."; changequest 1112,1113; - delitem 6383,30; //Clue_Of_Lope + + //delitem 6383,30; //Clue_Of_Lope + set .@count, countitem(6383); + if (.@count) delitem 6383,((.@count > 30)?30:.@count); //Clue_Of_Lope + set ep14_1_rope,5; close; } else if (ep14_1_rope == 5) { @@ -2107,7 +2125,10 @@ mora,117,66,3 script Euridi#pa 521,{ mes "She starts to sing in a strained voice, still crying."; changequest 1116,1117; set ep14_1_rope,10; - delitem 6384,1; //Ring_Of_Lope + + //delitem 6384,1; //Ring_Of_Lope + if (countitem(6384)) delitem 6384,1; //Ring_Of_Lope + close; } } else if (ep14_1_rope > 9) { @@ -2483,7 +2504,7 @@ OnTouch: } } -// Find the Research Tools :: muk +// Find the Research Tools :: ep14_1_muk //============================================================ mora,31,138,6 script Raffle Researcher#ep14 522,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) { @@ -4333,7 +4354,7 @@ bif_fild02,65,109,0 duplicate(#mora_puddle) Puddle#ep14_muk02 844 bif_fild02,223,71,0 duplicate(#mora_puddle) Puddle#ep14_muk03 844 bif_fild02,113,340,0 duplicate(#mora_puddle) Puddle#ep14_muk04 844 -// Mora Daily Quests :: dealer +// Mora Daily Quests :: ep14_1_dealer //============================================================ mora,133,80,6 script Elephantine#pa0829 509,{ if (checkweight(1201,1) == 0) { @@ -5055,6 +5076,26 @@ mora,104,172,7 script Victim#pa0829 520,{ close; } +sec_in02,29,34,5 script Initializing Mora Sanjo 453,{ + callfunc "F_GM_NPC"; + mes "Enter your password"; + if (callfunc("F_GM_NPC","1854",1) == 0) { + mes "Hehe"; + close; + } else { + mes "[Initialization]"; + mes "14.1 Initializing all quest window include related daily quest and map and so on"; + freeloop(1); + for(set .@i,12225; .@i<=12353; set .@i,.@i+1) { + if (checkquest(.@i) > -1) + erasequest .@i; + } + freeloop(0); + set ep14_1_mistwoods,10; + close; + } +} + // Mora Daily Quests - Souls :: md_cadaver_in //============================================================ // callfunc "mora_remains",,,,,; @@ -5093,7 +5134,7 @@ function script mora_remains { 1@mist,170,54,0 script Tsaihokin's Remains#33 844,{ callfunc "mora_remains",12251,"Tsaihokin",2,929,5; } //Immortal_Heart 1@mist,118,43,0 script Tuar's Remains#33 844,{ callfunc "mora_remains",12252,"Tuar",3,6380,20; } //Mora_Coin -// Knights of the Neighborhood :: mora_knight +// Knights of the Neighborhood :: ep14_1_mora_knight //============================================================ mora,118,166,6 script Knights Chief#mo 525,{ mes "[Order of the Knights Chief]"; -- cgit v1.2.3-60-g2f50