Making individual creatures immune to on-hit slay
jpsweeney94
Member Posts: 93
Looking for advice on how to make an individual creature immune to on-hit slay.... is this an option in the toolset or does it need to be done via scripting?? I know there is a fortitude save but no matter how high a *1* still works... so how do i make it immune to on-hit slay period??
thanks
thanks
0
Comments
If that doesn't work (the wiki says it won't, weird) could you try to replace the on-hit property with something else - maybe On Hit-Cast Spell-Unique Power and then script it?
do you mean replace on-hit slay on the item in question? if so id like to avoid that... To be clear the item is dragon slaying arrows with on-hit slay for dragons... id only like 2 dragons to be immune to the on-hit slay, the other dragons id like to be 'slay-able"
obviously it has some drawbacks such as making that dragon to be immune to all disable effects and devastating critical as well, but if that should be a real boss it might not be such a big deal
As for the question, one way way to solve this would be to replace On Hit: Slay Racial Type with On Hit Cast Spell: Unique Power, and scripting it so that it mimics On Hit Slay Racial Type while excluding the people you want immune. I've written a script for it below, which worked in my testing. To use it, you'll need to put a script in your module that is named what your item's tag is and make sure that Tag Based Scripting is enabled in your module.
EDIT: It occurs to me that On Hit Slay Racial Type doesn't have a random chance to activate associated with it, but it should be easy enough to make it 100% chance to activate either by setting the value of nChance to 0 or by simply removing the check for nChance entirely.