* Roar of Jukai - Fixed that boost was assigned to blocking instead to blocked creatures.

This commit is contained in:
LevelX2 2014-10-25 09:20:56 +02:00
parent 2c164af920
commit 5bc89aadd0

View file

@ -115,7 +115,7 @@ class RoarOfJukaiEffect extends OneShotEffect {
Player controller = game.getPlayer(source.getControllerId());
if (controller != null) {
if (new PermanentsOnTheBattlefieldCondition(filter, CountType.MORE_THAN, 0).apply(game, source)) {
for(Permanent permanent : game.getBattlefield().getActivePermanents(new FilterBlockingCreature(), source.getControllerId(), source.getSourceId(), game)) {
for(Permanent permanent : game.getBattlefield().getActivePermanents(filterBlocked, source.getControllerId(), source.getSourceId(), game)) {
ContinuousEffect effect = new BoostTargetEffect(2,2, Duration.EndOfTurn);
effect.setTargetPointer(new FixedTarget(permanent.getId()));
game.addEffect(effect, source);