Change MP costs in Battle?

Hey guys!

So I have created a Field Skill system (thanks for the help Aeon!) that affects the environment. Such as putting out fires and breaking rocks. However, say that my Skill "Crush" breaks rocks outside of battle, but during battle it can be used to deal damage.
I want it to cost 0 MP while being cast from the menu to break rocks but I want it to cost say, 2 MP while casting it in battle. Is there any way to do this? Not to familiar with plugins or scripting.

Thanks in advance,
TheSoulBlade
Hey guys!

So I have created a Field Skill system (thanks for the help Aeon!) that affects the environment. Such as putting out fires and breaking rocks. However, say that my Skill "Crush" breaks rocks outside of battle, but during battle it can be used to deal damage.
I want it to cost 0 MP while being cast from the menu to break rocks but I want it to cost say, 2 MP while casting it in battle. Is there any way to do this? Not to familiar with plugins or scripting.

Thanks in advance,
TheSoulBlade
You can always disable using this skill in battle but it's propably not that what you want. There are for sure script commands that could help you, you just need to search for it. Unfurtunately i can't help you with that.

I've moved this thread to Plugin Request. Thank you.

If I was you I would create 2 skills
One for the battle
One for the map.

On the paper they would be the same (at least for the player)

If you already use the Yanfly Skill plugin (http://www.yanfly.moe/wiki/Skill_Core_(YEP)) on this two skill you should use those notepad :

<Hide in Field>

<Hide in Battle>

So the one that cost MP would be available on the batlle
and the one without MP cost will be available on the field.

Original thread: https://forums.rpgmakerweb.com/threads/change-mp-costs-in-battle.120799/