Fix revive tokens not stacking
This commit is contained in:
1 parent
4b59097a85
commit
94af842146
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user