MV Making Enemies ingore skill costs

Hi so I have something that I figure will either be a quick yes or no (putting this here since I believe you would need to either modify the rpg maker's code or use a plugin). Basically, as the name of the post suggests, I just want enemies to ignore the cost that a skill would use. I want to do this because of the way I use HP and MP in my current project. An important point as well is that I use Yanfly's Skill Core engine and use the <Hp cost> notetag constantly, so I would need to be able to bypass that as well. I know I can just make duplicate skills that don't have a cost, but I figured I'd see if there's a way to go about it without doing this, and I'm probably not knowledgeable enough about javascript to do something like that.

Thanks!
You could try a custom skill cost and put a condition for the user to be an actor else cost is 0.
For MP costs, you can just use the "MP Cost Rate" special parameter in the engine, and set it to 0- this means they pay 0% of the normal MP cost to use the skill.

There is unfortunately not an equivalent for HP costs, so your best bet for those is to use the <Custom HP Cost> notetag as @HumanNinjaToo suggested, to either multiply the base cost by user.mcr (mp cost rate), or to just use if / else based on user.isActor() or user.isEnemy() (whichever you prefer checking).
For MP costs, you can just use the "MP Cost Rate" special parameter in the engine, and set it to 0- this means they pay 0% of the normal MP cost to use the skill.

There is unfortunately not an equivalent for HP costs, so your best bet for those is to use the <Custom HP Cost> notetag as @HumanNinjaToo suggested, to either multiply the base cost by user.mcr (mp cost rate), or to just use if / else based on user.isActor() or user.isEnemy() (whichever you prefer checking).
Works perfectly, thanks!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/making-enemies-ingore-skill-costs.126276/