Greetings and salutations sages and intellectuals of the RPG Maker forums! I come to you in the time of considerably smaller need than previously.
I was thinking about creating an attack, that will deal more damage when an enemy has lower health percentage than the character carrying out the deed.
I assumed a formula that goes:
if ( a.hp > b.hp ) {a.atk * 4} else {a.atk * 2}
Will accomplish what I desire, but I wanted to make sure with people more knowledgable in the subject.
I thank you for all the responses in advance.
I was thinking about creating an attack, that will deal more damage when an enemy has lower health percentage than the character carrying out the deed.
I assumed a formula that goes:
if ( a.hp > b.hp ) {a.atk * 4} else {a.atk * 2}
Will accomplish what I desire, but I wanted to make sure with people more knowledgable in the subject.
I thank you for all the responses in advance.