adding Caravan Escort from Rise of the Eldrazi

This commit is contained in:
jendave
2011-08-06 04:00:37 +00:00
parent 76cd50e064
commit 2547c70991
4 changed files with 47 additions and 0 deletions

View File

@@ -9924,6 +9924,42 @@ public class GameActionUtil {
}
};
public static Command Caravan_Escort = new Command() {
/**
*
*/
private static final long serialVersionUID = -6996623102170747897L;
public void execute()
{
CardList list = new CardList();
list.addAll(AllZone.Human_Play.getCards());
list.addAll(AllZone.Computer_Play.getCards());
list = list.getName("Caravan Escort");
for (Card c:list)
{
int lcs = c.getCounters(Counters.LEVEL);
if ( lcs < 1)
{
c.setBaseAttack(1);
c.setBaseDefense(1);
}
else if ( lcs >=1 && lcs < 5 )
{
c.setBaseAttack(2);
c.setBaseDefense(2);
}
else
{
c.setBaseAttack(5);
c.setBaseDefense(5);
c.addNonStackingIntrinsicKeyword("First Strike");
}
}
}
};
public static Command Student_of_Warfare = new Command() {
private static final long serialVersionUID = 2627513737024865169L;
@@ -15338,6 +15374,7 @@ public class GameActionUtil {
commands.put("Transcendent_Master", Transcendent_Master);
commands.put("Lighthouse_Chronologist", Lighthouse_Chronologist);
commands.put("Skywatcher_Adept", Skywatcher_Adept);
commands.put("Caravan_Escort", Caravan_Escort);
commands.put("Soulsurge_Elemental", Soulsurge_Elemental);
commands.put("Dauntless_Dourbark", Dauntless_Dourbark);

View File

@@ -58,6 +58,7 @@ public class StaticEffects
cardToEffectsList.put("Transcendent Master", new String[]{"Transcendent_Master"});
cardToEffectsList.put("Lighthouse Chronologist", new String[] {"Lighthouse_Chronologist"});
cardToEffectsList.put("Skywatcher Adept", new String[] {"Skywatcher_Adept"});
cardToEffectsList.put("Caravan Escort", new String[] {"Caravan_Escort"});
cardToEffectsList.put("Soulsurge Elemental", new String[] {"Soulsurge_Elemental"});
cardToEffectsList.put("Dauntless Dourbark", new String[] {"Dauntless_Dourbark"});
cardToEffectsList.put("Gaea's Avenger", new String[] {"Gaeas_Avenger"});