I have a problem and I do not know how to create such skills, can it be done at all?

Skil 1 Revenant - If a Kashmir character dies, he will be reborn once with 15% of his maximum life, and his life regeneration will increase by 30% until the enemy attacks him.

Skil 2 Bonehead - Kashmir fills his gauntlet with the power of chaos and strikes an enemy at once, dealing damage from the element of chaos. If your opponent dies from this blow, Kashmir will receive the Despair effect

Skil 3 Life and Death - Kashmir sacrifices all Despair stacks to renew 25% of his life and boost his critical attacks by 12%.

Kashmir = character
Almost anything can be done, but your description is missing a lot of details.

first skill would require a combination of state effects with troop events checking on the actor
second skill again a number of state effects for the skill effects and troop events for checking the enemi8es

third skill: no one could tell because you never defined what your stacks are
I have moved this thread to RPG Maker MZ Support, thank you!
Almost anything can be done, but your description is missing a lot of details.

first skill would require a combination of state effects with troop events checking on the actor
second skill again a number of state effects for the skill effects and troop events for checking the enemi8es

third skill: no one could tell because you never defined what your stacks are
Despair stacks we get when we use it Skil 2 Bonehead - Kashmir fills his gauntlet with the power of chaos and strikes an enemy at once, dealing damage from the element of chaos. If your opponent dies from this blow, Kashmir will receive the Despair effect = 1 + to stack
that still doesn't explain what a stack is for your game - there is nothing in the engine that is called a stack.
are those a number of items in inventory called "stack" or whatever?
that still doesn't explain what a stack is for your game - there is nothing in the engine that is called a stack.
are those a number of items in inventory called "stack" or whatever?
This is a value that exists somewhere in the background and that is calculated only for one fight. When the fight is over, it disappears until we fight in another fight.
we start from scratch every time we start new battle
you never defined what your stacks are
Force charges.
I have a similar system for a warrior, but this looks like a mage type, and the effect is on the rebound, not the attack.

it might require troop events, but part of it can be made by common events and skill after effects.

If a Kashmir character dies, he will be reborn once with 15% of his maximum life
might require a sequence plugin if you want the character to be shown dead and then brought back to life.
the validation can be made directly at the skill
and his life regeneration will increase by 30% until the enemy attacks him
state HRG *130, with no removal.
set the default attack to add a state that removes the HRG state and itself.
that way you don't have to check for it.

If your opponent dies from this blow, Kashmir will receive the Despair effect
skill after-effect with a number of states that pop each other out as they're added.
will require a common event to work the logic, and one or two global variables to store the values.

generic reset
*lands* to remove Force charges and removes itself.

nuevo-1.jpg


Force level 7
removes skill locks, removes whichever level is under it, and locks the Force skill.
nuevo-2.JPG

global watcher called by every Force instance (there's 3, for 3 different systems)
checks who is doing the action, locks the stack, locks the skills, and then processes.
nuevo-3.jpg


Force always goes up by 1 on demand, but it can go down by 1, 2, 3 or 4 as the battlers use their skills, so, 1 event to rule them all, but 3 checks to find them.
if you're working with only one battler, there will be no check, just straight processing.
@gstv87 I know twenty different definitions for the word "stack" from a computer stack to stack of cards to a dozen different definitions in hundreds of different games.
And I have seen too many times where someone assumed the wrong definition and put in work, just to have that work invalidated by not fitting the OP idea of the description.

This is a value that exists somewhere in the background and that is calculated only for one fight. When the fight is over, it disappears until we fight in another fight.
we start from scratch every time we start new battle

This is much better, but it still has some missing parts.
Is that stack per actor or per party of multiple actors?
Does your game already use TP for something else, because that is what the TP originally were designed for.

Using TP would include most of the functions with only minor modifications as the TP are already reset for each battle (just to a value higher than zero, but that can be changed)
Alternatively you can declare a variable to use for this, but that can get more complex to replicate the functions there.

Since the value is supposed to reset the option of using hidden items don't really fit here, or several of the other options.
I suggest you review Yanfly's Tips & Tricks. They explain how to use various plugins to recreate many popular skill effects from various games.

For example, your Skill 1 is Auto-Life.

To translate the Yanfly tips into MZ, Trihan has a thread to implement all Yanfly Tips & Tricks using VisuStella plugins.

One difference that pertains to your questions is that as far as I know, VisuStella's states plugin does not give you any ability to display a counter representing "stacks" of a state (which you could do with Yanfly's Buffs & States Core). You can still have a variable on the actor and use it for skills, but it won't display on the state icon.
Thank for helping

Original thread: https://forums.rpgmakerweb.com/threads/i-have-a-problem-and-i-do-not-know-how-to-create-such-skills-can-it-be-done-at-all.157336/