Fix revive tokens not stacking

This commit is contained in:
Flashfyre 2023-10-31 14:47:12 -04:00
parent 4b59097a85
commit 94af842146

View File

@ -1414,7 +1414,7 @@ export class EnemyInstantReviveChanceModifier extends EnemyPersistentModifer {
this.chance = chancePercent / 100;
}
matchType(modifier: Modifier) {
match(modifier: Modifier) {
return modifier instanceof EnemyInstantReviveChanceModifier && modifier.fullHeal === this.fullHeal && modifier.chance === this.chance;
}