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 Posts

Latest Profile Posts

I have been enjoying a game on my iPhone, called Wonderbox. It is just a little game where you create adventures, share them, whilst also being able to play others. It's a bit zelda-esque. I have started some youtube for those, gonna start with RPG maker things soon as well. So if you wish to see, do check it out :)
SF_People3_3 added!
index.php

ScreenShot_1_3_2022_1_32_12.png
I feel QSprite for MV is underrated. I basically am able to use my chibi sideview battlers I drew on the maps and have all the motions available. this'll help a lot with cutscenes.
I've figured out how to reasonably tall-ify chibi sprites on my editor. I like that making tall sprites gives me control on expressing how tall characters seem on the field relative to each other as well as better differentiate adult sprites from child sprites.
doing some wacky experimental stuff in MV right now :kaoluv: I cannot wait to drop what I've been working on

Forum statistics

Threads
118,562
Messages
1,116,959
Members
155,604
Latest member
Freedom1987
Top