Heal scrolls added. Gained from adventures or quests.

This commit is contained in:
Storm Dragon
2026-01-24 18:18:02 -05:00
parent 595de51da0
commit 1b76ccc129
11 changed files with 153 additions and 28 deletions

View File

@@ -418,6 +418,8 @@ void give_unicorn_rewards() {
// Calculate rewards
int favor_reward = 4 + random(1, 4); // 4 + 1d4 = 5-8 favor
favor += favor_reward;
int scrolls_added = add_to_stack(get_personal_count(ITEM_HEAL_SCROLL), 1);
add_personal_count(ITEM_HEAL_SCROLL, scrolls_added);
// Track boss defeat and unlock rune
unicorn_boss_defeated = true;
@@ -429,6 +431,7 @@ void give_unicorn_rewards() {
rewards.insert_last("=== Victory Rewards ===");
rewards.insert_last("");
rewards.insert_last("The gods are pleased with your victory! " + favor_reward + " favor awarded.");
rewards.insert_last("Heal Scrolls: +" + scrolls_added + ".");
rewards.insert_last("");
if (new_rune) {
rewards.insert_last("Learned Rune of Swiftness!");