- Added Stranglehold

This commit is contained in:
moomarc
2013-08-08 06:46:26 +00:00
parent fb3867c21c
commit 84bbd884ae
3 changed files with 11 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -10895,6 +10895,7 @@ res/cardsfolder/s/strands_of_night.txt svneol=native#text/plain
res/cardsfolder/s/strands_of_undeath.txt svneol=native#text/plain
res/cardsfolder/s/strandwalker.txt svneol=native#text/plain
res/cardsfolder/s/strange_inversion.txt -text
res/cardsfolder/s/stranglehold.txt -text
res/cardsfolder/s/strangleroot_geist.txt -text
res/cardsfolder/s/strangling_soot.txt svneol=native#text/plain
res/cardsfolder/s/strata_scythe.txt -text

View File

@@ -0,0 +1,7 @@
Name:Stranglehold
ManaCost:3 R
Types:Enchantment
S:Mode$ Continuous | Affected$ Opponent | AddKeyword$ CantSearchLibrary | Description$ Your opponents can't search libraries.
S:Mode$ Continuous | Affected$ Opponent | AddKeyword$ If you would begin an extra turn, skip that turn instead. | Description$ If an opponent would begin an extra turn, that player skips that turn instead.
SVar:Picture:http://www.wizards.com/global/images/magic/general/stranglehold.jpg
Oracle:Your opponents can't search libraries.\nIf an opponent would begin an extra turn, that player skips that turn instead.

View File

@@ -751,6 +751,9 @@ public class PhaseHandler implements java.io.Serializable {
if (!this.extraTurns.isEmpty()) {
ExtraTurn extraTurn = this.extraTurns.pop();
nextTurn = extraTurn.getPlayer();
if (nextTurn.hasKeyword("If you would begin an extra turn, skip that turn instead.")) {
return getNextActivePlayer();
}
if (nextTurn.hasKeyword("Skip your next turn.")) {
nextTurn.removeKeyword("Skip your next turn.");
return getNextActivePlayer();