refactor: isDying StateProperty

This commit is contained in:
cha0s 2019-10-10 01:26:58 -05:00
parent 4b8c062b0f
commit 350ca435c1

View File

@ -149,8 +149,8 @@ export class Vulnerable extends Trait {
listeners() {
return {
dying: () => {
this._isInvulnerable = true;
isDyingChanged: (_, isDying) => {
this._isInvulnerable = isDying;
},
stageChanged: () => {