Buffs and States Core Custom Remove Code

Random Panda

Veteran
Veteran
Joined
May 3, 2016
Messages
49
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
597
Reaction score
194
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
49
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

convention concluded, i'm glad the books well received and sold out
not every content is decent, but i'll be better for the next work.

now back to game developing
I hope to be able to post my vxace resource edits this Wednesday.
Not sure if I'll get to the library though.
Me: Man, I'm definitely burned out this time. Time for a break. Me three hours later: I'm ready to work again, let's go! Me another hour later: Okay, I can't do this anymore. Repeat for infinity.
Just got MV and am working on porting over my new game from VX Ace to it! I haven't done much with my new game so it should be pretty quick.
I was doing forge runs on D2 with my wife last night, and singing like a leprechaun to annoy her XD. I was calling it 'The Farge'

Forum statistics

Threads
94,460
Messages
921,100
Members
124,290
Latest member
maro
Top