mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
* Humble Defector - Fixed that if its activated ability is on the stack and the Humble Defector left battlefield and returned before resolving the control of it changed regardless.
This commit is contained in:
parent
2f09b2859c
commit
393444a87b
1 changed files with 2 additions and 2 deletions
|
@ -98,11 +98,11 @@ class HumbleDefectorEffect extends OneShotEffect {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Player controller = game.getPlayer(source.getControllerId());
|
||||
Permanent humbleDefector = game.getPermanent(source.getSourceId());
|
||||
Player controller = game.getPlayer(source.getControllerId());
|
||||
if (controller != null) {
|
||||
controller.drawCards(2, game);
|
||||
}
|
||||
Permanent humbleDefector = (Permanent) source.getSourceObjectIfItStillExists(game);
|
||||
Player targetOpponent = game.getPlayer(getTargetPointer().getFirst(game, source));
|
||||
if (targetOpponent != null && humbleDefector != null) {
|
||||
ContinuousEffect effect = new HumbleDefectorControlSourceEffect();
|
||||
|
|
Loading…
Reference in a new issue