RMMV Yanfly Battle Engine, trouble with sequencing.

FrogScholar

Villager
Member
Joined
Apr 1, 2020
Messages
9
Reaction score
1
First Language
English
Primarily Uses
RMMV
Hi guys! I am using Yanfly's scripts as the base for my battle system, I've recently noticed that there are some enemies who will not day when they have lost all their HP. Upon googling, I found that people were having this problem connected to the Yanfly Sequence Action Packs. My research showed me that it may be due to the script making enemies immortal until the end of the combat sequence. To remedy this, I added this to my skills:

<follow action>
immortal: targets false
</follow action>

However, this has not solved my problem. If anyone else has any other ideas I would really appreciate it :)
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,751
Reaction score
14,493
First Language
English
Primarily Uses
RMVXA
Check your state 1. If state 1 is not KO no one will die in the game. The other thing to check is did you make the enemy state immune to state 1? If you do that they can never die either.
 

FrogScholar

Villager
Member
Joined
Apr 1, 2020
Messages
9
Reaction score
1
First Language
English
Primarily Uses
RMMV
Check your state 1. If state 1 is not KO no one will die in the game. The other thing to check is did you make the enemy state immune to state 1? If you do that they can never die either.
KO is state 1 for this project. I made sure to compare it with the KO State in a clean version of MV too.
 

Attachments

  • KO.PNG
    KO.PNG
    102.1 KB · Views: 6

Stimulantfound

La Princesa Stephany
Veteran
Joined
Feb 14, 2021
Messages
60
Reaction score
91
First Language
Español
Primarily Uses
RMMZ
Can we see your Enemies tab, specifically Traits?
 

Sword_of_Dusk

Keyblade Master
Veteran
Joined
Sep 13, 2015
Messages
349
Reaction score
387
First Language
English
Primarily Uses
RMMV
@FrogScholar You should probably post your action sequence too. Maybe something in there is being weird.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
670
Reaction score
353
First Language
English
Primarily Uses
RMMV
Also post the action sequence for the skill where enemies aren't dying. Just having the plugin in your game won't randomly cause enemies to become immortal unless you tell them to. If you have just one section of an action sequence (e.g. only a follow action), it will screw with how the skill functions. If you have anything, you should include setup, target and finish to guarantee functionality. (and Yanfly recommends removing immortal flags in the follow action section)
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
41,839
Reaction score
14,501
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

FrogScholar

Villager
Member
Joined
Apr 1, 2020
Messages
9
Reaction score
1
First Language
English
Primarily Uses
RMMV
Also post the action sequence for the skill where enemies aren't dying. Just having the plugin in your game won't randomly cause enemies to become immortal unless you tell them to. If you have just one section of an action sequence (e.g. only a follow action), it will screw with how the skill functions. If you have anything, you should include setup, target and finish to guarantee functionality. (and Yanfly recommends removing immortal flags in the follow action section)

It's happening for every skill which is why I am confused. I took your advice and added the other action phases to each skill but this has caused most of my skills to just do nothing. For example this is the action sequence for "Thunderbolt", a single target electric type damaging skill.

<setup action>
</setup action>
<target action>
</target action>
<follow action>
immortal: targets false
</follow action>
<finish action>
</finish action>

Before adding in the other phases (setup, target and finish) this skill would deal damage, now it just gets skipped battle. I appreciate the assistance :)
 

FrogScholar

Villager
Member
Joined
Apr 1, 2020
Messages
9
Reaction score
1
First Language
English
Primarily Uses
RMMV
@FrogScholar You should probably post your action sequence too. Maybe something in there is being weird.

I posted it in response to ATT_Turan but here is a copy of the action sequence for my Thunderbolt skill :)

<setup action>
</setup action>
<target action>
</target action>
<follow action>
immortal: targets false
</follow action>
<finish action>
</finish action>
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
670
Reaction score
353
First Language
English
Primarily Uses
RMMV
If you use an action sequence, you need to have it do the entire skill. That will do nothing because you have programmed no actions in the entire sequence.

If you're not using an action sequence for a skill, you shouldn't put just one portion of it in there because it could cause erratic behavior.

Again, to reiterate, if you have not created an action sequence making your enemies immortal, then your problem is not from the action sequences. To test this, you can turn off the plugin in your plugin manager and go fight those enemies.

You'll need to check (and if you don't find the problem, post screenshots of) the Enemy entry in your database for the enemies that aren't dying...the Troop that they're in...the Skills that you're using (unless it's all skills and attacks won't kill them, that's probably not the problem).

Just for surety, go through your plugins and make sure they're in the order recommended by the developers, especially anything by Yanfly.
 

Latest Threads

Latest Posts

Latest Profile Posts

Doing RPG Maker News for 10th April, 2021. :LZScheeze: (Improving on the thumbnails, by using assets from the day's news.)
Just discovering the forum.
Since Final Fantasy VII has been trending today, decided to make a series of my favorite bars in the OG game! Check it out:

At 2021, we are now farther from the 1980's than they were from the 1950's. Consider that the next time you long for a 1980's song, when you thought your grandpa's taste for 1950's music was "outdated".
no, not my duct tape, anything but my duct tape!

Forum statistics

Threads
110,293
Messages
1,052,035
Members
143,323
Latest member
earthium
Top