mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Nest of Scarabs - Fixed that did not produce tokens when -1/-1 counters are placed on creatures. (fixes #3174).
This commit is contained in:
parent
69ac72e242
commit
e73a2f5c58
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class NestOfScarabsTriggeredAbility extends TriggeredAbilityImpl {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean checkTrigger(GameEvent event, Game game) {
|
public boolean checkTrigger(GameEvent event, Game game) {
|
||||||
boolean weAreDoingIt = getControllerId().equals(game.getControllerId(event.getPlayerId()));
|
boolean weAreDoingIt = getControllerId().equals(event.getPlayerId());
|
||||||
boolean isM1M1Counters = event.getData().equals(CounterType.M1M1.getName());
|
boolean isM1M1Counters = event.getData().equals(CounterType.M1M1.getName());
|
||||||
if (weAreDoingIt && isM1M1Counters && event.getAmount() > 0) {
|
if (weAreDoingIt && isM1M1Counters && event.getAmount() > 0) {
|
||||||
Permanent permanent = game.getPermanentOrLKIBattlefield(event.getTargetId());
|
Permanent permanent = game.getPermanentOrLKIBattlefield(event.getTargetId());
|
||||||
|
|
Loading…
Reference in a new issue