summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/daily.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/npc/functions/daily.txt b/npc/functions/daily.txt
index ad89e0041..eb4adb897 100644
--- a/npc/functions/daily.txt
+++ b/npc/functions/daily.txt
@@ -69,28 +69,28 @@ function script daily_login_bonus_handler {
getitem .@prize, 1;
dispbottom l("##2 27 Days login bonus: ##B1x @@##b", getitemlink(.@prize));
} else if (#LOGIN_STREAK == 21) {
- getitem StrangeCoin, 7;
- dispbottom l("##2 21 Days login bonus: ##B7x @@##b", getitemlink(StrangeCoin));
+ getitem BronzeGift, 1;
+ dispbottom l("##2 21 Days login bonus: ##B1x @@##b", getitemlink(BronzeGift));
} else if (#LOGIN_STREAK == 14) {
- getitem StrangeCoin, 5;
- dispbottom l("##2 14 Days login bonus: ##B5x @@##b", getitemlink(StrangeCoin));
+ getitem BronzeGift, 1;
+ dispbottom l("##2 14 Days login bonus: ##B1x @@##b", getitemlink(BronzeGift));
} else if (#LOGIN_STREAK == 7) {
- getitem StrangeCoin, 2;
- dispbottom l("##2 7 Days login bonus: ##B2x @@##b", getitemlink(StrangeCoin));
+ getitem StrangeCoin, 3;
+ dispbottom l("##2 7 Days login bonus: ##B3x @@##b", getitemlink(StrangeCoin));
} else if (#LOGIN_STREAK == 3) {
getitem StrangeCoin, 1;
dispbottom l("##2 3 Days login bonus: ##B1x @@##b", getitemlink(StrangeCoin));
} else if (#LOGIN_STREAK % 3 == 0) {
+ .@value=max(20, rand(0, (#LOGIN_STREAK*2)));
+ .@value+=(BaseLevel+JobLevel);
+ Zeny=Zeny+.@value;
+ dispbottom l("##2Daily login bonus: ##B@@ GP##b", .@value);
+ } else if (#LOGIN_STREAK % 3 == 2) {
.@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_STREAK % 3 == 1) {
- .@value=max(20, rand(0, (#LOGIN_STREAK*2)));
- .@value+=(BaseLevel+JobLevel);
- Zeny=Zeny+.@value;
- dispbottom l("##2Daily login bonus: ##B@@ GP##b", .@value);
} else {
.@value=max(5, rand(0, (#LOGIN_STREAK/4)));
.@value+=(JobLevel**2);