mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
* Suspend ability - fixed that suspend can be activated from opponent's hand;
This commit is contained in:
parent
fb4065ba66
commit
9fa487e60a
9 changed files with 97 additions and 27 deletions
|
|
@ -1319,7 +1319,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
SpellAbility ability = card.getSpellAbility();
|
||||
if (ability != null && ability.canActivate(playerId, game).canActivate()
|
||||
&& !game.getContinuousEffects().preventedByRuleModification(GameEvent.getEvent(GameEvent.EventType.CAST_SPELL, ability.getSourceId(), ability, playerId), ability, game, true)) {
|
||||
if (card.getCardType(game).contains(CardType.INSTANT)
|
||||
if (card.isInstant(game)
|
||||
|| card.hasAbility(FlashAbility.getInstance(), game)) {
|
||||
playableInstant.add(card);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue