mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* Garruk, Apex Predator - Fixed that the third abilit did not apply the life gain if the target creature did not die (e.g. because of indestructable).
This commit is contained in:
parent
96fe50cebe
commit
1deaf53b97
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class GarrukApexPredatorEffect3 extends OneShotEffect {
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
Permanent creature = (Permanent) game.getLastKnownInformation(source.getFirstTarget(), Zone.BATTLEFIELD);
|
||||
Permanent creature = game.getPermanentOrLKIBattlefield(getTargetPointer().getFirst(game, source));
|
||||
if (player != null && creature != null) {
|
||||
player.gainLife(creature.getToughness().getValue(), game);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue