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