forked from External/mage
Implementing "Start your engines!" mechanic (#13259)
* add initial speed handling * finish speed implementation * remove skip list * add initial test * add some more tests * change speed initialization to state-based action * add opponent speed check * add control change test * add check for speed 5
This commit is contained in:
parent
655af10b2e
commit
ef213b1bef
11 changed files with 393 additions and 15 deletions
|
|
@ -2862,6 +2862,11 @@ public abstract class GameImpl implements Game {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (perm.getAbilities(this).containsClass(StartYourEnginesAbility.class)) {
|
||||
Optional.ofNullable(perm.getControllerId())
|
||||
.map(this::getPlayer)
|
||||
.ifPresent(player -> player.initSpeed(this));
|
||||
}
|
||||
}
|
||||
//201300713 - 704.5k
|
||||
// If a player controls two or more legendary permanents with the same name, that player
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue