mirror of
https://github.com/magefree/mage.git
synced 2026-01-17 17:06:45 -08:00
* Evoke - Fixed that the check if creature came into play with evoke was always true if it came again to play later when it was evoked before.
This commit is contained in:
parent
0e34720611
commit
8a4474fadc
21 changed files with 295 additions and 198 deletions
|
|
@ -920,8 +920,8 @@ public abstract class AbilityImpl<T extends AbilityImpl<T>> implements Ability {
|
|||
if (ability instanceof OptionalAdditionalSourceCosts) {
|
||||
sb.append(((OptionalAdditionalSourceCosts) ability).getCastMessageSuffix());
|
||||
}
|
||||
if (ability instanceof AlternativeSourceCosts && ((AlternativeSourceCosts) ability).isActivated()) {
|
||||
sb.append(((AlternativeSourceCosts) ability).getCastMessageSuffix());
|
||||
if (ability instanceof AlternativeSourceCosts && ((AlternativeSourceCosts) ability).isActivated(this, game)) {
|
||||
sb.append(((AlternativeSourceCosts) ability).getCastMessageSuffix(game));
|
||||
}
|
||||
}
|
||||
return sb.toString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue