mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
* Fixed Leech Bonder -1/-1 Tokens don't kill off enemy creatures (fixes #1975).
This commit is contained in:
parent
d0db2d51ed
commit
9df373e8f3
4 changed files with 73 additions and 30 deletions
|
|
@ -166,4 +166,13 @@ public enum CounterType {
|
|||
return new Counter(name, amount);
|
||||
}
|
||||
}
|
||||
|
||||
public static CounterType findByName(String name) {
|
||||
for (CounterType counterType : values()) {
|
||||
if (counterType.getName().equals(name)) {
|
||||
return counterType;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue