[Ohrrpgce] [ohrrpgce:bugs] #2045 Lost HP (target) base attack stat is always 0
teeemcee at users.sourceforge.net
Sun Feb 2 03:46:13 PST 2020
- **summary**: Lost HP (target) and Lost MP (target) attack stats are always 0 --> Lost HP (target) base attack stat is always 0
- **Component**: Battles --> Attacks
- **Operating System**: Windows (please specify version) --> All/Unknown
Yikes, you're right, "Lost HP (target)" was broken because it was calculating "cur - max" instead of "max - cur", usually resulting in a negative value that got capped to 0 or 1.
However "Lost MP (target)" doesn't have that bug and works fine for me. Correct me if I'm wrong.
** [bugs:#2045] Lost HP (target) base attack stat is always 0**
**Created:** Sat Feb 01, 2020 01:11 AM UTC by Santino Labbate
**Last Updated:** Sat Feb 01, 2020 01:11 AM UTC
It looks like no matter what the targets HP or MP relative to their maxima, the attack stats "Lost HP (target)" and "Lost MP (target)" always are zero for the purposes of calculating damage.
For example, when an enemy has 200 max HP and they currently have 100 HP, if they are hit with an attack that does "Pure Damage" equal to 100% of their Lost HP, the attack will deal 0 damage (or 1 damage if the "damage can be zero" bitset isn't checked). This is also the case when an enemy is attacking a hero.
Sent from sourceforge.net because ohrrpgce at lists.motherhamster.org is subscribed to https://sourceforge.net/p/ohrrpgce/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/ohrrpgce/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ohrrpgce