mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 12:19:59 -08:00
* Fixed shares subtype check.
This commit is contained in:
parent
04ba280be1
commit
4ce652efe5
2 changed files with 10 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ class KondasBannerTypeBoostEffect extends BoostAllEffect {
|
|||
Permanent equipedCreature = game.getPermanent(equipment.getAttachedTo());
|
||||
if (equipedCreature != null) {
|
||||
for (Permanent perm: game.getBattlefield().getActivePermanents(filter, source.getControllerId(), source.getSourceId(), game)) {
|
||||
if (CardUtil.shareSubtypes(perm, equipedCreature) || perm.getAbilities().contains(ChangelingAbility.getInstance())) {
|
||||
if (CardUtil.shareSubtypes(perm, equipedCreature)) {
|
||||
if (!this.affectedObjectsSet || objects.contains(perm.getId())) {
|
||||
perm.addPower(power.calculate(game, source, this));
|
||||
perm.addToughness(toughness.calculate(game, source, this));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue