A few questions regarding effects.

I'm working on a mod to add the binder class from 3.5 to Baldur's Gate, and I have a few questions regarding if certain things can be done with effects.
First, is it possible to implement an effect that gives a 50 percent chance to ignore a physical attack (take no damage) when hit?
Second, is it possible to implement an effect that alters the items that the caster can use for a set duration? Essentially what I'm looking to achieve is giving the class the ability to be able to use scrolls, heavy armor, martial weapons for 8 hours via an ability for each type of equipment. Is this possible to do this? The only opcode I found that did something similar is the Use any Item opcode, but that's not quite what I'm going for.
Thanks.
First, is it possible to implement an effect that gives a 50 percent chance to ignore a physical attack (take no damage) when hit?
Second, is it possible to implement an effect that alters the items that the caster can use for a set duration? Essentially what I'm looking to achieve is giving the class the ability to be able to use scrolls, heavy armor, martial weapons for 8 hours via an ability for each type of equipment. Is this possible to do this? The only opcode I found that did something similar is the Use any Item opcode, but that's not quite what I'm going for.
Thanks.
0