Different message displayed on skill usage.

Hi!

How do i make a skill display a different message under conditions

I have a skill that only drains the MP of a certain enemy, otherwise it does damage. So I want the message displayed on usage too say the MP was drained.

My skill is a skill with the following formula.

if b.enemy_id == 53; b.mp -= 1; d=0; else; d=7;  end; d

Thanks!
How do i make a skill display a different message under conditions
You might try bypassing the normal combat messaging (leave it blank) and then add your own text messages via a common event attached to your skill. 

That's what I do when I have condition-based messages I want to display during combat.
You might try bypassing the normal combat messaging (leave it blank) and then add your own text messages via a common event attached to your skill. 

That's what I do when I have condition-based messages I want to display during combat.
This would be a very terrible thing to do, because it would only run AFTER the whole skill + damage/effects are performed.

You might want to look into script-requesting this, or some google searches to see if there's something made for this.
maybe try the pre-skill eval thingy script...
This would be a very terrible thing to do, because it would only run AFTER the whole skill + damage/effects are performed.
I use common event effects to show different skill messages under conditions in combat and it seems to work pretty good, at least for me.  Though it may not be workable for the OP's situation.  I don't know enough about how their game is structured to say.  I'm sure a script designed specifically for the purpose would do a better job.

Their post has gone unanswered now for several days so I was just trying to offer some food for thought.  I'm sorry you thought my suggestion was terrible.

Original thread: https://forums.rpgmakerweb.com/threads/different-message-displayed-on-skill-usage.21074/