From fa2751b503d41388cf82dbf882877db280b1bba7 Mon Sep 17 00:00:00 2001 From: Streusel Date: Sat, 23 Feb 2013 23:58:30 -0800 Subject: -Added renewal checks for exp distribution --- npc/quests/quests_rachel.txt | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) (limited to 'npc/quests/quests_rachel.txt') diff --git a/npc/quests/quests_rachel.txt b/npc/quests/quests_rachel.txt index 5687f4e8d..ed77ef22d 100644 --- a/npc/quests/quests_rachel.txt +++ b/npc/quests/quests_rachel.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== -//= 3.4 +//= 3.5 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= @@ -63,6 +63,7 @@ //= 3.4 Added quest log entries for: //= - Ice Necklace Quest //= - Thor Volcano Base Quest addition. +//= 3.5 Added renewal checks for exp distribution [Streusel] //============================================================ // Lost Child Quest (Prerequisite to High Priest quest) @@ -2620,9 +2621,15 @@ OnTouch: mes "Who would be to blame?"; next; set rach_vice,24; + if(checkre(0)) { if (BaseLevel > 90) getexp 130000,0; else if (BaseLevel > 75) getexp 85000,0; else getexp 45000,0; + } else { + if (BaseLevel > 90) getexp 1400000,0; + else if (BaseLevel > 75) getexp 800000,0; + else getexp 400000,0; + } mes "[" + strcharinfo(0) + "]"; mes "Somehow, I wish that"; mes "Katinshuell had the"; @@ -2924,7 +2931,10 @@ rachel,157,183,3 script Sincere Follower Urstia 916,{ mes "token of my appreication for"; mes " what you have done for me."; delitem 7573,1; //Magic_Necklace_ - getexp 70000,0; + if(checkre(0)) + getexp 70000,0; + else + getexp 700000,0; completequest 2113; set ice_necklace_q,6; next; @@ -4266,7 +4276,10 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ if (countitem(12018) >= 20) { cutin "ra_nemma04",2; delitem 12018,20; //FireCracker"; - getexp 20000,0; + if(checkre(0)) + getexp 20000,0; + else + getexp 200000,0; set ra_tem_q,14; mes "[Priestess Nemma]"; mes "Yay!"; @@ -5469,7 +5482,10 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ set ra_tem_q,0; cutin "",255; specialeffect2 EF_ABSORBSPIRITS; - getexp 90000,60000; + if(checkre(0)) + getexp 90000,60000; + else + getexp 900000,600000; end; } else if (MISC_QUEST & 8192) { @@ -6025,7 +6041,10 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "peace between our nations."; completequest 60213; set aru_vol,27; - getexp 20000,0; + if(checkre(0)) + getexp 20000,0; + else + getexp 200000,0; close2; cutin "ra_gman",255; end; -- cgit v1.2.3-60-g2f50