* Fixed a problem with Dash not giving Haste to the creature beginning with the second use of Dash (fixes #4985).

This commit is contained in:
LevelX2 2018-05-30 16:51:59 +02:00
parent 4e862019f6
commit b6f7efe5e9
3 changed files with 28 additions and 4 deletions

View file

@ -1521,8 +1521,9 @@ public abstract class GameImpl implements Game, Serializable {
@Override
public void addEffect(ContinuousEffect continuousEffect, Ability source) {
Ability newAbility = source.copy();
newAbility.setSourceObject(null, this); // Update the source object to the currently existing Object
ContinuousEffect newEffect = continuousEffect.copy();
newEffect.newId();
newEffect.init(newAbility, this);
@ -2031,7 +2032,7 @@ public abstract class GameImpl implements Game, Serializable {
}
}
}
// 704.5s If the number of lore counters on a Saga permanent is greater than or equal to its final chapter number
// 704.5s If the number of lore counters on a Saga permanent is greater than or equal to its final chapter number
// and it isnt the source of a chapter ability that has triggered but not yet left the stack, that Sagas controller sacrifices it.
if (perm.hasSubtype(SubType.SAGA, this)) {
for (Ability sagaAbility : perm.getAbilities()) {