- Joined
- Jun 4, 2014
- Messages
- 6
- Reaction score
- 1
- First Language
- English
- Primarily Uses
I am working on a boss mechanic using a few Yanfly plug-ins (YEP_CoreEngine, YEP_BattleEngineCore, and the YEP_X_CounterControl) but am having trouble getting the enemy to actually counterattack. The only other plug-ins I have active in the project are the default ones and YEP_ButtonCommonEvents.
I created a specific state that gives the enemy +100% Evasion and +100% Counter Attack and applied the <Evade Counter> notetag to the state.
I also added the <Counter Skill: Fire (or whatever the final skill will be)> notetag to the enemy.
When play testing (on the actual map, not the test battle from the database), once the state is applied, the enemy will dodge the attacks but never counterattack. If I turn the plug-in off, the player character will attack (but it won't show that he missed) and the enemy will counter attack. If I remove the <Counter Skill: Fire> notetag, the enemy will counter with the standard "Counter-Attack" skill.
I am essentially designing the Guard Scorpion from FF7 except it will dodge your attacks and counter with a powerful attack.
Have I set the notetags up incorrectly? Am I missing something? Thanks in advance.
EDIT: I discovered the issue. The enemy did not have the required resources to use the spell. I tested this with multiple skills and varied the MP available to confirm. This can now be closed.
I created a specific state that gives the enemy +100% Evasion and +100% Counter Attack and applied the <Evade Counter> notetag to the state.
I also added the <Counter Skill: Fire (or whatever the final skill will be)> notetag to the enemy.
When play testing (on the actual map, not the test battle from the database), once the state is applied, the enemy will dodge the attacks but never counterattack. If I turn the plug-in off, the player character will attack (but it won't show that he missed) and the enemy will counter attack. If I remove the <Counter Skill: Fire> notetag, the enemy will counter with the standard "Counter-Attack" skill.
I am essentially designing the Guard Scorpion from FF7 except it will dodge your attacks and counter with a powerful attack.
Have I set the notetags up incorrectly? Am I missing something? Thanks in advance.
EDIT: I discovered the issue. The enemy did not have the required resources to use the spell. I tested this with multiple skills and varied the MP available to confirm. This can now be closed.
Last edited:

