mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
- added game param back to addSubType()
This commit is contained in:
parent
70d81ef975
commit
799980dff5
1 changed files with 6 additions and 5 deletions
|
@ -36,11 +36,12 @@ public class BecomesAllBasicsControlledEffect extends ContinuousEffectImpl {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
for (Permanent permanent : game.getBattlefield().getActivePermanents(
|
||||
StaticFilters.FILTER_CONTROLLED_PERMANENT_LAND, source.getControllerId(), game)) {
|
||||
permanent.addSubType(SubType.PLAINS);
|
||||
permanent.addSubType(SubType.ISLAND);
|
||||
permanent.addSubType(SubType.SWAMP);
|
||||
permanent.addSubType(SubType.MOUNTAIN);
|
||||
permanent.addSubType(SubType.FOREST);
|
||||
permanent.addSubType(game,
|
||||
SubType.PLAINS,
|
||||
SubType.ISLAND,
|
||||
SubType.SWAMP,
|
||||
SubType.MOUNTAIN,
|
||||
SubType.FOREST);
|
||||
|
||||
if (!permanent.getAbilities().containsRule(new WhiteManaAbility())) {
|
||||
permanent.addAbility(new WhiteManaAbility(), source.getSourceId(), game);
|
||||
|
|
Loading…
Reference in a new issue