diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-10-30 21:48:50 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-10-30 21:48:50 -0200 |
commit | e01d0605e26bc0b37ecbc119aa2db13078177d73 (patch) | |
tree | 286171ffacb3086c84b51e839d2a5f56f71bcfbe /npc/functions | |
parent | f0371b56cafa6ddd853ace3730cd938fce15f3da (diff) | |
download | serverdata-e01d0605e26bc0b37ecbc119aa2db13078177d73.tar.gz serverdata-e01d0605e26bc0b37ecbc119aa2db13078177d73.tar.bz2 serverdata-e01d0605e26bc0b37ecbc119aa2db13078177d73.tar.xz serverdata-e01d0605e26bc0b37ecbc119aa2db13078177d73.zip |
That was not how I wanted Daily Rewards to work. Will be updated from Nov 2 onwards.
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/daily.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/daily.txt b/npc/functions/daily.txt index 59c35e244..cc289e4ca 100644 --- a/npc/functions/daily.txt +++ b/npc/functions/daily.txt @@ -77,13 +77,13 @@ function script daily_login_bonus_handler { } else if (#LOGIN_STREAK == 3) { getitem StrangeCoin, 1; dispbottom l("##2 3 Days login bonus: ##B1x @@##b", getitemlink(StrangeCoin)); - } else if (.login_ref % 3 == 0) { + } else if (#LOGIN_STREAK % 3 == 0) { .@value=max(5, rand(0, (#LOGIN_STREAK/4))); .@value+=(BaseLevel**2); .@value=(.@value/2)+#LOGIN_STREAK; getexp .@value, 0; dispbottom l("##2Daily login bonus: ##B@@ EXP##b", .@value); - } else if (.login_ref % 3 == 1) { + } else if (#LOGIN_STREAK % 3 == 1) { .@value=max(20, rand(0, (#LOGIN_STREAK*2))); .@value+=(BaseLevel+JobLevel); Zeny=Zeny+.@value; |