mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
* Loyal Sentry - Fixed a bug that the blocked creature was not destroyed.
This commit is contained in:
parent
2198a01781
commit
8e169649f3
1 changed files with 1 additions and 2 deletions
|
@ -53,7 +53,6 @@ public class LoyalSentry extends CardImpl {
|
|||
this.subtype.add("Human");
|
||||
this.subtype.add("Soldier");
|
||||
|
||||
this.color.setWhite(true);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
|
@ -83,7 +82,7 @@ class LoyalSentryEffect extends OneShotEffect {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Permanent p = game.getPermanent(source.getFirstTarget());
|
||||
Permanent p = game.getPermanent(getTargetPointer().getFirst(game, source));
|
||||
if (p != null) {
|
||||
p.destroy(source.getSourceId(), game, false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue