WhiZard wrote...
He is looking at a means of "socketing" a disarm immune property on an item, typically this applies to weapons. A global disabling of the feat does not seem to be what the OP has in mind. The equip and unequip player events are already there, so I don't see how the plugin would be more efficient through rescripting the feat usage.
Basically you would code a feat use check in nwnx_cool, for disarm, when a monster disarms, check for a local integer on the PC (for optimization apply it when the PC uses the socket), then when the monster uses the feat, it will be supressed, because the PC is immune to disarm...
However, making the item read "Immunity To Disarm", now that would be another subject entirely different...
It's far easier to set an integer on the PC and just use the gem on the PC instead of "an item", to give the PC immunity to disarm... I'd just send them a message, "You are now permanently immune to disarm", but that's the way I roll things... (I'm shying away from item properties and moving towards permanent abilities/special abilities/powers on PCs, that way the PC cannot transfer the item.)
To me it kind of takes away module re-play value when you can xfer all of your gear to a new toon...
Modifié par _Guile, 30 mai 2013 - 02:31 .