AI should not use abilities that only apply a status effect (that being they do not deal damage) on characters that have the appropriate armor remaining to block it. For instance, if I've got 1 magic armor, that's enough to block Decaying Touch, but the AI will still use it on me, even though it will have no effect.