forked from External/mage
performance: added day/night performance test for transform ability (disabled by default, see DayNightTest, related to #11285), added day/night rules ref
This commit is contained in:
parent
70c79fd6a6
commit
d6c858ecaf
4 changed files with 68 additions and 0 deletions
|
|
@ -51,6 +51,8 @@ class DayboundEffect extends ContinuousEffectImpl {
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
if (!game.hasDayNight()) {
|
||||
// 702.145d
|
||||
// Any time a player controls a permanent with daybound, if it’s neither day nor night, it becomes day.
|
||||
game.setDaytime(true);
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue