summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2025-01-08 21:54:40 +0000
committerLed Mitz <smoothshifter@tuta.io>2025-01-08 21:54:40 +0000
commit40a8560c120f36dc448a11981391eb7e9b557c2c (patch)
treed86ff6767d4d4270235906b05f6ce97faa819e73
parentd306dcf35d59950dd786b257222b7bf45d50aac9 (diff)
downloadserverdata-40a8560c120f36dc448a11981391eb7e9b557c2c.tar.gz
serverdata-40a8560c120f36dc448a11981391eb7e9b557c2c.tar.bz2
serverdata-40a8560c120f36dc448a11981391eb7e9b557c2c.tar.xz
serverdata-40a8560c120f36dc448a11981391eb7e9b557c2c.zip
Add boss point reward to Cindy quest helpers
Nowadays noone does repeat fighting down there. Reward up for discussion. +Reduce lifetime of @bonus temporary Tested with lvl 102 char. It got 70 bp first them, then 38 on next win.
-rw-r--r--world/map/npc/031-4/cindyCave.txt18
1 files changed, 14 insertions, 4 deletions
diff --git a/world/map/npc/031-4/cindyCave.txt b/world/map/npc/031-4/cindyCave.txt
index 4ce5d596..df56175f 100644
--- a/world/map/npc/031-4/cindyCave.txt
+++ b/world/map/npc/031-4/cindyCave.txt
@@ -202,17 +202,27 @@ OnReward:
set @bonus, (BaseLevel/2);
set DailyQuestBonus, DailyQuestBonus + @bonus;
message strcharinfo(0), "You feel a temporary rush of power and zest for action. " + @bonus + " daily bonus gained." ;
+ set @bonus, 0;
+
if (QL_CINDY != 1 )
- goto L_End;
+ goto L_RepeatReward;
+
set QL_CINDY, 2;
message strcharinfo(0), "Cindy looks relieved and as if she wants to talk with you.";
getexp 100000, 0;
set BOSS_POINTS, BOSS_POINTS + 70;
message strcharinfo(0), "You gain 70 Boss Points giving you a total of " + BOSS_POINTS + ".";
- goto L_End;
+ end;
-L_End:
- set @bonus, 0;
+L_RepeatReward:
+ message strcharinfo(0), "Cindy looks relieved and is grateful for helping to save her again.";
+ getexp 5000, 0;
+ // Reward is 20 BP and starts decreasing, one per 5 levels, after lvl 74.
+ // Bottoms out at lvl 120 and 10 boss points.
+ set @bp, 20 - max (0, min ((BaseLevel - 74)/5, 10));
+ set BOSS_POINTS, BOSS_POINTS + @bp;
+ message strcharinfo(0), "You gain " + @bp + " Boss Points giving you a total of " + BOSS_POINTS + ".";
+ set @bp, 0;
end;
OnInit: