mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- 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:
@@ -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*****************************
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user