I need help with a skill type I have. I have a Requip skill type for one class and a few stances for the warrior class. I only want the player to be able to have one up at a time. How would I accomplish that? I know it has to be through common events but I can't figure it out. I'll post screenshots if necessary.
Thanks!
You could have the Requip action trigger a common event that flips a switch as well as check for the already flipped switch. Might be as simple as coding it so that it removes all Requip skills before adding the new one. Though, it likely depends on how this is implemented at all.
Do you have a basic idea for how exactly do you want this to work? Do you want it so that you have the skills in your list at all times once learned, but you can't have the effects of all of these skills at once? Or, do you want these skills to be added and removed based upon equipment?
Depending on how you want it implemented, there's any number of ways to accomplish it.
I'd like to have the skills in the list at all times once learned but the effects of the skills wont stack.
Along these same lines, I have a skill that is pretty powerful but I'd like the user to be unable to move AFTER the skill expires. How would I accomplish that as well?
Skill: Sword of Lightning
Effects: Apply Thunder Force (3-5 turns)
After-Effects: User unable to move for 3 turns.
Have that skill give a user a state that's set to Cannot Move restriction, set to 3 turns + remove at end of battle.
In the damage formula have it like this:
dmg = (formula here); a.add_state(id); dmg
Or do you mean those 3 turns are a sort of Cool-Down? For cool-down skills you'll need a script, preferably Yanfly has one for that.
I'm still slightly confused. I understand the formula part but I need it to basically increase the user's attack by 125%, change their element to lightning, and decrease damage taken by lightning skills by 50%. That description is the default state "Thunder Force." I want the skill to apply that state then AFTER that state ends and the user goes back to normal to apply a state only where the user is unable to move.
Is that what you posted to me? Lol. I just wasn't sure.
Also, I know about Yanfly's script xD. Some of my skills are using it 🙂