summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-10-28 00:59:08 -0300
committerJesusaves <cpntb1@ymail.com>2019-10-28 00:59:08 -0300
commitbbcc058ef270f4236a79ff287922fbb7b887dffb (patch)
tree02b614cb265292f170ac46d56216ef9d88a43d7e /npc
parentee2ec41a30c4575d037f20c0a9e2a4d642a08122 (diff)
downloadserverdata-bbcc058ef270f4236a79ff287922fbb7b887dffb.tar.gz
serverdata-bbcc058ef270f4236a79ff287922fbb7b887dffb.tar.bz2
serverdata-bbcc058ef270f4236a79ff287922fbb7b887dffb.tar.xz
serverdata-bbcc058ef270f4236a79ff287922fbb7b887dffb.zip
Bugfixes. Now it needs balancing
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/event.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/npc/functions/event.txt b/npc/functions/event.txt
index e77f8409c..b4810248c 100644
--- a/npc/functions/event.txt
+++ b/npc/functions/event.txt
@@ -114,19 +114,21 @@ function script sThanksgiving {
if (debug || $@GM_OVERRIDE) {
mes l("You got a %d", .@luck);
mesf "Spins: %d/%d (cur %d extra %d)", .@i, .@spins, .@cur, .@extra;
- next;
+ mes "";
+ //.@luck=;
}
// Switch the reward
switch (.@luck) {
case 0: // EXP
.@p=BaseLevel*#THANKS_STREAK;
- .@p*=2;
+ .@p*=3;
getexp .@p, 0;
mes l("You got %d EXP!", .@p);
break;
case 1: // JEXP
.@p=BaseLevel*#THANKS_STREAK;
+ .@p=.@p*15/10;
getexp 0, .@p;
mes l("You got %d JEXP!", .@p);
break;
@@ -153,6 +155,7 @@ function script sThanksgiving {
.@p=(#THANKS_STREAK > 21 ? PrismGift : .@p);
.@p=(#THANKS_STREAK > 27 ? SupremeGift : .@p);
mes l("You got a(n) %s gift!", getitemlink(.@p));
+ getitem .@p, 1;
break;
case 6: // STR C
.@p=#THANKS_STREAK;