mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Added Heartwood Storyteller Avatar
This commit is contained in:
@@ -212,6 +212,15 @@ public class ManaCostAdjustment {
|
||||
if (!sa.isSpell()) {
|
||||
return;
|
||||
}
|
||||
if (params.containsKey("OnlyFirstSpell")) {
|
||||
if (activator == null ) {
|
||||
return;
|
||||
}
|
||||
if (CardLists.filterControlledBy(activator.getGame().getStack().getCardsCastThisTurn(),
|
||||
activator).size() > 0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
} else if (params.get("Type").equals("Ability")) {
|
||||
if (!(sa instanceof AbilityActivated)) {
|
||||
return;
|
||||
@@ -343,6 +352,15 @@ public class ManaCostAdjustment {
|
||||
if (!sa.isSpell()) {
|
||||
return;
|
||||
}
|
||||
if (params.containsKey("OnlyFirstSpell")) {
|
||||
if (activator == null ) {
|
||||
return;
|
||||
}
|
||||
if (CardLists.filterControlledBy(activator.getGame().getStack().getCardsCastThisTurn(),
|
||||
activator).size() > 0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
} else if (params.get("Type").equals("Ability")) {
|
||||
if (!(sa instanceof AbilityActivated)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user