RMMZ Viz Boost Actions Change Max Storable BP mid game

BeanCanDev

A Can of Beans?
Regular
Joined
May 12, 2020
Messages
50
Reaction score
20
First Language
English
Primarily Uses
RMMZ
Is this the right place for this? I'm not sure, but this is the best place I can think of. So I'll try give you a quick rundown:

I was using the VIizustella Boost Action plugin for a resource in my game, but I realized I can't change the Max number of points your able to store mid game.

The way I wanted to use it is that the party would only be able to store 2-3 points at the start, but would be able to increase the amount they could store as the game progresses through the use of an item I've given the working title of "Boost Fruit". But I realized I can't do that with that plugin.

Does anyone know how to do this, or am I going to need to ditch the idea completely?
 

Trihan

Speedy Scripter
Regular
Joined
Apr 12, 2012
Messages
6,883
Reaction score
7,989
First Language
English
Primarily Uses
RMMZ
Is this the right place for this? I'm not sure, but this is the best place I can think of. So I'll try give you a quick rundown:

I was using the VIizustella Boost Action plugin for a resource in my game, but I realized I can't change the Max number of points your able to store mid game.

The way I wanted to use it is that the party would only be able to store 2-3 points at the start, but would be able to increase the amount they could store as the game progresses through the use of an item I've given the working title of "Boost Fruit". But I realized I can't do that with that plugin.

Does anyone know how to do this, or am I going to need to ditch the idea completely?
Change

Game_BattlerBase.MAX_BOOST_POINTS_STORED

(note that this will not be undone if you change which save you're playing on or return to title/restart)
 

BeanCanDev

A Can of Beans?
Regular
Joined
May 12, 2020
Messages
50
Reaction score
20
First Language
English
Primarily Uses
RMMZ
Change

Game_BattlerBase.MAX_BOOST_POINTS_STORED

(note that this will not be undone if you change which save you're playing on or return to title/restart)
Thank you! The fact it stays between saves is kinda annoying, but something I'm sure can be fixed by keeping the Max BP stored in a variable, then calling that variable when a save is loaded. So it looks like I have a solution!
 

BeanCanDev

A Can of Beans?
Regular
Joined
May 12, 2020
Messages
50
Reaction score
20
First Language
English
Primarily Uses
RMMZ
Change

Game_BattlerBase.MAX_BOOST_POINTS_STORED

(note that this will not be undone if you change which save you're playing on or return to title/restart)
Hi again, I had some sleep and realized I have no idea how to change Game_BattlerBase.MAX_BOOST_POINTS_STORED. I'm pretty new to js, so I'm sorry if I'm being dumb about something.
 

Trihan

Speedy Scripter
Regular
Joined
Apr 12, 2012
Messages
6,883
Reaction score
7,989
First Language
English
Primarily Uses
RMMZ
Hi again, I had some sleep and realized I have no idea how to change Game_BattlerBase.MAX_BOOST_POINTS_STORED. I'm pretty new to js, so I'm sorry if I'm being dumb about something.
You'd literally just do, in a script command

Game_BattlerBase.MAX_BOOST_POINTS_STORED = [newvalue]

where newvalue is the number of points you'd like to change it to.
 

BeanCanDev

A Can of Beans?
Regular
Joined
May 12, 2020
Messages
50
Reaction score
20
First Language
English
Primarily Uses
RMMZ
You'd literally just do, in a script command

Game_BattlerBase.MAX_BOOST_POINTS_STORED = [newvalue]

where newvalue is the number of points you'd like to change it to.
Thank you!
 

Trihan

Speedy Scripter
Regular
Joined
Apr 12, 2012
Messages
6,883
Reaction score
7,989
First Language
English
Primarily Uses
RMMZ
Thank you!
To get around the proviso of it persisting the new value through save files/plays in the same session, you could make a parallel process common event that sets the max points to the value of a variable.
 

BeanCanDev

A Can of Beans?
Regular
Joined
May 12, 2020
Messages
50
Reaction score
20
First Language
English
Primarily Uses
RMMZ
To get around the proviso of it persisting the new value through save files/plays in the same session, you could make a parallel process common event that sets the max points to the value of a variable.
I'm using Galv's auto common event plugin, so I can just run the script automatically whenever the game loads. And Using Viz Core, I can then run a common event to set then value to default. Unless theres something that will cause issues I think it might work?
 

Latest Threads

Latest Posts

Latest Profile Posts

I hate driving in games. Imagine your character profile being an exceptional individual, yet when they drive, it makes them look dumb.
The flaming skeleton visited me in my dreams again. He demands the game be finished soon. I don't like the flaming skeleton. He took my cranberry juice. He doesnt even have a stomach it just spilled all over the floor.
My Game Jam entry is a bunch of mini games wrapped within an epic story that will rival the deepest plots of the earliest CRPGs! As a small spoiler, here is one example of a game you will be able to play. Anyone want to try Brat, Krampus, Santa?
so I had two plugin that essentially overwrite each other depending on where they are in the list. so I had to edit what was overwriting one into the other and now they both work. I REALLY need to sit down and just learn JavaScript. I hate that I know just enough to know I don't know NEARLY enough lol.
The Open Hand scandal got even more spicy. The Completionist streamer Jirard made a video response and tossed a bunch of links and documents, but apparently none of it actually addressed why donations he collected sat for 10 years (way too long to justify). He also seemed to threaten defamation suits vs. people for what amounts to pointing out publicly available records. The IRS should definitely audit.

Forum statistics

Threads
136,914
Messages
1,271,400
Members
180,705
Latest member
mostlyM
Top