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,763
Reaction score
8,971
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 Profile Posts

My entire family and I have Covid... If it's this bad with the vaccine, without must be terrible. Stay safe, everyone. This thing is a doozy.
Ugh. Head heavy with sick juice. I wish I could work on my stuff. o_O
GZZPUeX.png

Overflow Form
I'm coming back to my work with Learn RPG Maker MV. Soon I'll be posting previews screenshots for my "paterons"! :guffaw:

Forum statistics

Threads
118,520
Messages
1,116,600
Members
155,533
Latest member
finella
Top