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
34,751
Reaction score
8,964
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,682
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

Just tested latest update (Map transfers, Credits scene etc...) on MV (with RETRO) and everything thing seems to work as intended!
credits.png
Ugh, can't decide what to make next!
The Dystopia
ikW0BYF.png
Recently got RPG Maker MZ. A bit slower with my current PC but I will be getting a new one soon.
evening progress; pretty happy where this is at so i'll take the rest of the night to myself =w=
5NJGyKY.png

Forum statistics

Threads
118,403
Messages
1,115,675
Members
155,343
Latest member
sograyish
Top