this.addAbility(new ConditionalTriggeredAbility(
new EntersBattlefieldTriggeredAbility(new LoseGameSourceControllerEffect(), false),
new InvertCondition(new CastFromHandCondition()),
"When {this} enters the battlefield, if you didn't cast it from your hand, you lose the game"
));
this.addWatcher(new CastFromHandWatcher());
// Whenever Phage deals combat damage to a creature, destroy that creature. It can't be regenerated.
this.addAbility(new DealsCombatDamageToACreatureTriggeredAbility(new DestroyTargetEffect(true), false, true));
// Whenever Phage deals combat damage to a player, that player loses the game.