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:
parent
391c3db02e
commit
4af4619b44
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue