summaryrefslogtreecommitdiff
path: root/npc/functions/daily.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-19 15:20:05 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-19 15:20:05 -0200
commitfe9d9f60481c61299817e5ff6111cf8580d7cf00 (patch)
tree969fbb878105fb2c699b496e7270bf046a5a6b4c /npc/functions/daily.txt
parenta88bf8d532621bb3396d365fd78ff74694e39310 (diff)
downloadserverdata-fe9d9f60481c61299817e5ff6111cf8580d7cf00.tar.gz
serverdata-fe9d9f60481c61299817e5ff6111cf8580d7cf00.tar.bz2
serverdata-fe9d9f60481c61299817e5ff6111cf8580d7cf00.tar.xz
serverdata-fe9d9f60481c61299817e5ff6111cf8580d7cf00.zip
Replace some Strange Coins for Bronze Gifts on daily login.
You know what this means? Moar randomness! %%e
Diffstat (limited to 'npc/functions/daily.txt')
-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);