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

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'
Is i possible too make a weapon have a chance of using a skill?
Can the Eternal Dreamers finish off the final boss? We'll see!
Fekken kill me. I unknowingly swapped out two important events's codes and saved the game to test it. I'm just doing this for fun and the fun has now been replaced with excruciating torture.
Is this how game developers feel all the time?

EDIT:
WAIT HOLY S***
MY LAST POST ASKING FOR HELP ON AN EVENT ACTUALLY SAVED IT
OH MY GOD
Coffee + Silk Coconut Milk + Splenda Zero = Not ..... awful :/ .

Forum statistics

Threads
94,448
Messages
921,011
Members
124,271
Latest member
lymeish
Top