- Joined
- Sep 29, 2018
- Messages
- 31
- Reaction score
- 12
- First Language
- English
- Primarily Uses
- RMMV
I'm using the Yanfly Engine in MV. The skill I'm wanting to design is for a Dark Knight type of class.
What I want the skill to do is damage the enemy by 1/4 their current health and restore the user by half the damage done. But the catch is, if the enemy is under 1/8 their max health it will kill the enemy and restore the user by all damage done.
I grasp how to damage the enemy by a percentage of its current HP and how to restore health to the user, but I don't know how to change the skill's effects based on how much HP the enemy has remaining. I'm still in the planning phase so I don't have any formula written yet. I'm using many of Yanfly's plugins concerning battle, I'm not sure which I'll actually need to pull this off tho. A plugin I know I'll need is Life Steal.
Does anyone know any formulae or notetags that'll help me achieve this?
What I want the skill to do is damage the enemy by 1/4 their current health and restore the user by half the damage done. But the catch is, if the enemy is under 1/8 their max health it will kill the enemy and restore the user by all damage done.
I grasp how to damage the enemy by a percentage of its current HP and how to restore health to the user, but I don't know how to change the skill's effects based on how much HP the enemy has remaining. I'm still in the planning phase so I don't have any formula written yet. I'm using many of Yanfly's plugins concerning battle, I'm not sure which I'll actually need to pull this off tho. A plugin I know I'll need is Life Steal.
Does anyone know any formulae or notetags that'll help me achieve this?