Character's personal Ability/Passive

Hey guys been a while since I've been on here. Picking back up on a project I had on pause and upon editing things and tuning things to try and make the combat more appealing. So, this is what I'm currently trying to achieve.
I have my 3 main characters, and I want each of them to have their own ability that activates given certain conditions. I tried messing around with some state scripts and tried using states and conditional branches, but I still can't seem to figure things out without some possible script work.

For one character I want their ability to work at random as a random follow-up attack, so basically after attacking with either a regular attack or skill, there's a chance for a follow-up skill to randomly activate.

A second character's ability activates when their HP reaches below a certain percentage. Once that condition is met, the attack and defense are boosted by a certain percentage while also changing the element of all regular attacks and applying a special state to themselves.

for a third character, it's a simple counter ability while having a percentage chance of inflicting a debuff state

so for now these are the three abilities i want to have for my characters so far but was wondering if they can be tied into the character or class note box if this is possible.

thanks in advance
1) an admittedly tedious way of doing so is to attach a common event to all skills that actor can use, then have it use a random force action.
in case of skills that multiple actors can use you would have to check who used the skill with a unique caster-state

2) simply make a troop event on that condition handling it, and use a base troop script to have it active in every troop (or simply copy it to every troop)

3) that can only be done with a script. And sorry, VXA was too long ago I don't remember which scripts might do this - but will probably need a custom script anyway as it is too specific.


about notetags: the note box itself does nothing on its own, it is just a way to store data for a script to read. So don't ask for notetags, you'll need to find a script first that would have to provide the notetags to be used.

Original thread: https://forums.rpgmakerweb.com/threads/characters-personal-ability-passive.173312/