refactor: isDying StateProperty
This commit is contained in:
parent
4b8c062b0f
commit
350ca435c1
|
@ -149,8 +149,8 @@ export class Vulnerable extends Trait {
|
|||
listeners() {
|
||||
return {
|
||||
|
||||
dying: () => {
|
||||
this._isInvulnerable = true;
|
||||
isDyingChanged: (_, isDying) => {
|
||||
this._isInvulnerable = isDying;
|
||||
},
|
||||
|
||||
stageChanged: () => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user