0 of 0

File information

Last updated

Original upload

Created by

Ginger aka fardriel

Uploaded by

fardriel

Virus scan

Safe to use

About this mod

Allows the proper metamagic to be used for spells

Requirements
Permissions and credits
Donations
In Wrath of the Righteous, a lot of spells are not simply one spell, but a "casting" spell and one or more "effect" spells. For example, Cure Light Wounds is split into CureLightWoundsCast (for the UI and for casting), CureLightWounds (for applying positive energy healing), and CureLightWoundsDamage (for dealing positive energy damage). All of these have different metamagic available to them.

In vanilla, CureLightWoundsCast (and other [SpellName]Cast abilities, like ShockingGraspCast) are missing some of their metamagic entries. Presumably, Owlcat used an automatic algorithm to apply AvailableMetamagic to spells, and it checked the Cast spells and saw they didn't deal damage and so they didn't apply Empower and Maximize as options, for example.

This mod looks at every spell and re-evaluates their metamagic on game bootup, fixing the metamagic that is available to touch spells, cantrips, and any other spells that might have had the wrong metamagic assigned.

The current metamagics this fixes are: Empower, Maximize, Quicken, Extend, Reach, Bolster. I haven't noticed the other metamagics being broken. If I've missed any, or if a spell doesn't have a metamagic that you think it should, let me know in the comments and I'll see what I can do.

Note: This mod does not change metamagic costs. The screenshots have the metamagic costing 0 because of a different mod.

Installation
Install with UMM
- Open Unity Mod Manager, click on the Mods tab, and drag the zip file to the area that it tells you to drag zip files to

Known Bugs
Ray of Exhaustion cannot be extended, even though it has a duration. This isn't the fault of the spell - even if you gave it Extend metamagic, it would always have the same duration. There may be other spells that have the same limitation that I haven't spotted.

Changelog
- Version 1.3.2 -
Rewrote blueprint acquisition to go through spell lists. Should speed up bootup times a bit
Fixed Bestow Grace of the Champion being marked as not extendable by Owlcat, even though it is extendable

- Version 1.3.1 -
Removed the log spam
Forced patching to happen after WorldCrawl loads, so that my changes apply to its spells as well
Fixed an issue that could rarely cause a crash at game startup

- Version 1.3.0 -
Another complete rewrite. Patching should now pick up all buffs, as well. (Fixes spells like Ray of Enfeeblement, whose durations were on the action that applied their buff)

- Version 1.2.4 -
Optimized spell parsing behavior. Bootup time spent working with this mod should be about 30% of what it was before (though it took hardly any time at all, before, so you probably won't even notice the difference. Why do I do this to myself?)

- Version 1.2.3 -
Fixed spell property parsing behavior. The patching should now pick up every action for every spell. (Fixes spells like AngelCleansingFlames, that only had an effect on a failed saving throw)

- Version 1.2.2 -
Rewrote checks for Extend, Empower, and Maximize. They should now work properly (i.e. not get applied to spells with permanent duration)
Added behavior for Bolster metamagic

- Version 1.2.1 -
I, uh... don't remember. I lost the files for 1.2.1. WHOOPS

- Version 1.2 -
Rewrote from the ground up. Now fixes all spells based on the following criteria (Note that touch spells use their effect variant, instead of themselves, for these checks):
- If their range is less than Long, they are given Reach
- If their cast time is a standard or full round action, they are given Quicken
- If they have a duration, they are given Extend
- If they use dice, they are given Empower and Maximize (specifically: ContextActionBreathOfLife, ContextActionDealDamage, ContextActionHealStatDamage, ContextActionHealTarget, ContextActionRepeatedActions, or ContextActionSpawnMonster that have a DiceType that is not Zero)

- Version 1.1 -
Added Death Ward, Crusader's Edge, Freedom of Movement, Disrupting Weapon, Prayer, True Seeing

- Version 1.0 -
Original version

Credits
Big thanks to swizzlewizzle, author of Worldcrawl (who has graciously lent me the use of several helper and extension functions for this mod). Be sure to check out Worldcrawl, as it fixes the Persistent metamagic, in addition to many other changes.