forked from External/mage
Work in progress changes for Amonket Aftermath ability.
* Card Rendering has support for Aftermath Split card frames * Card Rendering has support for Split cards * Aftermath ability work in progress
This commit is contained in:
parent
94dc4ac52c
commit
a96a7f89f5
15 changed files with 798 additions and 68 deletions
|
|
@ -284,7 +284,11 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
|
|||
return all;
|
||||
}
|
||||
|
||||
protected void addAbility(Ability ability) {
|
||||
/**
|
||||
* Public in order to support adding abilities to SplitCardHalf's
|
||||
* @param ability
|
||||
*/
|
||||
public void addAbility(Ability ability) {
|
||||
ability.setSourceId(this.getId());
|
||||
abilities.add(ability);
|
||||
for (Ability subAbility : ability.getSubAbilities()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue