From: <gi...@cr...> - 2025-07-13 22:25:12
|
via 3f999f4160642223652214ff4a71fecd5afcb6b2 (commit) from bdec800ac2b62f63ddd311ccbda74e10ad77a017 (commit) ----------------------------------------------------------------------- commit 3f999f4160642223652214ff4a71fecd5afcb6b2 Author: hellmonk <nld...@gm...> Date: Sun Jul 13 15:54:04 2025 -0500 Shuffle some properties Move cheaper casting to amulet of alchemy instead of conjuring orb. ----------------------------------------------------------------------- Summary of changes: crawl-ref/source/dat/descript/items.txt | 4 ++++ crawl-ref/source/describe.cc | 4 ++-- crawl-ref/source/spl-util.cc | 6 ++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/crawl-ref/source/dat/descript/items.txt b/crawl-ref/source/dat/descript/items.txt index 837a9bc899..cd27ad209c 100644 --- a/crawl-ref/source/dat/descript/items.txt +++ b/crawl-ref/source/dat/descript/items.txt @@ -6,6 +6,10 @@ much protection as the armour made from the scales of some larger dragons, it is somewhat lighter and less encumbering. It is also remarkably smooth, letting corrosive slime flow off it like water. %%%% +Amulet of alchemy + +An amulet that enhances and reduces the mp cost of alchemy spells. +%%%% amulet of faith A charm crafted to call the attention of the gods to its wearer. This divine diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 73af513df1..cfae7e4aee 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -681,7 +681,7 @@ static const char* _jewellery_base_ability_description(int subtype) return "It improves your ability with shapeshifting, depending on " "your skill."; case AMU_ALCHEMY: - return "It enhances your alchemy spells."; + return "It enhances your alchemy spells and reduces their mp cost."; #if TAG_MAJOR_VERSION == 34 case AMU_INACCURACY: return "It reduces the accuracy of all your attacks."; @@ -2382,7 +2382,7 @@ static const char* _item_ego_desc(special_armour_type ego) "The shielding is half as effective if the wielder's offhand is " "occupied by an item other than their weapon."; case SPARM_CONJURING: - return "It enhances and cheapens the wearer's conjurations, and " + return "It enhances the wearer's conjurations, and " "provides a spellpower boost to all non-conjuration spells that " "depends on the wearer's conjurations skill."; case SPARM_GLASS: diff --git a/crawl-ref/source/spl-util.cc b/crawl-ref/source/spl-util.cc index 5b5e259a67..737c81565a 100644 --- a/crawl-ref/source/spl-util.cc +++ b/crawl-ref/source/spl-util.cc @@ -556,11 +556,9 @@ int spell_mana(spell_type which_spell, bool real_spell) if (you.has_mutation(MUT_EFFICIENT_MAGIC)) cost = max(1, cost - you.get_mutation_level(MUT_EFFICIENT_MAGIC)); - if (you.wearing_ego(OBJ_ARMOUR, SPARM_CONJURING) - && spell_typematch(which_spell, spschool::conjuration) - && real_spell) + if (spell_typematch(which_spell, spschool::alchemy) && real_spell) { - cost = max(1, cost - 1); + cost = max(1, cost - you.wearing_jewellery(AMU_ALCHEMY)); } if (you.duration[DUR_BRILLIANCE] || you.unrand_equipped(UNRAND_FOLLY)) -- Dungeon Crawl Stone Soup |