Dachimotsu

Veteran
Veteran
Joined
Oct 26, 2015
Messages
61
Reaction score
13
First Language
English
Let's say I have two states: Poison and Regen. One reduces HP each turn, and the other recovers it. As such, they are opposite states, and should not exist on the same character at the same time.

So, if a character has Regen, then being inflicted with Poison should remove it. But I don't know how to do that. I assume it has something to do with "Remove by Restriction", but I doubt.

Another thing I should note is that apart from KO, Poison should be the only state to replace Regen, and vice versa. I have other opposite states that I want to work in the same way (Haste and Slow, for example).
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,094
Reaction score
15,515
First Language
English
Primarily Uses
RMMV
I will be porting my State Add/Remove commands script from Ace to MV.  That would do it for you.

In the meantime, if these states are applied by items or weapons or skills that have a damage formula, you could make the damage formula remove the other state.
 

Dachimotsu

Veteran
Veteran
Joined
Oct 26, 2015
Messages
61
Reaction score
13
First Language
English
Alright, then. I have two questions:

1) Will the new plugin you make be free for commercial use?

2) What is the string (correct term?) for removing a state from a target?
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,094
Reaction score
15,515
First Language
English
Primarily Uses
RMMV
1) Yes - all of my scripts & plugins are free for commercial use

2) The command to remove a state is removeState(id)
 

Dachimotsu

Veteran
Veteran
Joined
Oct 26, 2015
Messages
61
Reaction score
13
First Language
English
Thanks a ton!

You've been very helpful.
 

Latest Threads

Latest Posts

Latest Profile Posts

All new MZ Weather & Title updates are also RETRO'able for MV! Updated RETRO project will be released on same day I'll release updated MZ demo -project!

retro.png
Just lost about half a day's worth of work because rpg maker crashed during playtesting and corrupted my file :kaolivid:
Boku.gif
advanced_puzzling.PNG
Having a lot of fun making different poses for my character sets! Open to suggestions/critique!

CSKttqh.png

AABS laser beams features:
1,Shoot penetrating laser beams for player's normal attack
2,Beam's width/damage/comsumes/loot can be controlled by events/variables with great flexibility
3,Beam can rebound to walls or certain regionID
4,Can play SE when shooting beams
5,Beam's images can be solid images or animated ones.

Forum statistics

Threads
117,018
Messages
1,103,888
Members
152,924
Latest member
POLk7
Top