is there a way to make a state that raises how much currency player makes after kill

ok I am trying to find away to make a state that last for 5 mins and causes the player to gain more currency per monster kill 

until the time runs out 

I'm not sure if this should go in scripting support or if there is a way to do it without having to have a script
It would be tricky to set up what you're asking.  It is possible to set up "Double Gold" as a state, but setting it for five minutes might require some eventing.  Maybe make a common event that relies on a variable being activated?  Once that event activates, it adds the state to all party members that would double the gold.  Then, you have the event count-down five minutes.  After five minutes, have the event remove the state from everyone and reset the variable to the "off" position.

At least... that's how I'd do it.
How are you keeping track of time?


What kind of battle system are you using?


There are a lot of things to consider.
Shaz's timer has worked wonders for events/common events I've been timing..

If you set an event to a switch, use a skill to call the common event and set the timer to shut the switch off, this seems very plausible..

I'm not sure how you would script the double gold, but that's what the smart guys are for 😉

You can run this by Shaz but the lazy way to do this would be set an event in the corner of your map

I'm also 100% positive there is a better way to do this without having to have a parallel process running in each map but alas;

 

parallel process, empty page

 

page 2 goldswitch# = on

 

script call double gold script.

 

script call shaz timer  $game_timer.set_timer(5, goldswitch#, false)

 

set script to call common event that turns that switch on

 

 

 

something like that?
where can i find this double gold script and Is there a better way then making it five mins because that part in negotiable I just want it too run for a bit then stop.

heres why I'm making a skill called hawaiian gold bud in which the char produces a gold dust cloud causing them to earn more gold from kills and or battle
where can i find this double gold script and Is there a better way then making it five mins because that part in negotiable I just want it too run for a bit then stop.

heres why I'm making a skill called hawaiian gold bud in which the char produces a gold dust cloud causing them to earn more gold from kills and or battle
I'm not sure what kind of battle system you are using.  If you are using the default one you could write a conditional branch at the end of your battles to see if the State is inflicted and double the gold from there.  And if you are open to how you control the length of the state, you could base it off the number of battle turns instead of the number of minutes. You would just need to add to a variable at the end of each turn so you could keep track of when to remove it.
Um, there's actually a bit in the status conditions section of the Database.  Ha ha.  Am I the only one who looked through all the features to see what they were all about?

Open your database.

Click the "States" tab.

Create a new state titled "Double Gold".

Go over to "Features".

Right click and open it up to add a new feature.

Click the "Other" tab.

Click the "Party Ability" dot.

Scroll down to "Gold Double" in the list, should be second one from the bottom.

Now, go into common events.  Set an event so that when a switch or variable is triggered, it inflicts this new status upon your party.

After you're done with that, you need to set up some variables to create a timer.  http://blog.rpgmakerweb.com/tutorials/tracking-time-in-common-events/  This is the web address I was given when I couldn't figure out how to make a timer last more than 99 minutes and needed it to last 5 hours instead.

After you have your timer set up and running (which only starts running if your variable or switch is the conditional and is activated), create a conditional branch that basically says "once timer reaches x number, reset variable/switch and remove state".
I just noticed something in the states tab I may be able to time it by steps instead of minutes but I want it to last a decent amount and am not sure how many steps would be a good amount to set it to end by
I just noticed something in the states tab I may be able to time it by steps instead of minutes but I want it to last a decent amount and am not sure how many steps would be a good amount to set it to end by
That's completely subjective.  It's up to you to decide how many steps you want it to last.  Up to you to figure out how many is "fair" for your game.  None of us can really help you with that.

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-make-a-state-that-raises-how-much-currency-player-makes-after-kill.17109/