A few similar cards
Here are some cards I found, that are very similar to existing cards or even functional reprints.
1. Kami of the Crescent Moon
cards.txt:
cards.txt:
cards.txt:
1. Kami of the Crescent Moon
cards.txt:
- Code: Select all
Kami of the Crescent Moon
U U
Legndray Creature Spirit
At the beginning of each player's draw step, that player draws an additional card.
1/3
- Code: Select all
upkeep_Kami_Crescent_Moon();
- Code: Select all
private static void upkeep_Kami_Crescent_Moon() {
final String player = AllZone.Phase.getActivePlayer();
CardList list = new CardList();
list.addAll(AllZone.Human_Play.getCards());
list.addAll(AllZone.Computer_Play.getCards());
list = list.getName("Kami of the Crescent Moon");
for(int i = 0; i < list.size(); i++){
AllZone.GameAction.drawCard(player);
}
}// upkeep_Kami_Crescent_Moon()
cards.txt:
- Code: Select all
Ancient Runes
2 R
Enchantment
At the beginning of each player's upkeep, Ancient Runes deals damage to that player equal to the number of artifacts he or she controls.
- Code: Select all
upkeep_Ancient_Runes();
- Code: Select all
private static void upkeep_Ancient_Runes() {
final String player = AllZone.Phase.getActivePlayer();
String opponent = AllZone.GameAction.getOpponent(player);
PlayerZone opponentPlayZone = AllZone.getZone(Constant.Zone.Play, opponent);
CardList ancient_runes = new CardList(opponentPlayZone.getCards());
ancient_runes = ancient_runes.getName("Ancient Runes");
PlayerZone activePlayZone = AllZone.getZone(Constant.Zone.Play, player);
CardList artifacts = new CardList(activePlayZone.getCards());
artifacts = artifacts.getType("Artifact");
// determine how much damage to deal the current player
final int damage = artifacts.size();
// if there are 1 or more Ancient Runes owned by the opponent of the
// current player have each of them deal damage.
if(0 < ancient_runes.size()) {
for(int i = 0; i < ancient_runes.size(); i++) {
Ability ability = new Ability(ancient_runes.get(0), "0") {
@Override
public void resolve() {
if(damage>0){
PlayerLife life = AllZone.GameAction.getPlayerLife(player);
life.setLife(life.getLife() - damage);
}
}
};// Ability
if(damage>0){
ability.setStackDescription("Ancient Runes deals " + damage + " damage to " + player);
AllZone.Stack.add(ability);
}
}
}// if
}// upkeep_Ancient_Runes()
cards.txt:
- Code: Select all
Three Visits
1 G
Sorcery
no text
- Code: Select all
else if(cardName.equals("Nature's Lore"))
- Code: Select all
else if(cardName.equals("Nature's Lore") || cardName.equals("Assert Authority"))