mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Make sure the actual mana ability is being grabbed for amoutnOfManaGenerated
This commit is contained in:
@@ -523,7 +523,7 @@ public final class GameActionUtil {
|
|||||||
// Calculate generated mana here for stack description and resolving
|
// Calculate generated mana here for stack description and resolving
|
||||||
|
|
||||||
int amount = sa.hasParam("Amount") ? AbilityUtils.calculateAmount(sa.getHostCard(), sa.getParam("Amount"), sa) : 1;
|
int amount = sa.hasParam("Amount") ? AbilityUtils.calculateAmount(sa.getHostCard(), sa.getParam("Amount"), sa) : 1;
|
||||||
AbilityManaPart abMana = sa.getManaPart();
|
AbilityManaPart abMana = sa.getManaPartRecursive();
|
||||||
|
|
||||||
if (sa.hasParam("Bonus")) {
|
if (sa.hasParam("Bonus")) {
|
||||||
// For mana abilities that get a bonus
|
// For mana abilities that get a bonus
|
||||||
|
|||||||
Reference in New Issue
Block a user