mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Implemented an experimental version of Multikicker, added Gnarlid Pack, Apex Hawks and Enclave Elite.
This commit is contained in:
@@ -215,6 +215,20 @@ public class CardFactory implements NewConstants {
|
||||
}
|
||||
}
|
||||
|
||||
if (hasKeyword(card, "Multikicker") != -1)
|
||||
{
|
||||
int n = hasKeyword(card, "Multikicker");
|
||||
if (n!= -1)
|
||||
{
|
||||
String parse = card.getKeyword().get(n).toString();
|
||||
String k[] = parse.split("kicker ");
|
||||
|
||||
SpellAbility sa = card.getSpellAbility()[0];
|
||||
sa.setIsMultiKicker(true);
|
||||
sa.setMultiKickerManaCost(k[1]);
|
||||
}
|
||||
}
|
||||
|
||||
/* //Creatures with simple, self-targeted mana-activated keyword adding abilities
|
||||
//-1 means not found
|
||||
while(hasKeyword(card, "KPump") != -1)
|
||||
|
||||
Reference in New Issue
Block a user