From: KiloByte <cas...@us...> - 2011-01-30 02:01:46
|
via cdb8f9122874a318e236a78c6b6e6e5f6b765f73 (commit) from 5661543d6fe24692ae413d1e71c4bb569e7cb6f2 (commit) ----------------------------------------------------------------------- commit cdb8f9122874a318e236a78c6b6e6e5f6b765f73 Author: Adam Borowski <kil...@an...> Date: Sun Jan 30 02:57:31 2011 +0100 Make potions of experience give some xp for skills as well. This stops them from being useless at XL 27; you're very unlikely to see any outside of Ziggurats where they're probably overabundant. It's for consistency with Nemelex who hands out plenty of Experience cards cheaply. The other option would be marking them as useless, and stopping generatino in Zigs. ----------------------------------------------------------------------- Summary of changes: crawl-ref/source/it_use2.cc | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc index 1ed53be..f3b41e7 100644 --- a/crawl-ref/source/it_use2.cc +++ b/crawl-ref/source/it_use2.cc @@ -362,6 +362,8 @@ bool potion_effect(potion_type pot_eff, int pow, bool drank_it, bool was_known) } else mpr("A flood of memories washes over you."); + you.exp_available = std::min(you.exp_available + + 750 * you.experience_level, MAX_EXP_POOL); break; // I'll let this slip past robe of archmagi case POT_MAGIC: -- Dungeon Crawl Stone Soup |