mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Converted Linvala, Keeper of Silence to script.
This commit is contained in:
@@ -3,7 +3,7 @@ ManaCost:W
|
|||||||
Types:Snow Enchantment Aura
|
Types:Snow Enchantment Aura
|
||||||
Text:no text
|
Text:no text
|
||||||
K:Enchant Creature
|
K:Enchant Creature
|
||||||
K:enPumpCurse:HIDDEN CARDNAME can't block. & CARDNAME's activated abilities can't be activated.:Enchanted creature can't block and its activated abilities can't be activated.
|
K:enPumpCurse:HIDDEN CARDNAME can't block. & HIDDEN CARDNAME's activated abilities can't be activated.:Enchanted creature can't block and its activated abilities can't be activated.
|
||||||
A:AB$Pump | Cost$ S | Defined$ Enchanted | KW$ Defender | SpellDescription$ Enchanted creature gains defender until end of turn.
|
A:AB$Pump | Cost$ S | Defined$ Enchanted | KW$ Defender | SpellDescription$ Enchanted creature gains defender until end of turn.
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/gelid_shackles.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/gelid_shackles.jpg
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Name:Ice Cage
|
|||||||
ManaCost:1 U
|
ManaCost:1 U
|
||||||
Types:Enchantment Aura
|
Types:Enchantment Aura
|
||||||
Text:no text
|
Text:no text
|
||||||
K:enPumpCurse:HIDDEN CARDNAME can't attack or block. & CARDNAME's activated abilities can't be activated.:Enchanted creature can't attack or block and its activated abilities can't be activated.
|
K:enPumpCurse:HIDDEN CARDNAME can't attack or block. & HIDDEN CARDNAME's activated abilities can't be activated.:Enchanted creature can't attack or block and its activated abilities can't be activated.
|
||||||
K:When enchanted creature becomes the target of a spell or ability, destroy CARDNAME.
|
K:When enchanted creature becomes the target of a spell or ability, destroy CARDNAME.
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/ice_cage.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/ice_cage.jpg
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
Name:Linvala, Keeper of Silence
|
Name:Linvala, Keeper of Silence
|
||||||
ManaCost:2 W W
|
ManaCost:2 W W
|
||||||
Types:Legendary Creature Angel
|
Types:Legendary Creature Angel
|
||||||
Text:Activated abilities of creatures your opponents control can't be activated.
|
Text:no text
|
||||||
PT:3/4
|
PT:3/4
|
||||||
K:Flying
|
K:Flying
|
||||||
|
K:stPumpAll:Creature.YouDontCtrl:1/1/HIDDEN CARDNAME's activated abilities can't be activated.:No Condition:Activated abilities of creatures your opponents control can't be activated.
|
||||||
SVar:PlayMain1:TRUE
|
SVar:PlayMain1:TRUE
|
||||||
SVar:Rarity:Mythic
|
SVar:Rarity:Mythic
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/linvala_keeper_of_silence.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/linvala_keeper_of_silence.jpg
|
||||||
|
|||||||
@@ -40,14 +40,6 @@ abstract public class Ability extends SpellAbility {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if(getSourceCard().isCreature() == true) {
|
|
||||||
CardList Silence = AllZoneUtil.getPlayerCardsInPlay(getSourceCard().getController().getOpponent());
|
|
||||||
Silence = Silence.getName("Linvala, Keeper of Silence");
|
|
||||||
|
|
||||||
return AllZone.GameAction.isCardInPlay(getSourceCard()) && !getSourceCard().isFaceDown() && getSourceCard().getName().equals("Spreading Seas") == false && Silence.size() == 0 && Pithing.size() == 0; // For Spreading Seas
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
return AllZone.GameAction.isCardInPlay(getSourceCard()) && !getSourceCard().isFaceDown() && getSourceCard().getName().equals("Spreading Seas") == false && Pithing.size() == 0;
|
return AllZone.GameAction.isCardInPlay(getSourceCard()) && !getSourceCard().isFaceDown() && getSourceCard().getName().equals("Spreading Seas") == false && Pithing.size() == 0;
|
||||||
// return false;
|
// return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,13 +40,6 @@ abstract public class Ability_Activated extends SpellAbility implements java.io.
|
|||||||
|
|
||||||
if(Pithing.size() != 0) return false;
|
if(Pithing.size() != 0) return false;
|
||||||
|
|
||||||
if(c.isCreature() && AllZone.getZone(c).is(Constant.Zone.Battlefield)) {
|
|
||||||
CardList Silence = AllZoneUtil.getPlayerCardsInPlay(getSourceCard().getController().getOpponent());
|
|
||||||
Silence = Silence.getName("Linvala, Keeper of Silence");
|
|
||||||
if (Silence.size() != 0)
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!(getRestrictions().canPlay(c, this)))
|
if (!(getRestrictions().canPlay(c, this)))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user