- Scheme: Added Rotted Ones, Lay Siege

This commit is contained in:
swordshine
2013-09-09 05:05:12 +00:00
parent d4c54cab89
commit 5b47dfbcb7
6 changed files with 17 additions and 2 deletions

1
.gitattributes vendored
View File

@@ -11411,6 +11411,7 @@ res/cardsfolder/t/the_abyss.txt svneol=native#text/plain
res/cardsfolder/t/the_aether_flues.txt -text
res/cardsfolder/t/the_brute.txt svneol=native#text/plain
res/cardsfolder/t/the_dark_barony.txt -text
res/cardsfolder/t/the_dead_shall_serve.txt -text
res/cardsfolder/t/the_eon_fog.txt -text
res/cardsfolder/t/the_fallen.txt -text
res/cardsfolder/t/the_fourth_sphere.txt -text

View File

@@ -1,7 +1,7 @@
Name:Chaotic Backlash
ManaCost:4 R
Types:Instant
A:SP$ DealDamage | Cost$ 4 R | NumDmg$ Backlash | TgtPrompt$ Select target player to damage | ValidTgts$ Player | SpellDescription$ CARDNAME deals damage to target player equal to twice the number of white and/or blue permanents he or she controls.
A:SP$ DealDamage | Cost$ 4 R | NumDmg$ Backlash | References$ Backlash | TgtPrompt$ Select target player to damage | ValidTgts$ Player | SpellDescription$ CARDNAME deals damage to target player equal to twice the number of white and/or blue permanents he or she controls.
SVar:Backlash:Count$Valid Permanent.Blue+TargetedPlayerCtrl,Permanent.White+TargetedPlayerCtrl/Times.2
SVar:Picture:http://www.wizards.com/global/images/magic/general/chaotic_backlash.jpg
Oracle:Chaotic Backlash deals damage to target player equal to twice the number of white and/or blue permanents he or she controls.

View File

@@ -2,7 +2,7 @@ Name:Essence Backlash
ManaCost:2 U R
Types:Instant
A:SP$ Counter | Cost$ 2 U R | TargetType$ Spell | TgtPrompt$ Select target Creature spell | ValidTgts$ Creature | SubAbility$ DBDamage | SpellDescription$ Counter target creature spell. CARDNAME deals damage equal to that spell's power to its controller.
SVar:DBDamage:DB$ DealDamage | Cost$ 0 | NumDmg$ Backlash | Defined$ TargetedController
SVar:DBDamage:DB$ DealDamage | Cost$ 0 | NumDmg$ Backlash | References$ Backlash | Defined$ TargetedController
SVar:Backlash:Targeted$CardPower
SVar:Picture:http://www.wizards.com/global/images/magic/general/essence_backlash.jpg
Oracle:Counter target creature spell. Essence Backlash deals damage equal to that spell's power to its controller.

View File

@@ -0,0 +1,9 @@
Name:The Dead Shall Serve
ManaCost:no cost
Types:Scheme
T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ TrigControl | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, for each opponent, put up to one target creature card from that player's graveyard onto the battlefield under your control. Each of those creatures attacks its owner each combat if able.
SVar:TrigControl:AB$ ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | ValidTgts$ Creature.OppCtrl | TgtZone$ Graveyard | TgtPrompt$ Choose target creature card in each opponent's graveyard | TargetMin$ 0 | TargetMax$ OneEach | References$ OneEach | TargetsWithDifferentControllers$ True | RememberChanged$ True | SubAbility$ DBPump
SVar:DBPump:DB$ PumpAll | ValidCards$ Card.IsRemembered | KW$ HIDDEN CARDNAME attacks specific player each combat if able:CardOwner | UntilLoseControl$ True | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:OneEach:PlayerCountOpponents$Amount
SVar:Picture:http://www.cardforge.org/fpics/lq_schemes/the_dead_shall_serve.jpg

View File

@@ -947,6 +947,8 @@ public class AbilityUtils {
if (!players.contains(p)) {
players.add(p);
}
} else if (defined.equals("CardOwner")) {
players.add(card.getOwner());
} else if (defined.startsWith("PlayerNamed_")) {
for (Player p : game.getPlayers()) {
System.out.println("Named player " + defined.substring(12));

View File

@@ -91,6 +91,9 @@ public class PumpAllEffect extends SpellAbilityEffect {
game.getEndOfCombat().addUntil(untilEOT);
} else if (sa.hasParam("UntilYourNextTurn")) {
game.getCleanup().addUntil(sa.getActivatingPlayer(), untilEOT);
} else if (sa.hasParam("UntilLoseControl")) {
tgtC.addLeavesPlayCommand(untilEOT);
tgtC.addChangeControllerCommand(untilEOT);
} else {
game.getEndOfTurn().addUntil(untilEOT);
}