mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Fixed a bug of Wing puncture not using LKI for source creature power.
This commit is contained in:
parent
8a220c8bdf
commit
f31fc9d9aa
1 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ class WingPunctureEffect extends OneShotEffect<WingPunctureEffect> {
|
|||
|
||||
public WingPunctureEffect() {
|
||||
super(Outcome.Damage);
|
||||
staticText = "Target creature you control deals damage equal to its power to target creature with flying.";
|
||||
staticText = "Target creature you control deals damage equal to its power to target creature with flying";
|
||||
}
|
||||
|
||||
public WingPunctureEffect(final WingPunctureEffect effect) {
|
||||
|
@ -91,7 +91,7 @@ class WingPunctureEffect extends OneShotEffect<WingPunctureEffect> {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
Permanent sourcePermanent = game.getPermanent(source.getFirstTarget());
|
||||
if (sourcePermanent == null) {
|
||||
game.getLastKnownInformation(source.getFirstTarget(), Zone.BATTLEFIELD);
|
||||
sourcePermanent = (Permanent) game.getLastKnownInformation(source.getFirstTarget(), Zone.BATTLEFIELD);
|
||||
}
|
||||
|
||||
Permanent targetPermanent = (Permanent) game.getPermanent(source.getTargets().get(1).getFirstTarget());
|
||||
|
|
Loading…
Reference in a new issue