Sorry to do this, but I've got a few questions that don't merit clogging up more of Yanflys plugin page, and they aren't really requests either. I am trying to make a skill that removes a certain STATE category (using yanfly's STATE category plugin) here is how far I got:
The skill is supposed to check if the target is using a MODE and if it is deal increased damage and then remove the MODE. If not, the skill does normal damage and goes on cooldown.
<damage formula>
value = a.atk * 2;
if (battler.isStateCategoryAffected(‘Mode’)){
value *= 5.0;
battler.removeStateCategoryAll(‘Mode’);
} else {
value *= 1;
}
</damage formula>
What happens in game is... skill is used, deals 0 damage, MODE remains.
The other question is what tags would be best to use on states to display an animation for a state when its added and when a state is leaving?
<Custom Apply Effect>
target.startAnimation(15);
</Custom Apply Effect>
<Custom Turn End Effect>
target.startAnimation(15);
</Custom Turn End Effect>
Would this work? I only want it to show when its added or removed!
The skill is supposed to check if the target is using a MODE and if it is deal increased damage and then remove the MODE. If not, the skill does normal damage and goes on cooldown.
<damage formula>
value = a.atk * 2;
if (battler.isStateCategoryAffected(‘Mode’)){
value *= 5.0;
battler.removeStateCategoryAll(‘Mode’);
} else {
value *= 1;
}
</damage formula>
What happens in game is... skill is used, deals 0 damage, MODE remains.
The other question is what tags would be best to use on states to display an animation for a state when its added and when a state is leaving?
<Custom Apply Effect>
target.startAnimation(15);
</Custom Apply Effect>
<Custom Turn End Effect>
target.startAnimation(15);
</Custom Turn End Effect>
Would this work? I only want it to show when its added or removed!