Actor#applyDamage now applies the Defeated condition if the damage put them at 0 health.
Actor#applyHealing now removes the Defeated condition if the healing raised them above 0 health.
Also fixed a bug where applyDamage didn't properly instantiate an object when given a numeric value.
Closes #71.
Actor#applyDamage
now applies the Defeated condition if the damage put them at 0 health.Actor#applyHealing
now removes the Defeated condition if the healing raised them above 0 health.Also fixed a bug where
applyDamage
didn't properly instantiate an object when given a numeric value.