diff --git a/.gitattributes b/.gitattributes index 9ad2d17f16d..9277bfa8ceb 100644 --- a/.gitattributes +++ b/.gitattributes @@ -8526,6 +8526,7 @@ res/cardsfolder/s/stonebrow_krosan_hero.txt svneol=native#text/plain res/cardsfolder/s/stonecloaker.txt svneol=native#text/plain res/cardsfolder/s/stoneforge_mystic.txt svneol=native#text/plain res/cardsfolder/s/stonehands.txt svneol=native#text/plain +res/cardsfolder/s/stonehorn_dignitary.txt -text res/cardsfolder/s/stonewood_invocation.txt svneol=native#text/plain res/cardsfolder/s/stonewood_invoker.txt svneol=native#text/plain res/cardsfolder/s/stonework_puma.txt svneol=native#text/plain diff --git a/res/cardsfolder/s/stonehorn_dignitary.txt b/res/cardsfolder/s/stonehorn_dignitary.txt new file mode 100644 index 00000000000..6e15b6fff2c --- /dev/null +++ b/res/cardsfolder/s/stonehorn_dignitary.txt @@ -0,0 +1,12 @@ +Name:Stonehorn Dignitary +ManaCost:3 W +Types:Creature Rhino Soldier +Text:no text +PT:1/4 +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, target opponent skips his or her next combat phase. +SVar:TrigPump:AB$Pump | Cost$ 0 | ValidTgts$ Opponent | KW$ Skip your next combat phase. | Permanent$ True | TgtPrompt$ Select target opponent | IsCurse$ True +SVar:Rarity:Common +SVar:Picture:http://www.wizards.com/global/images/magic/general/stonehorn_dignitary.jpg +SetInfo:M12|Common|http://magiccards.info/scans/en/m12/37.jpg +Oracle:When Stonehorn Dignitary enters the battlefield, target opponent skips his or her next combat phase. +End \ No newline at end of file diff --git a/src/main/java/forge/card/abilityfactory/AbilityFactoryPump.java b/src/main/java/forge/card/abilityfactory/AbilityFactoryPump.java index 000f53e9754..c10cf6988ce 100644 --- a/src/main/java/forge/card/abilityfactory/AbilityFactoryPump.java +++ b/src/main/java/forge/card/abilityfactory/AbilityFactoryPump.java @@ -574,8 +574,16 @@ public class AbilityFactoryPump { CardList list; if (this.abilityFactory.isCurse()) { list = this.getCurseCreatures(sa, defense, attack); + if (tgt.canTgtPlayer()) { + tgt.addTarget(AllZone.getHumanPlayer()); + return true; + } } else { list = this.getPumpCreatures(defense, attack, sa); + if (tgt.canTgtPlayer() && !tgt.canOnlyTgtOpponent()) { + tgt.addTarget(AllZone.getComputerPlayer()); + return true; + } } list = list.getValidCards(tgt.getValidTgts(), sa.getActivatingPlayer(), sa.getSourceCard());