mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08:00
* Homing Sliver - Fixed the gain Slivercycling ability.
This commit is contained in:
parent
fb1ba5f3c8
commit
01c81c1cb1
4 changed files with 52 additions and 74 deletions
|
|
@ -32,7 +32,7 @@ import mage.constants.Zone;
|
|||
import mage.abilities.ActivatedAbilityImpl;
|
||||
import mage.abilities.costs.Cost;
|
||||
import mage.abilities.costs.common.DiscardSourceCost;
|
||||
import mage.abilities.costs.mana.ManaCosts;
|
||||
import mage.abilities.costs.mana.ManaCost;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.search.SearchLibraryPutInHandEffect;
|
||||
import mage.filter.FilterCard;
|
||||
|
|
@ -76,11 +76,11 @@ public class CyclingAbility extends ActivatedAbilityImpl {
|
|||
@Override
|
||||
public String getRule() {
|
||||
StringBuilder rule = new StringBuilder(this.text);
|
||||
if(cost instanceof ManaCosts){
|
||||
if(cost instanceof ManaCost){
|
||||
rule.append(" ");
|
||||
}
|
||||
else{
|
||||
rule.append(" - ");
|
||||
rule.append("—");
|
||||
}
|
||||
rule.append(cost.getText()).append(" <i>(").append(super.getRule(true)).append(")</i>");
|
||||
return rule.toString();
|
||||
|
|
|
|||
|
|
@ -2379,7 +2379,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
|
||||
if (hidden) {
|
||||
for (Card card : hand.getUniqueCards(game)) {
|
||||
for (Ability ability : card.getAbilities()) { // gets this activated ability from hand? (Morph?)
|
||||
for (Ability ability : card.getAbilities(game)) { // gets this activated ability from hand? (Morph?)
|
||||
if (ability.getZone().match(Zone.HAND)) {
|
||||
if (ability instanceof ActivatedAbility) {
|
||||
if (!(ability instanceof PlayLandAbility)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue