diff options
author | Jesusaves <cpntb1@ymail.com> | 2025-01-30 21:42:59 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2025-01-30 21:42:59 -0300 |
commit | e1092f723ff51735f06f19bf0dab81bb203e6f35 (patch) | |
tree | 7b3d881cc3e8d6bc9beae7cded193efc2f6d531c | |
parent | b06725d9ca98b9a0f1ed5df8d098a7f7386b418b (diff) | |
download | serverdata-e1092f723ff51735f06f19bf0dab81bb203e6f35.tar.gz serverdata-e1092f723ff51735f06f19bf0dab81bb203e6f35.tar.bz2 serverdata-e1092f723ff51735f06f19bf0dab81bb203e6f35.tar.xz serverdata-e1092f723ff51735f06f19bf0dab81bb203e6f35.zip |
ThinkSome asked me to give some bonus as Warp Mage can't be expected to perfect clear.
So let Ofelia decide how much she expected from you beforehand.
If you meet or exceed her expectations, you get an extra pull.
-rw-r--r-- | npc/019-4-1/ofelia.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/019-4-1/ofelia.txt b/npc/019-4-1/ofelia.txt index b007c00f1..d9adddc03 100644 --- a/npc/019-4-1/ofelia.txt +++ b/npc/019-4-1/ofelia.txt @@ -37,6 +37,13 @@ L_Reward: next; mesc b(l("Do you want to spin the wheel and claim your rewards now? Make sure you have enough space for everything and a stable internet connection!")), 1; if (askyesno() == ASK_NO) { closeclientdialog; close; } + // There are only 31 challenges instead of 32, so here's the special rule + // Main Quest goes up to 23, which completes it. You can also have 5 rebirths. + // Max base level is 200. Max job level is 150. + .@expectation = getq(General_Narrator) + REBIRTH + (JobLevel >= 100) + min(2, BaseLevel/100); + // So if you meet my "expectation", you get a free extra pull. + if (.@progress >= .@expectation) + .@progress += 1 // Some explanation and last chance for regrets mesc l("Prizes are divided in 9 categories: Food, Tea, Cake, Potions, Paper, Exploration, Boxes, Dyes and Rares. You'll do %d pulls in total.", .@progress); mesc l("All categories have an equal chance of being selected, except for Rares, which are always the 15th and 30th pull. Every 5 non-rare pulls, you'll also get some Strange Coins as a memento."); @@ -183,6 +190,7 @@ function _spin { .@amount = rand2(1,3); } else if (.@type$ == "Potion") { .@item = relative_array_random(.potions); + .@amount = any(1,(getq(General_Narrator) > 17 ? 2 : 1); } else if (.@type$ == "Box") { .@item = relative_array_random(.boxes); } else if (.@type$ == "Paper") { |