- Joined
- Mar 15, 2015
- Messages
- 233
- Reaction score
- 27
- First Language
- English
- Primarily Uses
- RMMV
Didn't know how to word the title. Anyway! Here's the tag I'm using for "Wall of Spears".
<Custom Predamage Effect>
if (this.isPhysical()) {
a.gainHp(-origin.atk);
value = 0;
a.startAnimation(827);
a.startDamagePopup();
a.clearResult();
if (a.isDead()) a.performCollapse();
}
</Custom Predamage Effect>
It's used on an enemy and if that enemy uses a normal attack the damage to myself is negated and the enemy instead takes damage. The issue is I don't know how to stop the "0" from popping up on my character.
<Custom Predamage Effect>
if (this.isPhysical()) {
a.gainHp(-origin.atk);
value = 0;
a.startAnimation(827);
a.startDamagePopup();
a.clearResult();
if (a.isDead()) a.performCollapse();
}
</Custom Predamage Effect>
It's used on an enemy and if that enemy uses a normal attack the damage to myself is negated and the enemy instead takes damage. The issue is I don't know how to stop the "0" from popping up on my character.
Last edited by a moderator:
