mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
added Heedless One from Onslaught
This commit is contained in:
@@ -38,6 +38,7 @@ snow_covered_mountain.jpg http://www.wizards.com/global/images/magic/gene
|
|||||||
snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg
|
snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg
|
||||||
snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
||||||
snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
||||||
|
heedless_one.jpg http://www.wizards.com/global/images/magic/general/heedless_one.jpg
|
||||||
slate_of_ancestry.jpg http://www.wizards.com/global/images/magic/general/slate_of_ancestry.jpg
|
slate_of_ancestry.jpg http://www.wizards.com/global/images/magic/general/slate_of_ancestry.jpg
|
||||||
champions_drake.jpg http://www.wizards.com/global/images/magic/general/champions_drake.jpg
|
champions_drake.jpg http://www.wizards.com/global/images/magic/general/champions_drake.jpg
|
||||||
halimar_wavewatch.jpg http://www.wizards.com/global/images/magic/general/halimar_wavewatch.jpg
|
halimar_wavewatch.jpg http://www.wizards.com/global/images/magic/general/halimar_wavewatch.jpg
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
Heedless One
|
||||||
|
3 G
|
||||||
|
Creature Elf Avatar
|
||||||
|
Heedless One's power and toughness are each equal to the number of Elves on the battlefield.
|
||||||
|
1/1
|
||||||
|
Trample
|
||||||
|
|
||||||
Slate of Ancestry
|
Slate of Ancestry
|
||||||
4
|
4
|
||||||
Artifact
|
Artifact
|
||||||
|
|||||||
@@ -10582,7 +10582,33 @@ public class GameActionUtil {
|
|||||||
forests = forests.getType("Forest");
|
forests = forests.getType("Forest");
|
||||||
return forests.size();
|
return forests.size();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
public static Command Heedless_One = new Command() {
|
||||||
|
private static final long serialVersionUID = -220650457326100804L;
|
||||||
|
|
||||||
|
public void execute() {
|
||||||
|
// get all creatures
|
||||||
|
CardList list = new CardList();
|
||||||
|
list.addAll(AllZone.Human_Play.getCards());
|
||||||
|
list.addAll(AllZone.Computer_Play.getCards());
|
||||||
|
list = list.getName("Heedless One");
|
||||||
|
|
||||||
|
for(int i = 0; i < list.size(); i++) {
|
||||||
|
Card c = list.get(i);
|
||||||
|
c.setBaseAttack(countElves(c));
|
||||||
|
c.setBaseDefense(countElves(c));
|
||||||
|
}
|
||||||
|
|
||||||
|
}// execute()
|
||||||
|
|
||||||
|
private int countElves(Card c) {
|
||||||
|
PlayerZone play = AllZone.getZone(Constant.Zone.Play, c.getController());
|
||||||
|
CardList elves = new CardList(play.getCards());
|
||||||
|
elves = elves.getType("Elf");
|
||||||
|
return elves.size();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
public static Command Kird_Ape = new Command() {
|
public static Command Kird_Ape = new Command() {
|
||||||
@@ -15837,6 +15863,7 @@ public class GameActionUtil {
|
|||||||
commands.put("Iona_Shield_of_Emeria", Iona_Shield_of_Emeria);
|
commands.put("Iona_Shield_of_Emeria", Iona_Shield_of_Emeria);
|
||||||
commands.put("Kor_Duelist", Kor_Duelist);
|
commands.put("Kor_Duelist", Kor_Duelist);
|
||||||
commands.put("Keldon_Warlord", Keldon_Warlord);
|
commands.put("Keldon_Warlord", Keldon_Warlord);
|
||||||
|
commands.put("Heedless_One", Heedless_One);
|
||||||
//System.out.println("size of commands: " + commands.size());
|
//System.out.println("size of commands: " + commands.size());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -197,6 +197,7 @@ public class StaticEffects
|
|||||||
cardToEffectsList.put("Iona, Shield of Emeria", new String[] {"Iona_Shield_of_Emeria"});
|
cardToEffectsList.put("Iona, Shield of Emeria", new String[] {"Iona_Shield_of_Emeria"});
|
||||||
cardToEffectsList.put("Kor Duelist", new String[] {"Kor_Duelist"});
|
cardToEffectsList.put("Kor Duelist", new String[] {"Kor_Duelist"});
|
||||||
cardToEffectsList.put("Keldon Warlord", new String[] {"Keldon_Warlord"});
|
cardToEffectsList.put("Keldon Warlord", new String[] {"Keldon_Warlord"});
|
||||||
|
cardToEffectsList.put("Heedless One", new String[] {"Heedless_One"});
|
||||||
}
|
}
|
||||||
|
|
||||||
public HashMap<String, String[]> getCardToEffectsList()
|
public HashMap<String, String[]> getCardToEffectsList()
|
||||||
|
|||||||
Reference in New Issue
Block a user