Here is the script:
http://ytomy.sakura.ne.jp/tkool/rpgtech/php/tech.php?tool=XP&cat=tech_xp/skill&tech=skill_cp
My question is, is there a way to determine whether a skill is currently equipped on an actor or not?
The skill conditional branch will always return true if the skill is learnt, reguardless if equipped in the CP system or not.
Maybe use the script call:
$game_actors[ACTOR_ID].battle_skills.include?(SKILL_ID)
replacing ACTOR_ID and SKILL_ID obviously.
Thanks! It worked. Strange, I actually tried that before posting here. Undefined method for battle_skills if I recall correctly.
Just to clarify, is the first actor 0 or 1 in RMXP? I remember something like the first actor should actually be 0 instead of 1. Maybe that was something else.
It's 1. 0 is always nil so it's used internally to indicate "unassigned" or "nonexistent".