summaryrefslogtreecommitdiff
path: root/npc/quests/quests_ein.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/quests/quests_ein.txt')
-rw-r--r--npc/quests/quests_ein.txt186
1 files changed, 134 insertions, 52 deletions
diff --git a/npc/quests/quests_ein.txt b/npc/quests/quests_ein.txt
index 762787bde..299922954 100644
--- a/npc/quests/quests_ein.txt
+++ b/npc/quests/quests_ein.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Evera and The rAthena Dev Team
//===== Current Version: =====================================
-//= 2.5
+//= 2.6
//===== Description: =========================================
//= [Aegis conversion]
//= Oridecon/Mineral Quest
@@ -47,6 +47,7 @@
//= 2.5 Added quest log entries for:
//= - Factory Quest
//= - Murder Quest
+//= 2.6 Added renewal checks for exp distribution [Streusel]
//============================================================
// Oridecon Stone OR Mineral Stone Quest
@@ -3553,26 +3554,50 @@ ein_in01,67,242,3 script Zelmeto 851,{
set $EinPolution,$EinPolution+1;
completequest 8031;
set EinFactory,16;
- if (BaseLevel < 41) {
- getexp 62,0;
- }
- else if (BaseLevel < 51) {
- getexp 308,0;
- }
- else if (BaseLevel < 61) {
- getexp 660,0;
- }
- else if (BaseLevel < 71) {
- getexp 1851,0;
- }
- else if( BaseLevel < 81) {
- getexp 3206,0;
- }
- else if (BaseLevel < 91) {
- getexp 7603,0;
- }
- else if (BaseLevel < 99) {
- getexp 29068,0;
+ if(checkre(0)) {
+ if (BaseLevel < 41) {
+ getexp 61,0;
+ }
+ else if (BaseLevel < 51) {
+ getexp 307,0;
+ }
+ else if (BaseLevel < 61) {
+ getexp 660,0;
+ }
+ else if (BaseLevel < 71) {
+ getexp 1850,0;
+ }
+ else if( BaseLevel < 81) {
+ getexp 3206,0;
+ }
+ else if (BaseLevel < 91) {
+ getexp 7602,0;
+ }
+ else if (BaseLevel < 99) {
+ getexp 29067,0;
+ }
+ }else {
+ if (BaseLevel < 41) {
+ getexp 615,0;
+ }
+ else if (BaseLevel < 51) {
+ getexp 3075,0;
+ }
+ else if (BaseLevel < 61) {
+ getexp 6604,0;
+ }
+ else if (BaseLevel < 71) {
+ getexp 18508,0;
+ }
+ else if( BaseLevel < 81) {
+ getexp 32062,0;
+ }
+ else if (BaseLevel < 91) {
+ getexp 76026,0;
+ }
+ else if (BaseLevel < 99) {
+ getexp 290675,0;
+ }
}
next;
mes "[Zelmeto]";
@@ -4672,17 +4697,32 @@ einbech,165,105,7 script Buender Hikeman#ein 847,{
cutin "ein_hicman",255;
completequest 2078;
set Shinokas_Quest,11;
- if (BaseLevel < 70) {
- getexp 10000,8000;
- }
- else if ((BaseLevel > 69) && (BaseLevel < 80)) {
- getexp 30000,10000;
- }
- else if ((BaseLevel > 79) && (BaseLevel < 90)) {
- getexp 50000,30000;
- }
- else if ((BaseLevel > 89) && (BaseLevel < 100)) {
- getexp 70000,50000;
+ if(checkre(0)) {
+ if (BaseLevel < 70) {
+ getexp 10000,8000;
+ }
+ else if ((BaseLevel > 69) && (BaseLevel < 80)) {
+ getexp 30000,10000;
+ }
+ else if ((BaseLevel > 79) && (BaseLevel < 90)) {
+ getexp 50000,30000;
+ }
+ else if ((BaseLevel > 89) && (BaseLevel < 100)) {
+ getexp 70000,50000;
+ }
+ } else {
+ if (BaseLevel < 70) {
+ getexp 100000,80000;
+ }
+ else if ((BaseLevel > 69) && (BaseLevel < 80)) {
+ getexp 300000,100000;
+ }
+ else if ((BaseLevel > 79) && (BaseLevel < 90)) {
+ getexp 500000,300000;
+ }
+ else if ((BaseLevel > 89) && (BaseLevel < 100)) {
+ getexp 700000,500000;
+ }
}
end;
case 2:
@@ -5944,17 +5984,38 @@ ein_in01,31,138,3 script Calla#ein 90,{
mes "feel goooood~";
percentheal 100,0;
set EIN_LOVERQ,17;
- if (BaseLevel < 41) {
- getexp 61,0;
- }
- else if (BaseLevel < 61) {
- getexp 600,0;
- }
- else if (BaseLevel < 81) {
- getexp 3000,0;
+ if(checkre(0)) {
+ if (BaseLevel < 41) {
+ getexp 61,0;
+ }
+ else if (BaseLevel < 61) {
+ getexp 600,0;
+ }
+ else if (BaseLevel < 81) {
+ getexp 3000,0;
+ }
+ else if (BaseLevel < 99) {
+ getexp 20000,0;
+ }
+ } else {
+ if (BaseLevel < 41) {
+ getexp 3712,0;
+ }
+ else if (BaseLevel < 61) {
+ getexp 7425,0;
+ }
+ else if (BaseLevel < 71) {
+ getexp 14850,0;
+ }
+ else if (BaseLevel < 81) {
+ getexp 29700,0;
+ }
+ else if (BaseLevel < 91) {
+ getexp 59400,0;
+ }
+ else if (BaseLevel < 99) {
+ getexp 118800,0;
}
- else if (BaseLevel < 99) {
- getexp 20000,0;
}
next;
mes "[Calla]";
@@ -6412,17 +6473,38 @@ ein_in01,200,101,5 script Klitzer#ein 854,{
percentheal 100,0;
delitem 1901,1; //Violin
set EIN_LOVERQ,5;
- if (BaseLevel < 41) {
- getexp 61,0;
- }
- else if (BaseLevel < 61) {
- getexp 600,0;
- }
- else if (BaseLevel < 81) {
- getexp 3000,0;
+ if(checkre(0)) {
+ if (BaseLevel < 41) {
+ getexp 61,0;
+ }
+ else if (BaseLevel < 61) {
+ getexp 600,0;
+ }
+ else if (BaseLevel < 81) {
+ getexp 3000,0;
+ }
+ else if (BaseLevel < 99) {
+ getexp 20000,0;
+ }
+ } else {
+ if (BaseLevel < 41) {
+ getexp 3712,0;
+ }
+ else if (BaseLevel < 61) {
+ getexp 7425,0;
+ }
+ else if (BaseLevel < 71) {
+ getexp 14850,0;
+ }
+ else if (BaseLevel < 81) {
+ getexp 29700,0;
+ }
+ else if (BaseLevel < 91) {
+ getexp 59400,0;
+ }
+ else if (BaseLevel < 99) {
+ getexp 118800,0;
}
- else if (BaseLevel < 99) {
- getexp 20000,0;
}
next;
mes "[Klitzer]";