mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
SpellAbilityRestriction: fixed Affected and revert Melek
This commit is contained in:
@@ -232,7 +232,7 @@ public class SpellAbilityRestriction extends SpellAbilityVariables {
|
||||
Map<String,String> params = sa.getMayPlay().getMapParams();
|
||||
|
||||
if (params.containsKey("Affected")) {
|
||||
if (!cp.isValid(params.get("Affected"), activator, o.getHost(), null)) {
|
||||
if (!cp.isValid(params.get("Affected").split(","), activator, o.getHost(), null)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,9 +3,9 @@ ManaCost:4 U R
|
||||
Types:Legendary Creature Weird Wizard
|
||||
PT:2/4
|
||||
S:Mode$ Continuous | Affected$ Card.TopLibrary+YouCtrl | AffectedZone$ Library | MayLookAt$ True | AddHiddenKeyword$ Your opponent may look at this card. | Description$ Play with the top card of your library revealed.
|
||||
S:Mode$ Continuous | Affected$ Instant.TopLibrary+YouCtrl | AffectedZone$ Library | EffectZone$ Battlefield | MayPlay$ True | Description$ You may cast the top card of your library if it's an instant or sorcery card.
|
||||
S:Mode$ Continuous | Affected$ Sorcery.TopLibrary+YouCtrl | AffectedZone$ Library | EffectZone$ Battlefield | MayPlay$ True | Description$ You may cast the top card of your library if it's an instant or sorcery card.
|
||||
S:Mode$ Continuous | Affected$ Instant.TopLibrary+YouCtrl,Sorcery.TopLibrary+YouCtrl | AffectedZone$ Library | EffectZone$ Battlefield | MayPlay$ True | Description$ You may cast the top card of your library if it's an instant or sorcery card.
|
||||
T:Mode$ SpellCast | ValidCard$ Instant.wasCastFromLibrary,Sorcery.wasCastFromLibrary | ValidActivatingPlayer$ You | Execute$ TrigCopy | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast an instant or sorcery spell from your library, copy it. You may choose new targets for this copy.
|
||||
SVar:TrigCopy:AB$ CopySpellAbility | Cost$ 0 | Defined$ TriggeredSpellAbility
|
||||
DeckNeeds:Type$Instant|Sorcery
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/melek_izzet_paragon.jpg
|
||||
Oracle:Play with the top card of your library revealed.\nYou may cast the top card of your library if it's an instant or sorcery card.\nWhenever you cast an instant or sorcery spell from your library, copy it. You may choose new targets for the copy.
|
||||
|
||||
Reference in New Issue
Block a user