mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Resolved Issue #1024. Needs intense testing!
This commit is contained in:
parent
390cbd35fa
commit
281a3cfa3d
1 changed files with 3 additions and 1 deletions
|
@ -292,7 +292,9 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
|
||||||
if (spellAbility == null) {
|
if (spellAbility == null) {
|
||||||
for (Ability ability : abilities.getActivatedAbilities(Zone.HAND)) {
|
for (Ability ability : abilities.getActivatedAbilities(Zone.HAND)) {
|
||||||
// name check prevents that alternate casting methods (like "cast [card name] using bestow") are returned here
|
// name check prevents that alternate casting methods (like "cast [card name] using bestow") are returned here
|
||||||
if (ability instanceof SpellAbility && ability.toString().endsWith(getName())) {
|
// BUG #1024: Bestow bug
|
||||||
|
//if (ability instanceof SpellAbility && ability.toString().endsWith(getName())) {
|
||||||
|
if (ability instanceof SpellAbility) {
|
||||||
spellAbility = (SpellAbility) ability;
|
spellAbility = (SpellAbility) ability;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue