Hey, im new to rpg maker and I’m trying to make a skill that works like this: When I use it, I receive a state that makes it so that if a hit would normally kill me, I stay at 1 HP — that is, I don’t die. I need it to work in this way: the state activates, the enemy hits, and then I hit in the same turn through the skill itself, kind of like a parry.
The idea is for it to be a last-resort skill: if I’m about to die, I activate it, it saves me from a killing blow, and I deliver a devastating hit. If the enemy doesn’t die from that hit, the user dies.
Right now, I have the skill add the state using the following command:
Can you guys help me get my character to do the hit, and die if the enemy doesnt?
At the moment, I’m using VisuStella plugins. thank you<3
The idea is for it to be a last-resort skill: if I’m about to die, I activate it, it saves me from a killing blow, and I deliver a devastating hit. If the enemy doesn’t die from that hit, the user dies.
Right now, I have the skill add the state using the following command:
<JS Pre-Damage as Target>if (value >= target.hp && Math.random() < 100) {value = target.hp - 1;}</JS Pre-Damage as Target>Can you guys help me get my character to do the hit, and die if the enemy doesnt?
At the moment, I’m using VisuStella plugins. thank you<3