mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- DGM: Added Varolz, the Scar-Striped
This commit is contained in:
@@ -401,7 +401,13 @@ public class StaticAbilityContinuous {
|
||||
|
||||
// add abilities
|
||||
if (addAbilities != null) {
|
||||
for (final String abilty : addAbilities) {
|
||||
for (String abilty : addAbilities) {
|
||||
if (abilty.contains("CardManaCost")) {
|
||||
abilty = abilty.replace("CardManaCost", affectedCard.getManaCost().toString());
|
||||
} else if (abilty.contains("ConvertedManaCost")) {
|
||||
final String costcmc = Integer.toString(affectedCard.getCMC());
|
||||
abilty = abilty.replace("ConvertedManaCost", costcmc);
|
||||
}
|
||||
if (abilty.startsWith("AB")) { // grant the ability
|
||||
final SpellAbility sa = AbilityFactory.getAbility(abilty, affectedCard);
|
||||
sa.setType("Temporary");
|
||||
|
||||
@@ -1646,7 +1646,7 @@ public abstract class Player extends GameEntity implements Comparable<Player> {
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Getter for the field <code>numDrawnThisTurn</code>.
|
||||
* Getter for the field <code>numDiscardedThisTurn</code>.
|
||||
* </p>
|
||||
*
|
||||
* @return a int.
|
||||
|
||||
Reference in New Issue
Block a user