Passive skill changing color of fire

Is it possible to have a passive skill that when equipped changes the hue of skills used by the actor?

Using Yanfly skill learn system
<Post-Damage Eval>
if (user.isLearnedSkill(x)) {
target.startAnimation(bluefire id) } else {
target.startAnimation(redfire id) }
</Post-Damage Eval>

hue changes lags the engine, use separate animations instead and edit the color yourself
Thank you, I appreciate the help and advice. I am assuming I would need to post this script in the note of the skill, well each skill, right?
<Post-Damage Eval>
if (user.isLearnedSkill(x)) {
target.startAnimation(bluefire id) } else {
target.startAnimation(redfire id) }
</Post-Damage Eval>

hue changes lags the engine, use separate animations instead and edit the color yourself
Currently as is, this causes the animation to play again after damage (pretty sure the eval above should be before damage) and doesn't change the animation being used.
it does use the post-damage eval, so of course the code is processed after the damage - if you want it at another time you need to use a different eval segment
it does use the post-damage eval, so of course the code is processed after the damage - if you want it at another time you need to use a different eval segment
Yea i figured that part out, as stated above lol
I have it pre-eval now, which may still be to late not 100% sure. Problem is its just playing the animation twice and not playing the different animation on use.
Would a custom apply effect work better for this? Also the animations will not switch no matter what I do. And yes, I have made sure to learn the required skill first
Does the skill itself still list the animation in the database? If so, that might be why it plays twice.
Does the skill itself still list the animation in the database? If so, that might be why it plays twice.
If I turn the animation off on the skill nothing plays at all.
Not sure why I can't figure this out. But so far nothing has worked.
Well you can always make an animation in the database that plays nothing then let the plugin do it's thing.
Well you can always make an animation in the database that plays nothing then let the plugin do it's thing.
Ill try that. Right now I seem to have another issue thats more important lol
Noted!
Iol going to try your idea now. And no lol blank animation is exactly the same as none apparently.
Still need to solve this

Original thread: https://forums.rpgmakerweb.com/threads/passive-skill-changing-color-of-fire.108751/