I poked around for a while and figured out how to do something else interesting
🙂
By putting
$game_actors[$game_variables[10]].skills.include?($data_skills[$game_variables[11]])
in the script of a conditional branch, you can check if a certain actor has a certain skill while designating that actor (and the skill) using game variables (variable 10 and 11 in this example respectively. Alternatively you could just specify the skill ID you want to check directly with
$game_actors[$game_variables[10]].skills.include?($data_skills[89])
instead of having to set up a variable representing the skill ID first. (skill 89 happens to be Claw Dance)
VXA already has a built in way to make actors learn skills by specifying an Actor's ID as a variable, so with this handy line of script, there is now also a way to actually check the skills an actor already has using a common event (by specifying an Actor ID as a variable).
So with this, you could make a single common event complex skill learning system (with skill checking to make sure the same actors aren't learning the same skills over and over) that works by simply changing a single variable to match the Actor ID of the Actor who you want to (potentially) learn a new skill. My project uses a Saga-like skill system where skills are learned (assigned semi-randomly from a tier; lv.1 sword_skills, lv.2 sword_skills, ect.) when characters reach certain stat\weapon proficiency requirements, so this will definitely be useful.
Credit goes to
@zadck @LyraVultur @Trihan