realDragon11 / Trawel-Text

An open world text adventure rpg. (Source-Available, ask before redistributing.)
Other
5 stars 3 forks source link

Hangs #28

Closed realDragon11 closed 3 years ago

realDragon11 commented 3 years ago

Likely caused by infinite battles, should implement exhaustion penalties.

realDragon11 commented 3 years ago

Battles now have a soft cap- after a certain number of rounds, everyone starts taking linear damage.

realDragon11 commented 1 year ago

Dying outside of an attack (most commonly due to bleed, although the prior fix could also cause this bug) would render an opponent unkillable. As a fix, if a person makes an attack with <=0 hp, they are now also treated as dead, which should solve the hangs caused by this issue. (which were never reported but definitely possible if both sides had this bug at once) Also just a general bookkeeping safety check in general. 158b75bf4f13ad68e970991997bebb0f3c303565