mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
* Myriad - Fixed handling of source object determination.
This commit is contained in:
parent
deb4608c00
commit
932b454595
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class MyriadEffect extends OneShotEffect {
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Player controller = game.getPlayer(source.getControllerId());
|
||||
Permanent sourceObject = game.getPermanent(source.getSourceId());
|
||||
Permanent sourceObject = game.getPermanentOrLKIBattlefield(source.getSourceId());
|
||||
if (controller != null && sourceObject != null) {
|
||||
for (UUID playerId : game.getState().getPlayersInRange(controller.getId(), game)) {
|
||||
if (playerId != getTargetPointer().getFirst(game, source) && controller.hasOpponent(playerId, game)) {
|
||||
|
|
Loading…
Reference in a new issue