Modding kit-based saving throw penalty for caster targets
pietrko
Member Posts: 13
How is implemented the saving throw penalty a target of specialist mage spell recieves?
I tried looking into kit abilites in BG2 but found none for specialist wizards.
I wonder how it can be modded, let's say I would like to make a HLA that gives -1 to saving throw for spell target for given school, how could I achieve it?
I tried looking into kit abilites in BG2 but found none for specialist wizards.
I wonder how it can be modded, let's say I would like to make a HLA that gives -1 to saving throw for spell target for given school, how could I achieve it?
0
Comments
- Make an HLA that permanently applies a hidden spell state (or some other splprot.2da accessible stat that can be checked).
- Patch every spell of that school to check if the original caster has the spell state from the HLA. If they do, apply a -X penalty the target's saving throws for 1 second as the first thing the spell does (this is long enough to affect subsequent spell effects with instantaneous timing).
It would require patching spells too?
im really curious how they did it with specializations
Ok I've got the HLA.
Now which effect I should use to make a condtional saving throw penalty?
I consider using OpCode 326 using Paramater 2 - 76 (SPLSTATE = specified value) with a special spell that decreases saving throws, but this is unclean and forces me to either add another saving throw decreasing spell that is applied immidiately before EVERY spell with spell throw.....
Any other ideas?
Does order of effects even is considered? ( I guess).
What about projectile speed and so on.
I fear all those problems.
Other problem is stacking of those saving throw penalites...