Adding a state at the start of Battle?

Hey all,

I'm currently doing a Druid which has 2 States (Power of Nature, Power of the Wilderness) where he can switch to different Skills while the other skills are getting blocked when one of them is active.

Since at the start of the battle he has none of those skills "Active" he can use all skills which is not my goal.

is there a way to activate "Power of Nature" State everytime a fight starts? Plugin or something?

thanks for the help <3
im giving this a little push, im still searching for help.

so far the only way to manage it is doing it by going to main menu and give your desired State.
Does it not work if you give that state as a turn 0 troop event?
There may be an evented method for this, but if you happen to use VisuStella's Skills and States Core, you can set this up via that. First up, we need to set up a common event:
Spoiler: Common Event
1658437001871.png


The skill used for switching access to the respective skills via our two states will call this common event, which enables or disables certain skills based on whether or not Switch #1 is on or off. The switch controls what state we're currently affected by, by way of Skills and States Core. Next up, our actual skill:
Spoiler: State shifting skill
1658437063026.png

You can customize the costs however you want, as well as the battle message, but the important part is in the effects box, as well as making sure the scope is set to "user". We want to have it call our common event that shifts what state we will have active. The blank Add State effect is simply to avoid having the skill say "there was no effect" when we use it. Now comes the bit we needed the plugin for:
Spoiler: States
1658437107115.png
1658437122100.png


Our states each have a passive condition notetag that governs when they are active. In one case, Switch 1 has to be off for the state to activate, while the other state needs that same switch to be on in order to take effect. Take note that we want to include the "Seal Skill" trait for each skill that a given state locks us out of. They'll be seen on the menu, but unusable. Now, we need just need to have the passive state notetags on our Actor:
Spoiler: Actor notetags
1658437272084.png

And that's it. Now, if we get into a battle, we can see how it works:
Spoiler: With Power of Nature active
1658437690751.png

Everything grayed out cannot be selected. However, if we were to use Power Shift. . .that will change.

Spoiler: Switching powers
1658437774942.png
1658437831093.png

And now the skills we couldn't use before are available, with the prior available skills being locked. Spell Enhancement there is only grayed out because there's not enough TP to use it.

And that's how we can achieve this effect through Skills and States Core. As a last note, because we're controlling a switche for this effect, your druid's skill access will carry over until Power Shift is used again, or you opt to manipulate the switch at the end of each battle.
Damn! This worked :rheh:.

Thanks, this was very easy to follow. ♥
I had hoped I covered everything in an easy to understand way. Glad it worked out for you.
I had hoped I covered everything in an easy to understand way. Glad it worked out for you.
Yes, that covered basically everything and i also understood the way of doing that.

Since i don't want to make a new thread i maybe just ask here right away.. My Plan was also to do a Bounty Board.

Example:
I have a Bounty Board in a Village where i put a Event on it where people can interact and choose a Quest for different Levels.

i already setup the "If Player is under Level X" he cant choose that option.

My goal (also my problem now) is:
If he chooses a Level 5 Quest (Let's call it "Kill the Leader of the Wolfs Clan") but there are also other Quests in that "Level 5 Quest" section they can accept them too. That's not what i want :kaomad2:.
I'm currently searching for a way that the player can only have ONE Quest active (from the Bounty Board).
You maybe know a way of that? 😠

Thanks for helping ♥
@Teufel123 Sorry for the late reply. I've been really busy these last couple of days.

As to your problem, I suppose the simplest option is to turn on a switch when you accept a quest within a particular level group, which then bars access to any of the other quests of that level.

Original thread: https://forums.rpgmakerweb.com/threads/adding-a-state-at-the-start-of-battle.149517/