mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 12:19:59 -08:00
* Fixed a bug of Exchange control were activated abilities got the wrong controller.
This commit is contained in:
parent
6c93ba1285
commit
18e4bc7f18
4 changed files with 60 additions and 3 deletions
|
|
@ -106,7 +106,7 @@ class GildedDrakeEffect extends OneShotEffect {
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Permanent sourceObject = game.getPermanent(source.getSourceId());
|
||||
Permanent targetPermanent = null;
|
||||
Permanent targetPermanent;
|
||||
Player controller = game.getPlayer(source.getControllerId());
|
||||
if (controller != null) {
|
||||
if (targetPointer.getFirst(game, source) != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue