summaryrefslogtreecommitdiff
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
parentee2ec41a30c4575d037f20c0a9e2a4d642a08122 (diff)
downloadserverdata-bbcc058ef270f4236a79ff287922fbb7b887dffb.tar.gz
serverdata-bbcc058ef270f4236a79ff287922fbb7b887dffb.tar.bz2
serverdata-bbcc058ef270f4236a79ff287922fbb7b887dffb.tar.xz
serverdata-bbcc058ef270f4236a79ff287922fbb7b887dffb.zip
Bugfixes. Now it needs balancing
-rw-r--r--db/item_options.conf2
-rw-r--r--npc/functions/event.txt7
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;