mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 20:59:14 -08:00
* Fixed a bug that winning with alternate win condition (e.g. Biovisionary) did not set game end date. That leads to a NPE in client.
This commit is contained in:
parent
484a4fe0f6
commit
f0e8041906
3 changed files with 80 additions and 2 deletions
|
|
@ -66,7 +66,11 @@ public class Biovisionary extends CardImpl {
|
|||
this.toughness = new MageInt(3);
|
||||
|
||||
//At the beginning of the end step, if you control four or more creatures named Biovisionary, you win the game.
|
||||
this.addAbility(new BeginningOfEndStepTriggeredAbility(Zone.BATTLEFIELD, new WinGameSourceControllerEffect(), TargetController.ANY, new ControlsPermanentCondition(filter, ControlsPermanentCondition.CountType.MORE_THAN, 3), false));
|
||||
this.addAbility(new BeginningOfEndStepTriggeredAbility(
|
||||
Zone.BATTLEFIELD, new WinGameSourceControllerEffect(),
|
||||
TargetController.ANY,
|
||||
new ControlsPermanentCondition(filter, ControlsPermanentCondition.CountType.MORE_THAN, 3),
|
||||
false));
|
||||
}
|
||||
|
||||
public Biovisionary(final Biovisionary card) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue