Rhudra

Veteran
Veteran
Joined
Feb 2, 2013
Messages
30
Reaction score
3
First Language
French
Primarily Uses
Hello.

I'm searching a way to easily remove a bunch of states.

I'm creating skills which removes defenses, or which removes benefits effects (like booster states).

For exemple. A medic's purge skill which purge all alchemical effects from the target.

Or a Rogue's Diversion skill which removes Defense bonus.

For now I do this manually by adding each state but it's a bit tedious and more importantly I'm always fearful to forget a state in the list (I use a lot of states for enemies.)

I found nothing on the net so far.

What I would like would be something using tags like :

<State group Defenses> or <State group 1> (allowing me to create different groups of states) for states.

And <Remove state group Defense> or <Remove State group 1> for skills, which would then remove each state from the State group 1 from the target.

A way to give it probability (like 50%, 75% or 100%) would be a plus but isn't absolutely needed.

Do anyone knows a script doing that?

I would be thankful.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
37,946
Reaction score
10,523
First Language
German
Primarily Uses
RMMV
It can be done by a script, but it could also be done by common event - instead of removing several states, you call a common event that removes states of a certain type.
 

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,088
Reaction score
2,689
First Language
Greek
Primarily Uses
RMMZ
You ninjaed me. :p   :ninja:   :)   :thumbsup-right:
 

Garryl

Villager
Member
Joined
Feb 19, 2015
Messages
25
Reaction score
4
First Language
English
Primarily Uses
I have a script for this: Improved States. Among other things, you can assign states to be of one or more types (each type being an integer value), and have skills and items remove states of a given type (either all of them at once or one at a time).

You can also do something similar without scripts by creating a new state with State Resist for all of the states you want to remove and for itself. When it's applied, all of those states will be removed due to the State Resist, along with the state itself (so it doesn't grant any persistent immunity). That way you only have to track your states in a single place instead of across multiple skills. It's not ideal, though, because of course you still have to manually add each state to the list of states that your removal state removes.

Screen Shot 2015-04-19 at 5.30.39 AM.png

Screen Shot 2015-04-19 at 5.31.42 AM.png
 

Latest Threads

Latest Posts

Latest Profile Posts

On the "things im remaking" department even i kept getting confused by my status grenades similarity so i decided to redo both of them, now the icons and being thrown animations are very distinctive from each other :kaopride:
1679511126658.gif
1679511135459.gif
I genuinely like the default MZ actor sprites, and the character creator. I think I will draw new headshots for them, but part of me doesn't want to replace the default sprites. But should I? I want to eventually release my game.
Someday, I hope they make a game where 95% of the animation budget went to turning valves and opening door animations, leaving every other animation looking like a CDI zelda cutscene.
programming at 12 years old: "I love how it works!"
programming at 18: "I love that it works."
programming at 25: "I love why it works."
programming at 30: "I love when it works."
programming at 50: "How did this work?"

Forum statistics

Threads
129,765
Messages
1,204,934
Members
170,855
Latest member
snow521
Top