This damage formula gets +100hp to the attacker when it attacks itself, but without specifing it during combat. So that the player has no way to figure out that it heals: (see fist formula below)
Is it possible to change it so that the HP it heals are properly showed to the player? I tested the seccond formula and it crashes the game, but is there an other way to express it correctly? (I've just moved this expression: += 100 ..and removed this call: a.hp
..in hope that it would be treaten as normal damage/heal.
So, is it possible to change that:
b == a ? (a.hp += 100; a.animation_id = 40; 0) : (b.animation_id = 1; 500)
for something like:
b == a ? (a.animation_id = 40; +=100) : (b.animation_id = 1; 500)
Thanks for your precious help 😉
Is it possible to change it so that the HP it heals are properly showed to the player? I tested the seccond formula and it crashes the game, but is there an other way to express it correctly? (I've just moved this expression: += 100 ..and removed this call: a.hp
..in hope that it would be treaten as normal damage/heal.
So, is it possible to change that:
b == a ? (a.hp += 100; a.animation_id = 40; 0) : (b.animation_id = 1; 500)
for something like:
b == a ? (a.animation_id = 40; +=100) : (b.animation_id = 1; 500)
Thanks for your precious help 😉