diff options
Diffstat (limited to 'npc/functions/daily.txt')
-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; |