mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
* Manifest - Fixed that turn face up costs of creatures with bestow were the bestow costs instead of the normal casting costs without bestow (fixes #677).
This commit is contained in:
parent
015759d8ed
commit
6e45f70335
1 changed files with 2 additions and 1 deletions
|
@ -258,7 +258,8 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
|
|||
public SpellAbility getSpellAbility() {
|
||||
if (spellAbility == null) {
|
||||
for (Ability ability : abilities.getActivatedAbilities(Zone.HAND)) {
|
||||
if (ability instanceof SpellAbility) {
|
||||
// name check prevents that alternate casting methods (like "cast [card name] using bestow") are returned here
|
||||
if (ability instanceof SpellAbility && ability.toString().endsWith(getName())) {
|
||||
spellAbility = (SpellAbility) ability;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue