Buffs and States Core Custom Remove Code

Random Panda

Veteran
Veteran
Joined
May 3, 2016
Messages
48
Reaction score
3
First Language
English
Primarily Uses
Hi all, I added a state in my game and wanted to use the "Custom Remove State" feature.

This is what I have:
Code:
<Custom Remove Effect>

var skill = 91;

BattleManager.queueForceAction(user, skill);

</Custom Remove Effect>
It almost works perfectly. However it no longer processes the damage that the character receives before removing the state. Is there additional code I can add to that to make the damage process? Any advice would be greatly appreciated.

EDIT: Upon further inspection its not processing any of the states features (Parameter boosting, State Resist, etc.). Its not doing anything except the remove effect.
 
Last edited:

JamesRyan

Game Designer
Veteran
Joined
Sep 13, 2014
Messages
590
Reaction score
187
First Language
Vietnamese
Primarily Uses
RMMV
This will remove the state before applying the codes, so if you want to keep the ATK bonus from the state, make another state and apply to your actor upon removing the first one.
 

Random Panda

Veteran
Veteran
Joined
May 3, 2016
Messages
48
Reaction score
3
First Language
English
Primarily Uses
First thank you for your response.

Hmmm this isn't an attack bonus. This is just a regular attack. Maybe I'm just misunderstanding you.

But this is the problem I'm having:

Example:
Actor 1 has state applied
Actor 1 gets hit by enemy
Hit Damage is applied
State is removed
Does the <Custom Remove Effect>

The problem is the "Hit Damage is applied" is no longer happening. Is there a way to force that?
 

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

Latest Threads

Latest Posts

Latest Profile Posts

I should have listened to RPGMAKER Meme thread. I should have backed up my data. The Orphan of Time, my WIP, is completely gone, all those hours of work are completely gone :(
God what was my life before smartphones (I had a grandma's phone before wednesday)
Stream will be live shortly with The Witcher 3! Feel free to drop by!
I have a specialized class on intellectual property this semester (on Patent and Trademarks, Copyrights is next semester). Only had a quick overview of that in previous business law classes. I'll be able to help more people here when it comes to knowing what to do and your rights for intellectual property!
When you wanna write another pedantic post of your views on game dev... but your cousin and aunt have invited you to bowling

Forum statistics

Threads
93,380
Messages
911,828
Members
122,876
Latest member
leproso911
Top