fix: fast dmg can give us remove steps
This commit is contained in:
parent
d46bd2a7fa
commit
f1c22c8406
|
@ -134,6 +134,9 @@ export class Vulnerable extends Trait {
|
|||
const stateKeyParts = stateKey.split('/');
|
||||
switch (stateKeyParts[0]) {
|
||||
case 'damageList':
|
||||
if (!value) {
|
||||
break;
|
||||
}
|
||||
for (let i = 0; i < value.length; ++i) {
|
||||
const damage = value[i];
|
||||
if (this.entity.is('listed')) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user