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