Implement cards: Briar Shield, Bubble Matrix, Foriysian Brigade, and Master of Arms

This commit is contained in:
LoneFox 2015-09-14 13:41:13 +03:00
parent cdfdcde2a5
commit d2a90e6131
5 changed files with 283 additions and 1 deletions

View file

@ -84,7 +84,7 @@ public class BoostEnchantedEffect extends ContinuousEffectImpl {
if (affectedObjectsSet) {
// Added boosts of activated or triggered abilities exist independent from the source they are created by
// so a continuous effect for the permanent itself with the attachment is created
Permanent equipment = game.getPermanent(source.getSourceId());
Permanent equipment = game.getPermanentOrLKIBattlefield(source.getSourceId());
if (equipment != null && equipment.getAttachedTo() != null) {
this.setTargetPointer(new FixedTarget(equipment.getAttachedTo(), game.getState().getZoneChangeCounter(equipment.getAttachedTo())));
}