fixed Rakdos Roustabout not triggering on blocks

This commit is contained in:
Evan Kranzler 2019-01-14 21:02:34 -05:00
parent bfc3e965eb
commit fafb4fdb0e

View file

@ -63,8 +63,10 @@ class RakdosRoustaboutAbility extends TriggeredAbilityImpl {
@Override
public boolean checkTrigger(GameEvent event, Game game) {
if (sourceId.equals(event.getSourceId())) {
this.getEffects().get(0).setTargetPointer(new FixedTarget(game.getCombat().getDefenderId(event.getSourceId())));
if (sourceId.equals(event.getTargetId())) {
this.getEffects().get(0).setTargetPointer(
new FixedTarget(game.getCombat().getDefenderId(event.getTargetId()), game)
);
return true;
}
return false;