I've created a script for a class focused on using Psychic powers to damage enemies. One of the skills included is called "Psychic Splinter" which initially damages the enemy and places a state on them "Mind Splinter" which is as follows
Mind Splinter
- Element Rate: Psychic * 120%
After that, it then leaves state (16) Which is a basic Daze, and state (161) which is as follows, "Mind Scorched",
Mind Scorched
- Parameter Max MP * 75%
- Element Rate * Psychic * 105%
The problem I'm having here is that after Mind Splinter expires and leaves Mind Scorched, the enemy in question becomes invincible for some reason. If I attack, the enemy will receive the damage popups, but no damage will actually be applied. I have no idea how I can fix this, any idea what the problem is? (I'm using a multitude of Yanfly's plugins, if not already noticeable.)
EDIT: Posted this before realizing I was posting in the wrong place >_<
Mind Splinter
- Element Rate: Psychic * 120%
Code:
<Custom Leave Effect>
target.startAnimation(102);
target.addState(161);
target.addState(16);
</Custom Leave Effect>
<Reapply Ignore Turns>
After that, it then leaves state (16) Which is a basic Daze, and state (161) which is as follows, "Mind Scorched",
Mind Scorched
- Parameter Max MP * 75%
- Element Rate * Psychic * 105%
Code:
<DoT Formula: b.mmp * 0.1 + 20 * a.level>
<DoT Element: Psychic>
The problem I'm having here is that after Mind Splinter expires and leaves Mind Scorched, the enemy in question becomes invincible for some reason. If I attack, the enemy will receive the damage popups, but no damage will actually be applied. I have no idea how I can fix this, any idea what the problem is? (I'm using a multitude of Yanfly's plugins, if not already noticeable.)
EDIT: Posted this before realizing I was posting in the wrong place >_<