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 --- db/item_options.conf | 2 +- npc/functions/event.txt | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/db/item_options.conf b/db/item_options.conf index 4514fa376..449e564ea 100644 --- a/db/item_options.conf +++ b/db/item_options.conf @@ -114,7 +114,7 @@ item_options_db: ( { Id: 15 Name: "VAR_PLUSASPD" - Script: <" bonus(bAspd, getequippedoptioninfo(IT_OPT_VALUE)); "> + Script: <" bonus(bAspd, getequippedoptioninfo(IT_OPT_VALUE)/2); "> }, { Id: 16 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-60-g2f50