- Added Kjeldoran Elite Guard by marc.

This commit is contained in:
Sloth
2012-03-30 19:03:09 +00:00
parent 37f3474285
commit 615e6915de
3 changed files with 18 additions and 1 deletions

1
.gitattributes vendored
View File

@@ -4819,6 +4819,7 @@ res/cardsfolder/k/kitsune_palliator.txt -text
res/cardsfolder/k/kitsune_riftwalker.txt svneol=native#text/plain
res/cardsfolder/k/kiyomaro_first_to_stand.txt -text
res/cardsfolder/k/kjeldoran_dead.txt svneol=native#text/plain
res/cardsfolder/k/kjeldoran_elite_guard.txt -text
res/cardsfolder/k/kjeldoran_frostbeast.txt -text
res/cardsfolder/k/kjeldoran_gargoyle.txt svneol=native#text/plain
res/cardsfolder/k/kjeldoran_home_guard.txt svneol=native#text/plain

View File

@@ -0,0 +1,16 @@
Name:Kjeldoran Elite Guard
ManaCost:3 W
Types:Creature Human Soldier
Text:no text
PT:2/2
A:AB$ Pump | Cost$ T | NumAtt$ +2 | NumDef$ +2 | ValidTgts$ Creature | TgtPrompt$ Select target creature | ActivationPhases$ BeginCombat->EndCombat | SubAbility$ EliteGuardEffect | SpellDescription$ Target creature gets +2/+2 until end of turn. When that creature leaves the battlefield this turn, sacrifice CARDNAME. Activate this ability only during combat.
SVar:EliteGuardEffect:DB$ Effect | Name$ Elite Guard Escort | Triggers$ LostTheGuarded | SVars$ ExileEffect,EliteDefence | RememberObjects$ Targeted | ImprintCards$ Self
SVar:LostTheGuarded:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | Origin$ Battlefield | Destination$ Any | Execute$ EliteDefence | TriggerDescription$ When the targeted creature leaves the battlefield this turn, sacrifice Kjeldoran Elite Guard.
SVar:EliteDefence:DB$ SacrificeAll | Defined$ Imprinted | SubAbility$ ExileEffect
SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Battlefield | Destination$ Exile
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/kjeldoran_elite_guard.jpg
SetInfo:ICE|Uncommon|http://magiccards.info/scans/en/ia/258.jpg
Oracle:{T}: Target creature gets +2/+2 until end of turn. When that creature leaves the battlefield this turn, sacrifice Kjeldoran Elite Guard. Activate this ability only during combat.
End

View File

@@ -1097,7 +1097,7 @@ public class GameAction {
*/
public final boolean sacrifice(final Card c) {
if (c.isImmutable()) {
System.out.println("Trying to sacrifice immutables");
System.out.println("Trying to sacrifice immutables: " + c);
return false;
}
this.sacrificeDestroy(c);