RPG Maker Forums

Hi,
I'm new with RMXP, and want add a debuff when someone attack a target in guard stance. I know where I add the code, but can't find how inflict this status, what function I can use.
I need put in Game_battler_3, in section "Applying Normal Attack Effects" (I made changes in script that affect the number of lines).
I think that the solution is in something with "add_state(id)" or "states_plus(plus_state_set)", but I have no idea of how to set this on the attacker.
And, I want give a status effect via script when someone use the guard action (in the self user), in Scene_Battle_4, new line* 221 (if I put in Game_battler_3, the status will be triggered only when I receive damage, and I want when I choose the defense command).

Someone know help me in this 2 problems?
Thanks so much, and sorry for the bad english, I hope that no one have difficult to understand my questions.

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,038
Messages
1,018,467
Members
137,821
Latest member
Capterson
Top