I am using Yanfly's PartyLimitGauge and SkillCoolDown plugins. I would like to have it so that after a character uses a party limit skill there is a cooldown (say 5 turns) for all party members to use the skill again regardless of their being enough party limit gauge to use the skill. Does anyone know how to do this?
Thanks!
Put a state on every member of the party when the Limit Skill is used. Use Yanfly's state categories plugin to make sure it doesn't go away on death with
<Category: Bypass Death Removal>
Use Yanfly's custom skill requirements from Skill Core to require that your party members do NOT have that state.
<Custom Requirement>
if (user.isStateAffected(11)) {
value = false;
} else {
value = true;
}
</Custom Requirement>
You could use a variable instead of a state to store that information if you wanted, as well, but having a visible cooldown timer might be useful for players.
Excellent. It works! Thank you.