mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
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:
commit
74ad6004f0
2 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
|
|
|
@ -86,7 +86,7 @@ public class NestOfScarabsTest extends CardTestPlayerBase {
|
|||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertPermanentCount(playerA, nestScarabs, 1);
|
||||
assertPermanentCount(playerA, nestScarabs, 1);
|
||||
assertHandCount(playerA, blackZenith, 0);
|
||||
assertLibraryCount(playerA, blackZenith, 1); // shuffles back into library
|
||||
assertGraveyardCount(playerA, fugitive, 1);
|
||||
|
|
Loading…
Reference in a new issue