forked from External/mage
[KHM] Implemented The Raven's Warning (#7425)
This commit is contained in:
parent
ca05fb9253
commit
a26d9b2fd0
4 changed files with 134 additions and 6 deletions
|
|
@ -31,7 +31,7 @@ public class LookAtTargetPlayerHandEffect extends OneShotEffect {
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Player you = game.getPlayer(source.getControllerId());
|
||||
Player targetPlayer = game.getPlayer(source.getFirstTarget());
|
||||
Player targetPlayer = game.getPlayer(targetPointer.getFirst(game, source));
|
||||
MageObject sourceObject = game.getObject(source.getSourceId());
|
||||
if (you != null && targetPlayer != null) {
|
||||
you.lookAtCards(sourceObject != null ? sourceObject.getIdName() : null, targetPlayer.getHand(), game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue