fixed Rakdos Roustabout not triggering on blocks
@@ -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;
