summaryrefslogtreecommitdiff
path: root/npc/functions/event.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/event.txt')
-rw-r--r--npc/functions/event.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/npc/functions/event.txt b/npc/functions/event.txt
index 6d73389d4..33bc9cc61 100644
--- a/npc/functions/event.txt
+++ b/npc/functions/event.txt
@@ -474,31 +474,32 @@ function script sThanksgiving {
}
// Switch the reward
+ .@blv = BaseLevel + TOP3AVERAGELVL() / 2;
switch (.@luck) {
case 0: // EXP
- .@p=BaseLevel*#THANKS_STREAK;
+ .@p=.@blv*#THANKS_STREAK;
.@p*=3;
getexp .@p, 0;
mes l("You got %d EXP!", .@p);
break;
case 1: // JEXP
- .@p=BaseLevel*#THANKS_STREAK;
+ .@p=.@blv*#THANKS_STREAK;
.@p=.@p*15/10;
getexp 0, .@p;
mes l("You got %d JEXP!", .@p);
break;
case 2: // GP
- .@p=BaseLevel*#THANKS_STREAK;
+ .@p=.@blv*#THANKS_STREAK;
Zeny+=.@p;
mes l("You got %d GP!", .@p);
break;
case 3: // MOBPT
- .@p=BaseLevel*#THANKS_STREAK;
+ .@p=.@blv*#THANKS_STREAK;
Mobpt+=.@p;
mes l("You got %d Monster Points!", .@p);
break;
case 4: // RES
- .@p=BaseLevel*#THANKS_STREAK;
+ .@p=.@blv*#THANKS_STREAK;
.@p*=3;
REAL_ESTATE_CREDITS+=.@p;
mes l("You got %d Real Estate Credits!", .@p);