What is the string for an actor having learned a given skill and for an enemy having a skill included in their actions?
And, if you don't know this, but, what the string for skill usable for enemies and allies?
I know I see something like usable?($data_skills[attack_skill_id])
I'm trying to make it so that for enemy AI, battlers will stall or use Stance to try and avoid attacks in hopes of being healed at low health, and that they will only wait if one of the troop members has the states "Able to Heal" "Has Healing Moves", and the state "Healer". Able to Heal will be auto-applied whenever at least one passive HP-restoring move is usable, Has Healing Moves will be applied when at least one healing move is learned or is in the enemy actions, and Healer will be applied when the enemy strategy is changed to Healer. If any enemy has Has Healing Moves and any enemy has Healer but no enemy is Able to Heal then the enemy will not waste time stalling and will just attack, cept for a little stalling if there is more than one enemy alive.
And, if you don't know this, but, what the string for skill usable for enemies and allies?
I know I see something like usable?($data_skills[attack_skill_id])
I'm trying to make it so that for enemy AI, battlers will stall or use Stance to try and avoid attacks in hopes of being healed at low health, and that they will only wait if one of the troop members has the states "Able to Heal" "Has Healing Moves", and the state "Healer". Able to Heal will be auto-applied whenever at least one passive HP-restoring move is usable, Has Healing Moves will be applied when at least one healing move is learned or is in the enemy actions, and Healer will be applied when the enemy strategy is changed to Healer. If any enemy has Has Healing Moves and any enemy has Healer but no enemy is Able to Heal then the enemy will not waste time stalling and will just attack, cept for a little stalling if there is more than one enemy alive.