* Mana pay to cast - fixed wrong mana calc for commanders (example: Marath, Will of the Wild, see #8204);

This commit is contained in:
Oleg Agafonov 2021-09-04 19:24:35 +04:00
parent b56aef9341
commit 3a8e04f2bc
2 changed files with 50 additions and 1 deletions

View file

@ -92,7 +92,7 @@ public class ManaPaidSourceWatcher extends Watcher {
switch (event.getType()) {
case ZONE_CHANGE:
if (((ZoneChangeEvent) event).getFromZone() == Zone.BATTLEFIELD) {
manaMap.remove(event.getSourceId());
manaMap.remove(event.getTargetId());
}
return;
case MANA_PAID: