IdleLands / IdleLandsOld

[DEPRECATED] A full-blown idling RPG. It has a modular backend that can be added to any existing frontend via a REST API.
http://idlelands.github.io/IdleLandsOld
MIT License
41 stars 28 forks source link

Negative HP characters start dead in battle. #100

Closed alxgnon closed 10 years ago

alxgnon commented 10 years ago
22:03:04 @IdleMaster │ A battle is raging...
22:03:06 @IdleMaster │ A new combat round has started. Current status: Judge [ HP 0/-216 MP 109/109 ], thorax [ HP 142/142 MP 21/21 ], retset [ HP 29/29 MP 11/11 ], Yato [ HP 85/85 MP 44/44 ]
22:03:08 @IdleMaster │ thorax is attacking retset, and hit with his Empty and Broken Ale Bottle for 22 HP damage!
22:03:09 @IdleMaster │ retset is attacking thorax, and hit with his Empty and Broken Ale Bottle for 7 HP damage!
22:03:11 @IdleMaster │ Yato is attacking thorax, and hit with his Empty and Broken Ale Bottle for 16 HP damage!
22:03:13 @IdleMaster │ A new combat round has started. Current status: Judge [ HP 0/-216 MP 109/109 ], thorax [ HP 119/142 MP 21/21 ], retset [ HP 7/29 MP 11/11 ], Yato [ HP 85/85 MP 44/44 ]

As you can see, Judge is not present at all in the battle. He is considered dead at the start of it.

seiyria commented 10 years ago

According to 0171376c7ff2956a187eba4d27d08c13b6396385, I can't math. I'll fix this real quick.