- Added Karrthus, Tyrant of Jund.

This commit is contained in:
Sloth
2012-03-03 09:57:55 +00:00
parent 176f125578
commit f93090ebd6
4 changed files with 19 additions and 4 deletions

1
.gitattributes vendored
View File

@@ -4644,6 +4644,7 @@ res/cardsfolder/k/karplusan_giant.txt svneol=native#text/plain
res/cardsfolder/k/karplusan_strider.txt svneol=native#text/plain res/cardsfolder/k/karplusan_strider.txt svneol=native#text/plain
res/cardsfolder/k/karplusan_wolverine.txt svneol=native#text/plain res/cardsfolder/k/karplusan_wolverine.txt svneol=native#text/plain
res/cardsfolder/k/karplusan_yeti.txt svneol=native#text/plain res/cardsfolder/k/karplusan_yeti.txt svneol=native#text/plain
res/cardsfolder/k/karrthus_tyrant_of_jund.txt -text
res/cardsfolder/k/karstoderm.txt svneol=native#text/plain res/cardsfolder/k/karstoderm.txt svneol=native#text/plain
res/cardsfolder/k/kashi_tribe_elite.txt svneol=native#text/plain res/cardsfolder/k/kashi_tribe_elite.txt svneol=native#text/plain
res/cardsfolder/k/kashi_tribe_reaver.txt svneol=native#text/plain res/cardsfolder/k/kashi_tribe_reaver.txt svneol=native#text/plain

View File

@@ -5,7 +5,7 @@ Text:no text
PT:2/2 PT:2/2
K:Flying K:Flying
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigGainControl | TriggerDescription$ When CARDNAME dies, you gain control of all enchantments. (You don't get to move Auras.) T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigGainControl | TriggerDescription$ When CARDNAME dies, you gain control of all enchantments. (You don't get to move Auras.)
SVar:TrigGainControl:DB$ GainControl | AllValid$ Enchantment SVar:TrigGainControl:DB$ GainControl | AllValid$ Enchantment | NewController$ You
SVar:Rarity:Rare SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/aura_thief.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/aura_thief.jpg
SetInfo:UDS|Rare|http://magiccards.info/scans/en/ud/26.jpg SetInfo:UDS|Rare|http://magiccards.info/scans/en/ud/26.jpg

View File

@@ -0,0 +1,15 @@
Name:Karrthus, Tyrant of Jund
ManaCost:4 B R G
Types:Legendary Creature Dragon
Text:no text
PT:7/7
K:Flying
K:Haste
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainControl | TriggerDescription$ When CARDNAME enters the battlefield, gain control of all Dragons, then untap all Dragons.
SVar:TrigGainControl:DB$ GainControl | AllValid$ Dragon | Untap$ True | NewController$ You
S:Mode$ Continuous | Affected$ Creature.Dragon+Other+YouCtrl | AddKeyword$ Haste | Description$ Other Dragon creatures you control have haste.
SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/karrthus_tyrant_of_jund.jpg
SetInfo:ARB|Mythic|http://magiccards.info/scans/en/arb/117.jpg
Oracle:Flying, haste\nWhen Karrthus, Tyrant of Jund enters the battlefield, gain control of all Dragons, then untap all Dragons.\nOther Dragon creatures you control have haste.
End

View File

@@ -391,7 +391,6 @@ public class AbilityFactoryGainControl {
*/ */
private void gainControlResolve(final SpellAbility sa) { private void gainControlResolve(final SpellAbility sa) {
CardList tgtCards = new CardList(); CardList tgtCards = new CardList();
final boolean self = this.params.containsKey("Defined") && this.params.get("Defined").equals("Self");
final Target tgt = sa.getTarget(); final Target tgt = sa.getTarget();
if (this.params.containsKey("AllValid")) { if (this.params.containsKey("AllValid")) {
@@ -426,11 +425,11 @@ public class AbilityFactoryGainControl {
final Player originalController = tgtC.getController(); final Player originalController = tgtC.getController();
this.movedCards.add(tgtC); this.movedCards.add(tgtC);
if (!self) { if (!tgtC.equals(this.hostCard)) {
this.hostCard.addGainControlTarget(tgtC); this.hostCard.addGainControlTarget(tgtC);
} }
if (AllZoneUtil.isCardInPlay(tgtC) && tgtC.canBeTargetedBy(sa)) { if (AllZoneUtil.isCardInPlay(tgtC)) {
tgtC.addController(newController); tgtC.addController(newController);
// Singletons.getModel().getGameAction().changeController(new CardList(tgtC), // Singletons.getModel().getGameAction().changeController(new CardList(tgtC),