FIrst I tried the obvious. Made the enchantment CE. i.e CE Cure Poison. It doesn't work because Cure poison only lingers the first second I equip the cuirass and then its useless.
Ok, So I came up with this script
short OnPCEquipif ( Player->GetEffect sEffectPoison == 1 )if ( OnPCEquip == 1 ) Cast "cure poison touch" Playerendifendif
Well, the script just doesn't work.
First problem. The script detects poisoneffect alright but not "OnPCEquip" when loading the game with the cuirass already equipped. I have to re-equip the cuirass every time I load the game to make it work correctly.
Second problem is "Cast". Every single time, the frame it casts the spell, the grame crashes. How can I fix that? I tried to delay casting the spell, with or without "player->" prefix, but every time the same result.
I can try "removeeffects" but it removes the whole spell not just poisoneffect. Like in Adamantium Jinkblade of Wounds. It is coupled with Paralyze. The "removeeffect removes Paralyze too. I don't want that.
This is very frustrating. Anybody has any suggestion?