mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fixed a typo
This commit is contained in:
@@ -1359,7 +1359,7 @@ public class AbilityUtils {
|
|||||||
return CardFactoryUtil.xCount(c, s);
|
return CardFactoryUtil.xCount(c, s);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final void applyManaColorConvertion(final Player p, final Map<String, String> params) {
|
public static final void applyManaColorConversion(final Player p, final Map<String, String> params) {
|
||||||
String conversionType = params.get("ManaColorConversion");
|
String conversionType = params.get("ManaColorConversion");
|
||||||
|
|
||||||
// Choices are Additives(OR) or Restrictive(AND)
|
// Choices are Additives(OR) or Restrictive(AND)
|
||||||
|
|||||||
@@ -337,7 +337,7 @@ public class StaticAbilityContinuous {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (params.containsKey("ManaColorConversion")) {
|
if (params.containsKey("ManaColorConversion")) {
|
||||||
AbilityUtils.applyManaColorConvertion(p, params);
|
AbilityUtils.applyManaColorConversion(p, params);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ public class HumanPlaySpellAbility {
|
|||||||
game.getStack().freezeStack();
|
game.getStack().freezeStack();
|
||||||
|
|
||||||
if (manaConversion) {
|
if (manaConversion) {
|
||||||
AbilityUtils.applyManaColorConvertion(human, params);
|
AbilityUtils.applyManaColorConversion(human, params);
|
||||||
}
|
}
|
||||||
// This line makes use of short-circuit evaluation of boolean values, that is each subsequent argument
|
// This line makes use of short-circuit evaluation of boolean values, that is each subsequent argument
|
||||||
// is only executed or evaluated if the first argument does not suffice to determine the value of the expression
|
// is only executed or evaluated if the first argument does not suffice to determine the value of the expression
|
||||||
|
|||||||
Reference in New Issue
Block a user