Is there a way to have a skill automatically activate with a certain percentage chance of doing so? For example, lets say I have a skill that has a chance of activating equal to the user's Agility stat that allows the player to evade all damage. Every time an attack (preferably only of a certain type/element, eg Physical, Fire) were to hit the character, there would be a chance for the Evade skill to activate, which would mean the attack did no damage.
Building on that, is there a way to do this so that it halves the damage taken rather than reducing it completely?
Ideally, the final product of these two would be a rebuild Guard system. Every character would have an automatic chance to block and/or evade each attack, and this chance would depend on their Guard stat (replacing Luck) for Guard and their Agility stat for Evade. The Guard command would then provide a one turn boost to the Guard stat instead of adding the Guard state.
Is this possible?