I'm creating a skill called "Death Bond" where the actor and the target become knocked out. Is there something that can help me apply the "Knockout" state to both the user and the target?
Multiple Skill Targets?
RPG Maker MV SupportYes there is a way to do this, not sure if there are more than one ways, this one I feel is the most simple.
First, set up the skill in the Skills tab. Since this is going to KO both the target and user, there is no need to play with the skill settings except maybe for TP, SP costs skill type etc. On the right side of the skills window is the "Effects" box. In this box, double click on a blank line and go to the State tab. Add the knockout state. This will make it so the skill KOs the enemy.
Next go to the common events tab. Make a new common event and name it something like "Death Bond Actor KO" or something so you know what it is. Double click a blank line in the common event, and under the "actor" section, click add state, and choose Knockout. Then go back into the skills tab, and double click a new line in the Effects window again. Go to the other tab, choose common event, and then select the common event you just set up. Apply the changes and you have your skill. It will KO the target first, and then the user.
**EDIT**
I just realized that with this method, you could only have one actor in the game learn that skill, unless you create multiple Death Bond skills and multiple common events for each actor that can use the skill. So for 4 actor party, all of them using it, would require 4 skills and each one calling a different common event specified for each individual actor.
🙂 Hope this helped.
First, set up the skill in the Skills tab. Since this is going to KO both the target and user, there is no need to play with the skill settings except maybe for TP, SP costs skill type etc. On the right side of the skills window is the "Effects" box. In this box, double click on a blank line and go to the State tab. Add the knockout state. This will make it so the skill KOs the enemy.
Next go to the common events tab. Make a new common event and name it something like "Death Bond Actor KO" or something so you know what it is. Double click a blank line in the common event, and under the "actor" section, click add state, and choose Knockout. Then go back into the skills tab, and double click a new line in the Effects window again. Go to the other tab, choose common event, and then select the common event you just set up. Apply the changes and you have your skill. It will KO the target first, and then the user.
**EDIT**
I just realized that with this method, you could only have one actor in the game learn that skill, unless you create multiple Death Bond skills and multiple common events for each actor that can use the skill. So for 4 actor party, all of them using it, would require 4 skills and each one calling a different common event specified for each individual actor.
🙂 Hope this helped.
@Nisshoku Thanks! I was only planning to have one actor with the Death Bond skill anyways, since there are only three main characters for my game. Thanks again! 🙂
@Starbound Leo
Not a problem 🙂 good luck on your game. Feel free to ask if you have any more questions.
Not a problem 🙂 good luck on your game. Feel free to ask if you have any more questions.
Yep! You'll be applying Knockout through damage, but it still comes out to be the same thing as you were looking for.
The skill is actually pretty simple. In the Damage box, you set it to deal HP Damage, Element: None, Formula: "a.gainHp(-a.hp) ; b.hp". This will deal the target's current HP to itself as damage, and then the gainHp function will add negative health (deal damage) to the skill user equal to THEIR current HP. Just make sure to set the skill's Variance to 0%, because any variance could cause it to deal less-than-lethal damage.

EDIT: While @Nisshoku's skill could work, applying the Knockout state directly to enemies doesn't always work. If it doesn't, you could try mine, @Starbound Leo.
The skill is actually pretty simple. In the Damage box, you set it to deal HP Damage, Element: None, Formula: "a.gainHp(-a.hp) ; b.hp". This will deal the target's current HP to itself as damage, and then the gainHp function will add negative health (deal damage) to the skill user equal to THEIR current HP. Just make sure to set the skill's Variance to 0%, because any variance could cause it to deal less-than-lethal damage.

EDIT: While @Nisshoku's skill could work, applying the Knockout state directly to enemies doesn't always work. If it doesn't, you could try mine, @Starbound Leo.
You're welcome 😀
I really like this idea because it also lets enemies use it haha. And yes, I am just that evil. My game is single-actor XD
Original thread: https://forums.rpgmakerweb.com/threads/multiple-skill-targets.66846/