forked from External/mage
Fixed more instances of missing sub abilities
This commit is contained in:
parent
060ea7da83
commit
5a6bfb710e
3 changed files with 3 additions and 3 deletions
|
|
@ -305,9 +305,7 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
|
|||
public void addAbility(Ability ability) {
|
||||
ability.setSourceId(this.getId());
|
||||
abilities.add(ability);
|
||||
for (Ability subAbility : ability.getSubAbilities()) {
|
||||
abilities.add(subAbility);
|
||||
}
|
||||
abilities.addAll(ability.getSubAbilities());
|
||||
|
||||
// dynamic check: you can't add ability to the PermanentCard, use permanent.addAbility(a, source, game) instead
|
||||
// reason: triggered abilities are not processing here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue