MV Olivia Boost Point Cost Issue

I'm currently using Olivia's Boost Point System and was messing with the notetags for Boost Point Cost.

I noticed that when you have a cost for a skill, the skill automatically becomes unusable outside of battle since the Points more or less disapear.

The Skill is a healing skill, so i wanted it to be usable no problem outside of battle, but in battle it costs a point.

I can attach an image later with the notetags when i get home for more info if it's needed.
This thread was moved from RPG Maker MV Support to JavaScript/Plugin Support.
in case you can read the code, there can be a work around.
but it require to change 1 line of code or a snippet to check
battle start and battle end to swap "true" and "false".

if BP is only counted in battle, it can be true to use there (default),
and false when on the map.

I cannot really find a way to return while on the map as it might still
use the BP, so the only way I can see and could work, is to switch "Enable"
to false when outside of battle, and true when inside.
in case you can read the code
the problem is that its one of olivias paid plugins. its obfuscated.

@Heavensglaivedev
if youre using yanfly's skill core, you could make 2 versions of that skill, teach both to the actor, and then make one only show up in battle and have a BP cost, and the other only show up out of battle and not have a BP cost. as long as one is hidden at all times, the player shouldnt even be able to know theyre different skills
the problem is that its one of olivias paid plugins. its obfuscated.
I got an unobfuscated version of that plugin, so I could alter it.

I don't know if this kind of thing work:

Code:
parameters = {
Enable: true, // true to SceneManager._scene instanceof Scene_Battle
// more code here
}

so it is enabled inside battle only, otherwise, it need to added to battle start
and on battle end, but otherwise, I have no clue what is the cleanest way for it.
@Heavensglaivedev
before the thread is closed for being solved, can you share your solution?
@Heavensglaivedev
before the thread is closed for being solved, can you share your solution?
I used this method and it worked great!
the problem is that its one of olivias paid plugins. its obfuscated.

@Heavensglaivedev
if youre using yanfly's skill core, you could make 2 versions of that skill, teach both to the actor, and then make one only show up in battle and have a BP cost, and the other only show up out of battle and not have a BP cost. as long as one is hidden at all times, the player shouldnt even be able to know theyre different skills
Creating an identical skill that gets removed outside of combat was a very good idea, thanks!
Cool. Just need to make sure its stated how it was solved in case anyone with a similar issue ever finds this thread later. Good luck with the project.

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/olivia-boost-point-cost-issue.178261/