mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
* Lightning Storm - Fixed that abilities from stack abilities could be activated without cost paying (#4371).
This commit is contained in:
parent
ac81c5bbd4
commit
ced9cef1e1
1 changed files with 3 additions and 0 deletions
|
@ -1360,6 +1360,9 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
@Override
|
||||
public LinkedHashMap<UUID, ActivatedAbility> getUseableActivatedAbilities(MageObject object, Zone zone, Game game) {
|
||||
LinkedHashMap<UUID, ActivatedAbility> useable = new LinkedHashMap<>();
|
||||
if (object instanceof StackAbility) { // It may not be possible to activate abilities of stack actilities
|
||||
return useable;
|
||||
}
|
||||
if (object instanceof SplitCard) {
|
||||
SplitCard splitCard = (SplitCard) object;
|
||||
getUseableActivatedAbilitiesHalfImpl(splitCard.getLeftHalfCard(), zone, game, splitCard.getLeftHalfCard().getAbilities(), useable);
|
||||
|
|
Loading…
Reference in a new issue