- Joined
- Oct 29, 2018
- Messages
- 9
- Reaction score
- 0
- First Language
- Português
- Primarily Uses
- RMXP
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.
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.



