[RMMV] State that makes all damage debuff

Joined
Mar 26, 2020
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hey everyone!

So basically I'm trying to create a skill that inflicts a state called "Pierced Armor". The part I'm struggling with is that I want the state to make it so every time the afflicted unit takes damage, a defense debuff is applied. If the debuff is already applied, then it adds a stack and refreshes the duration. I know how to do the duration part via the Yanfly Buffs/States plugin.

I'm currently using the following plugins, but I'm newish to them so there may be something I missed.

plugins.PNG


Thanks in advance for any and all suggestions!
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
21,846
Reaction score
11,059
First Language
English
Primarily Uses
RMVXA
Depending on the advice received this thread might have to move to Plugin Support. However, we'll wait and see what emerges.
 

MightyEgg

Villager
Member
Joined
Mar 20, 2020
Messages
22
Reaction score
2
First Language
Portuguese
Primarily Uses
RMMV
That piercing armor skill its like poison you need to make a copy, past
then you will need to create a defense debuff state and maybe a stacks state or something.

And look around of skills effects

Create at common event

Try this
If pierce armor state
variable (piercing)= on
variable (stacks) = 0
If actor Hp decreases
add state debuff
If debuffed
variable (stacks) = +1
else
variable (piercing) = off
end if
end if
end if

and put it in Pierce Armor (Skills Effects).

You said, you know how to do the timer so I will not put it in there.

If that code do not work try to go around of it because is only a idea and I do not try it my self.

But I think will work(maybe with your working around xD).

If you want with plugin I dont know how to help you because I do not use plugins.

Good luck.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

My spirit can be so easily wounded by most things that nobody thinks twice about. It may be not a big deal to you, but it means EVERYTHING to me!
I have to make a custom tree for my FSM game and I'm nervous I won't get it right.
Finally got the tablet picture! :LZSsmile:
Working hard on my Mode7 interiors in between calls at work!
A good idea rise a moment before falling asleep, and survive the second coffee the day next morning.

Forum statistics

Threads
97,918
Messages
947,871
Members
129,163
Latest member
Merglu
Top