fix: healing too

This commit is contained in:
cha0s 2024-09-29 06:32:13 -05:00
parent 0cdabd0858
commit 9e82b3a5c1

View File

@ -29,6 +29,7 @@ export default class Vulnerable extends Component {
const {Alive} = Component.ecs.get(this.entity);
if (Alive) {
switch (specification.type) {
case DamageTypes.HEALING:
case DamageTypes.PAIN: {
Alive.acceptDamage(specification.amount);
}