mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 01:38:13 +00:00
Add ValidActivator
This commit is contained in:
@@ -35,7 +35,10 @@ public class ReplaceProduceMana extends ReplacementEffect {
|
||||
if (!matchesValidParam("ValidCard", runParams.get(AbilityKey.Affected))) {
|
||||
return false;
|
||||
}
|
||||
if (!matchesValidParam("ValidPlayer", runParams.get(AbilityKey.Activator))) {
|
||||
if (!matchesValidParam("ValidPlayer", runParams.get(AbilityKey.Player))) {
|
||||
return false;
|
||||
}
|
||||
if (!matchesValidParam("ValidActivator", runParams.get(AbilityKey.Activator))) {
|
||||
return false;
|
||||
}
|
||||
if (!matchesValidParam("ValidAbility", runParams.get(AbilityKey.AbilityMana))) {
|
||||
|
||||
Reference in New Issue
Block a user