1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-09 01:01:06 -09:00

Fixed a bug of Cast Through Time giving wrong id to triggered ability added to game.

This commit is contained in:
LevelX2 2013-02-21 00:16:49 +01:00
parent 391c3db02e
commit 4af4619b44

View file

@ -112,8 +112,8 @@ class GainReboundEffect extends ContinuousEffectImpl<GainReboundEffect> {
}
}
if (!found) {
card.addAbility(new AttachedReboundAbility());
Ability ability = new AttachedReboundAbility();
card.addAbility(ability);
ability.setControllerId(source.getControllerId());
ability.setSourceId(card.getId());
game.getState().addAbility(ability, source.getSourceId(), card);