Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

[Magiclysm] Add spell school deficiency traits

Open Standing-Storm opened this issue 5 months ago • 0 comments

Summary

Mods "[Magiclysm] Add spell school deficiency traits"

Purpose of change

The benefit of spells being categorized by hardcoded flags (Channeling, Restoration, etc.) is that we can use those flags to manipulate them in various ways.

Describe the solution

Add "School Deficiency" traits for each of the spell schools. Taking one of these traits locks out that school--it adds +1000 to the Difficulty (reducing chance to cast by roughly 12,000%) and, just in case you manage to get a spell from that school with the NO_FAIL flag, also multiplies the casting cost by 1000 as well.

This allows for non-combat mages (take the School Deficiency: Evocation trait, which will lock you out of most combat magic), mages who can't just easily call on summons or whip up armor and weapons out of nowhere (take the School Deficiency: Conjuration trait), and so on.

I also added in the possibility for NPCs to have these traits, as another in-world reason why magic lost some of its luster. You'd get people who dreamed to be medical biomancers and then learn that no matter what they do, they can't cast Restoration spells. Say what you will about technology, but no one is born with a condition where a car doesn't turn on if they start it.

Describe alternatives you've considered

Testing

Yeah, no Evocation spells for this guy:

Untitled

Additional context

Standing-Storm avatar Sep 06 '24 04:09 Standing-Storm