From bbcc058ef270f4236a79ff287922fbb7b887dffb Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 28 Oct 2019 00:59:08 -0300 Subject: Bugfixes. Now it needs balancing --- npc/functions/event.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'npc') 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; -- cgit v1.2.3-70-g09d2