Damn imba items not working like they should
I walked into a shitload of vampires today in my game, and they literally pwned me - turning my entire party red (except 1... wow, they know math
) and whaling on that single green party member. Damn vampires and their damned 'Dominating Gaze'
And know what sucks even more? The fact that Minsc was wearing a friggin Helm that was supposed to 'protect from all mind effects'... yeah it
protected him nicely from being charmed alright
I looked up the item in
NI, it was BHMHELM.ITM, some helm from BoneHill with a nice icon
And it had a load of 'protect from spell' effects, they should work right? Problem is... those vampires were using a mod spell (specifically
SCS' DW#HYPNO.SPL) which wasn't on that list (obviously)
Well the thing with charm immunity is that there's a specially made 'immunity to charm' effect that the item (and any other item that's supposed to protect from charm) is supposed to have...
Hence in the best interest of a fair game
I did this - a component that checks for either the 'Protect from vanilla Charm spell' effect and adds the 'Immunity to Charm' effect if it isn't present
I went ahead and did this too
Looked up the
BG2Fixpack's Core Docs, which says:
Charm: Charm immunity should prevent charm, dire charm, and domination portrait icons as well as suppressing 'charmed' and 'dire charmed' from the text window. It should also prevent the visual effect normally associated with charm as well as displaying the mind shield icon.
So, here's how the spanking new PROPER IMMUNITY ASSIGNER works
Check for Protection from SPWI104.SPL (Charm) OR the Immunity to Charm effect, then add the following if they aren't present:
- Immunity to Charm
- Prevent Charm Icon
- Prevent Dire Charm Icon
- Prevent Domination Icon
- Disable 'Charmed' String
- Disable 'Dire Charmed' String
- Disable 'Dominated' String
- Display Mind Shield Icon (already done by the Portrait assigner component but this does it too
)
- Prevent the Charm animation (spnwchrm.vvc - the green sparkly shit things
)
In the interest of knowing exactly what gets added, I've logged EVERYTHING it does
I've run it in my install and it affects a LOT of items... thing to note is, only mod items get affected in my install
(because I think the BG2Fixpack already did this to all the vanilla items)
I'll probably slowly add in the Immunity to panic and hold effects as well