Merge pull request #3404 from drmDev/master

only fixes 2 of 3 issues with Scarabs. infect damage not triggering infect still for #3402
This commit is contained in:
Derek M 2017-05-20 09:48:16 -04:00 committed by GitHub
commit 74ad6004f0
2 changed files with 2 additions and 2 deletions

View file

@ -82,7 +82,7 @@ class NestOfScarabsTriggeredAbility extends TriggeredAbilityImpl {
@Override
public boolean checkTrigger(GameEvent event, Game game) {
boolean weAreDoingIt = getControllerId().equals(event.getPlayerId());
boolean weAreDoingIt = getControllerId().equals(game.getControllerId(event.getSourceId()));
boolean isM1M1Counters = event.getData().equals(CounterType.M1M1.getName());
if (weAreDoingIt && isM1M1Counters && event.getAmount() > 0) {
Permanent permanent = game.getPermanentOrLKIBattlefield(event.getTargetId());