* 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:
LevelX2 2015-02-03 00:51:22 +01:00
parent 015759d8ed
commit 6e45f70335

View file

@ -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;
}
}