MV Olivia Boost Point System Notetag issue

So i was using the boost point system in Olivia's Octo-battle pack, and i was trying to use the Require BP notetag when i noticed that the greater, and the greater than/equal to requirement doesn't seem to work, i think i know what the issue is, but not sure how to fix it.

I believe the issue lies within the angle brackets, the green marked part below i believe ends the notetag earlier than intended at the end of the line.

<Require >= x BP>

Would anyone know how i could go about fixing this?

1750538048352.png
1750538103248.png
Yeah, don't know about that, but can't you get around that by just using the <Require x BP> notetag?
With that one it says "This will make the action require at least x BP to use..."
Yeah, don't know about that, but can't you get around that by just using the <Require x BP> notetag?
With that one it says "This will make the action require at least x BP to use..."
Yeah mb i didn't explain the problem very well, so i tried that at first, but when i had 2 Boost points instead of 1, the skill became unusable.

Which was why i needed to use greater than or equal to.
the notetag given by rpgLord69 <Require x BP> for code
check for "=" or ">=" so that should suffice.

but they should work if added as I don't see any issue in the code.

Edit:
I also wonder what version of NWJS and/or browser you use.
as RegExp.$1 might not work as it should, but should be converted to RegExp["$1"]
instead, as the first version is deprecated.

this might be a reason why it fails?
the notetag given by rpgLord69 <Require x BP> for code
check for "=" or ">=" so that should suffice.

but they should work if added as I don't see any issue in the code.

Edit:
I also wonder what version of NWJS and/or browser you use.
as RegExp.$1 might not work as it should, but should be converted to RegExp["$1"]
instead, as the first version is deprecated.

this might be a reason why it fails?
I retried the notetag this morning <Require x BP> and it makes the skill unusable, i went through again and tried all of the other notetags, and the only ones that worked were the less than symbols <

My nwjs is 0.29.0, so that could be the problem, would i need to update it then?
I also wonder what version of NWJS and/or browser you use.
as RegExp.$1 might not work as it should, but should be converted to RegExp["$1"]
i doubt thats the issue. Yanfly's single line notetags that accept input use RegExp.$x to get capture group values, and those work in MV's default 0.29.0 up to 0.100.1 now

I believe the issue lies within the angle brackets, the green marked part below i believe ends the notetag earlier than intended at the end of the line.

<Require >= x BP>

Would anyone know how i could go about fixing this?
just to be sure, you are boosting, right? those tags dont set a stored bp requirement. its boost level requirement. its the same idea behind the divine skills in octopath requiring you to already be at boost lv 3 to use and grey otherwise

if you are, please specify what about it isnt working. is the skill is greyed out? is it ignoring any and all requirements?
I looked at the code and although its obfuscated, it seems to be using a regex match on the entire notebox to avoid the issue of the regular meta property being cut off early with the > in the notetags. I then tested it in the octopack sample project and it works fine.

<Require >= 1 BP>
If i boost, i can use the skill. if i dont, i cant
i doubt thats the issue. Yanfly's single line notetags that accept input use RegExp.$x to get capture group values, and those work in MV's default 0.29.0 up to 0.100.1 now


just to be sure, you are boosting, right? those tags dont set a stored bp requirement. its boost level requirement. its the same idea behind the divine skills in octopath requiring you to already be at boost lv 3 to use and grey otherwise

if you are, please specify what about it isnt working. is the skill is greyed out? is it ignoring any and all requirements?
I looked at the code and although its obfuscated, it seems to be using a regex match on the entire notebox to avoid the issue of the regular meta property being cut off early with the > in the notetags. I then tested it in the octopack sample project and it works fine.

<Require >= 1 BP>
If i boost, i can use the skill. if i dont, i cant
Ook, so i think i just misunderstood how the boost system works, i had the boost command disabled and figured i could use the boost points as a sort of action-point cost, rather than use it how it was intended.

100% mb.
You can make skill requirements like that with like Yanfly Skill Core 'custom requirement' notetag.
battlers have a storedBP() function that you can use with a yanfly skill core requirement notetag to make having the bp a requirement.
i doubt thats the issue. Yanfly's single line notetags that accept input use RegExp.$x to get capture group values, and those work in MV's default 0.29.0 up to 0.100.1 now
I also mentioned "browser" while RegExp.$1 = deprecated and I while most broswers
still support it, later it might break, even while I use the old way, I need to convert it
to support the newest browser version.

I also alter some of the plugins I use from yanfly to "$x" just to be safe,
as I don't know when they fully stop supporting the old way 🙂
You can make skill requirements like that with like Yanfly Skill Core 'custom requirement' notetag.
battlers have a storedBP() function that you can use with a yanfly skill core requirement notetag to make having the bp a requirement.
I haven't used Yanfly's Skill Core before, but looking at the page, i opened up my notepad to try and figure out how to go about this.

Using the custom requirements tag, i'm trying to find out where i would put the 'storedBP()' function, and after looking at the different notetags on the site.

I'm thinking i need to use a custom execution with the function first at the top of the notetag to get a value right?

or would i just throw it in instead of the gold requirement below and adjust the value accordingly?

1750629152864.png
Using the custom requirements tag, i'm trying to find out where i would put the 'storedBP()' function, and after looking at the different notetags on the site.
its not said there, but "user" exists within both of those notetags as a reference to the battler using the skill. So you can use
Code:
<Custom Requirement>
value = user.storedBP() >= 1;
</Custom Requirement>
to make it a skill requirement that the user has at least 1 BP

I'm thinking i need to use a custom execution with the function first at the top of the notetag to get a value right?
no need for the execution notetag. the purpose of that tag is to do something at the time of the skill's execution (before any of the skills effects take place, but after its begun and its costs have been paid). unless you want to use it to do something like deduct BP in a way that the olivia's plugin doesnt allow, its not needed. as you see in the example, the requirement is that the party has enough gold, but the execution effect is to spend that gold, or else the the skill would require the gold but not use it up.

Also even though notetags can be placed in the notebox in any order, rarely will that order ever matter. In terms of the order of what theyll do, thats already predetermined by the plugin.
its not said there, but "user" exists within both of those notetags as a reference to the battler using the skill. So you can use
Code:
<Custom Requirement>
value = user.storedBP() >= 1;
</Custom Requirement>
to make it a skill requirement that the user has at least 1 BP
Sweet that works great thank you!
no need for the execution notetag. the purpose of that tag is to do something at the time of the skill's execution (before any of the skills effects take place, but after its begun and its costs have been paid). unless you want to use it to do something like deduct BP in a way that the olivia's plugin doesnt allow, its not needed. as you see in the example, the requirement is that the party has enough gold, but the execution effect is to spend that gold, or else the the skill would require the gold but not use it up.
This is nice to know, i have a few skills i'm planning on using that are going to need to be specific with the order.
Also even though notetags can be placed in the notebox in any order, rarely will that order ever matter. In terms of the order of what theyll do, thats already predetermined by the plugin.
This is very useful info as well, thank you! Note tags were something i struggled with for a bit, but this answers/quells some of the questions i had with using them.

Original thread: https://forums.rpgmakerweb.com/threads/olivia-boost-point-system-notetag-issue.178455/