mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Merge branch 'disturb' into 'master'
Disturb mechanic: specifically looking for Auras See merge request core-developers/forge!5730
This commit is contained in:
@@ -179,7 +179,7 @@ public final class GameActionUtil {
|
|||||||
final Cost disturbCost = new Cost(k[1], true);
|
final Cost disturbCost = new Cost(k[1], true);
|
||||||
|
|
||||||
SpellAbility newSA;
|
SpellAbility newSA;
|
||||||
if (source.getAlternateState().getType().isEnchantment()) {
|
if (source.getAlternateState().getType().hasSubtype("Aura")) {
|
||||||
newSA = source.getAlternateState().getFirstAbility().copyWithManaCostReplaced(activator,
|
newSA = source.getAlternateState().getFirstAbility().copyWithManaCostReplaced(activator,
|
||||||
disturbCost);
|
disturbCost);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user