Implement cards: Detonate, Disembowel, Serendib Sorcerer, and Spire Owl

This commit is contained in:
LoneFox 2015-09-03 12:48:05 +03:00
parent 8d28300edd
commit 561366133d
9 changed files with 516 additions and 1 deletions

View file

@ -77,7 +77,7 @@ public class DamageTargetControllerEffect extends OneShotEffect {
@Override
public boolean apply(Game game, Ability source) {
Permanent permanent = game.getPermanent(getTargetPointer().getFirst(game, source));
Permanent permanent = game.getPermanentOrLKIBattlefield(getTargetPointer().getFirst(game, source));
if(permanent != null) {
Player targetController = game.getPlayer(permanent.getControllerId());
if(targetController != null) {