mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 20:59:14 -08:00
Last known information. Fixed Razor Hippogriff.
This commit is contained in:
parent
2c90429867
commit
9ed30fa0ae
4 changed files with 42 additions and 1 deletions
|
|
@ -108,7 +108,10 @@ public class RazorHippogriff extends CardImpl<RazorHippogriff> {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
if (player != null) {
|
||||
MageObject card = game.getObject(source.getFirstTarget());
|
||||
Card card = player.getGraveyard().get(source.getFirstTarget(), game);
|
||||
if (card == null) {
|
||||
card = game.getLastKnownInformation(source.getFirstTarget(), Zone.GRAVEYARD);
|
||||
}
|
||||
if (card != null) {
|
||||
player.gainLife(card.getManaCost().convertedManaCost(), game);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue