- Added "{cost}Sacrifice CARDNAME: Add {mana} to your mana pool." keyword plus added a bunch of cards that support this (still in the process of adding a bunch more).

- Converted Composite Golem and Black Lotus to use this keyword (they are actual Mana Abilities now, so they can be used to pay for upkeep costs etc.)
This commit is contained in:
jendave
2011-08-06 04:07:09 +00:00
parent 13241c9076
commit 7abee899a9
4 changed files with 127 additions and 59 deletions

View File

@@ -170,7 +170,7 @@ public class CardFactory implements NewConstants {
private final int shouldManaAbility(Card c) {
ArrayList<String> a = c.getIntrinsicKeyword();
for(int i = 0; i < a.size(); i++)
if(a.get(i).toString().contains(": add ")) return i;
if(a.get(i).toString().contains(": add ") || a.get(i).toString().contains(": Add ") ) return i;
return -1;
}
@@ -13724,12 +13724,12 @@ public class CardFactory implements NewConstants {
return card;
}//*************** END ************ END **************************
/*
//*************** START *********** START **************************
else if(cardName.equals("Black Lotus")) {
final Ability_Tap ability = new Ability_Tap(card, "0") {
private static final long serialVersionUID = 8394047173115959008L;
@Override
public boolean canPlayAI() {
return false;
@@ -13781,8 +13781,8 @@ public class CardFactory implements NewConstants {
card.addSpellAbility(ability);
}//*************** END ************ END **************************
*/
//**************************Equipment*****************************