Execution skill call

Hey guys, i want to make an "execution" skill for the enemy boss. I want it to trigger once the player is at 10 Hp. But at Action Patterns i can add only enemy Hp as condition. Does anyone know how could i manage this? Thanks for the answers 🙂
if you have any YEP plugins (battle core and actionSequencies 1, 2, 3),
it would be possible, but those are behind paid wall.

I dont know if there is any other plugins that is able to do that,
if you do have the YEP plugins, than you require lunatic code
in order to perform such attack.
I can't tell you the script because I'm no good at any of that stuff but I'd imagine that there must be a way to check the HP of an actor, sort of like:
IF player.HP < (HP*0.1) THEN call common event 'execution'/use skill 'execution that calls a CE?
maybe you'd need it once for every member of the party, or use variables to assign stuff. it'd be more programming but surely there's a way to do that even without using any plugins. again, maybe someone who actually knows scripty things can formulate an actual script call like that. just throwing in ideas 😛
I can't tell you the script because I'm no good at any of that stuff but I'd imagine that there must be a way to check the HP of an actor, sort of like:
IF player.HP < (HP*0.1) THEN call common event 'execution'/use skill 'execution that calls a CE?
maybe you'd need it once for every member of the party, or use variables to assign stuff. it'd be more programming but surely there's a way to do that even without using any plugins. again, maybe someone who actually knows scripty things can formulate an actual script call like that. just throwing in ideas 😛
Yeah i was thinking something like this, but im so dumb at scripting too 😀
if you have any YEP plugins (battle core and actionSequencies 1, 2, 3),
it would be possible, but those are behind paid wall.

I dont know if there is any other plugins that is able to do that,
if you do have the YEP plugins, than you require lunatic code
in order to perform such attack.
I've got those plugins. I'll check 'em then! Thanks bud!
if you have any YEP plugins (battle core and actionSequencies 1, 2, 3),
it would be possible, but those are behind paid wall.

I dont know if there is any other plugins that is able to do that,
if you do have the YEP plugins, than you require lunatic code
in order to perform such attack.
Hey again, I checked them all on videos but i still dont know which one is the good for me. As i saw only Battle.Ai.Core has something similar, but it only recognizes "lowest" and "highest" hp-s. Not a specific amount (for example 1 hp). Do you have any ideas?🙂
battle_core (this is the main plugin) and YEP_X_ActSeq1 , 2, 3
not sure if the X was there or not, but with those, you can create the
effect of what you want, not sure if buff and state core is required.

but I dont know the lunatic code, because it's a complicated.
while it uses js, but the setup is a bit different is some ways.

someone that knows lunatic code is able to help you on this part.
battle_core (this is the main plugin) and YEP_X_ActSeq1 , 2, 3
not sure if the X was there or not, but with those, you can create the
effect of what you want, not sure if buff and state core is required.

but I dont know the lunatic code, because it's a complicated.
while it uses js, but the setup is a bit different is some ways.

someone that knows lunatic code is able to help you on this part.
Okey, thanks for your help! 🙂
battle_core (this is the main plugin) and YEP_X_ActSeq1 , 2, 3
How would action sequences help with choosing a target under 10% health? They could make the skill do different things depending on how much health the target has, but they can't do anything with targeting.

The only plugin you need to do this is Yanfly's A.I. Core - the Battle Engine is not needed, no paid plugins are needed, no Lunatic modes.

Just get the A.I. Core, and on the enemy you want to use this ability, use the condition:
Code:
HP param <= 10
How would action sequences help with choosing a target under 10% health? They could make the skill do different things depending on how much health the target has, but they can't do anything with targeting.

The only plugin you need to do this is Yanfly's A.I. Core - the Battle Engine is not needed, no paid plugins are needed, no Lunatic modes.

Just get the A.I. Core, and on the enemy you want to use this ability, use the condition:
Code:
HP param <= 10
Oh thanks! And where should i write the skill name?
Put this into the notebox of the enemy and replace X with the ID of the execute skill:

<AI Priority>
HP param <= 10: Skill X
</AI Priority>
Put this into the notebox of the enemy and replace X with the ID of the execute skill:

<AI Priority>
HP param <= 10: Skill X
</AI Priority>
lovely, cheers mate!
Oh thanks! And where should i write the skill name?
ScorchedGround's answer is correct - however, I strongly recommend that you always actually read the documentation for any plugin before trying to use it. Aside from giving you the answer to your question, it may have other information you didn't know you needed in order to use it correctly.

Original thread: https://forums.rpgmakerweb.com/threads/execution-skill-call.136063/