by D2JK » Sat Dec 19, 2015 5:48 pm
Currently, it seems health can only increase/decrease by an integer value, and decimals are either floored or rounded. But would it be a major undertaking to track the fractions of health as well, invisibly, behind the scenes?
For example, 10 hits of .1 damage would eventually cost that single health point (such hits are completely harmless as of now).
Other examples:
- Radius damage from weak explosions could now deal fractional damage
- Continuous ray attacks could deal fractional damage (but do so rapidly)
- Weak life drain attacks (A_CustomPunch) would become much easier to balance (currently, slightly too low a lifedrain factor will completely nullify the drain effect)
Currently, it seems health can only increase/decrease by an integer value, and decimals are either floored or rounded. But would it be a major undertaking to track the fractions of health as well, invisibly, behind the scenes?
For example, 10 hits of .1 damage would eventually cost that single health point (such hits are completely harmless as of now).
[b]Other examples:[/b]
- Radius damage from weak explosions could now deal fractional damage
- Continuous ray attacks could deal fractional damage (but do so rapidly)
- Weak life drain attacks (A_CustomPunch) would become much easier to balance (currently, slightly too low a lifedrain factor will completely nullify the drain effect)