mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
SpellAbility: add Cycling to hasProperty
This commit is contained in:
@@ -1510,6 +1510,11 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
|
|||||||
// Takes arguments like Blue or withFlying
|
// Takes arguments like Blue or withFlying
|
||||||
@Override
|
@Override
|
||||||
public boolean hasProperty(final String property, final Player sourceController, final Card source, SpellAbility spellAbility) {
|
public boolean hasProperty(final String property, final Player sourceController, final Card source, SpellAbility spellAbility) {
|
||||||
|
if (property.equals("Cycling")) {
|
||||||
|
if (!isCycling()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user