*Added wasDealtDamageByHostThisTurn property.

*Added Trophy Hunter.
This commit is contained in:
Hellfish
2012-02-08 23:03:14 +00:00
parent 8c2e4ce85b
commit 778c07e567
4 changed files with 20 additions and 1 deletions

1
.gitattributes vendored
View File

@@ -9273,6 +9273,7 @@ res/cardsfolder/t/troll_horn_cameo.txt svneol=native#text/plain
res/cardsfolder/t/trollhide.txt -text res/cardsfolder/t/trollhide.txt -text
res/cardsfolder/t/trolls_of_tel_jilad.txt svneol=native#text/plain res/cardsfolder/t/trolls_of_tel_jilad.txt svneol=native#text/plain
res/cardsfolder/t/tromp_the_domains.txt svneol=native#text/plain res/cardsfolder/t/tromp_the_domains.txt svneol=native#text/plain
res/cardsfolder/t/trophy_hunter.txt -text
res/cardsfolder/t/tropical_island.txt svneol=native#text/plain res/cardsfolder/t/tropical_island.txt svneol=native#text/plain
res/cardsfolder/t/tropical_storm.txt svneol=native#text/plain res/cardsfolder/t/tropical_storm.txt svneol=native#text/plain
res/cardsfolder/t/troubled_healer.txt svneol=native#text/plain res/cardsfolder/t/troubled_healer.txt svneol=native#text/plain

View File

@@ -10,4 +10,6 @@ SVar:Y:Count$CardCounters.CHARGE
SVar:RemAIDeck:True SVar:RemAIDeck:True
SVar:Rarity:Rare SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/sigil_of_distinction.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/sigil_of_distinction.jpg
SetInfo:ALA|Rare|http://magiccards.info/scans/en/ala/219.jpg
Oracle:Sigil of Distinction enters the battlefield with X charge counters on it.\nEquipped creature gets +1/+1 for each charge counter on Sigil of Distinction.\nEquip-Remove a charge counter from Sigil of Distinction.
End End

View File

@@ -0,0 +1,12 @@
Name:Trophy Hunter
ManaCost:2 G
Types:Creature Human Archer
Text:no text
PT:2/3
A:AB$ DealDamage | Cost$ 1 G | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target creature with flying. | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target creature with flying.
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.withFlying+wasDealtDamageByHostThisTurn | Execute$ TrigCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature with flying dealt damage by CARDNAME this turn dies, put a +1/+1 counter on Trophy Hunter.
SVar:TrigCounter:AB$PutCounter | Cost$ 0 | CounterType$ P1P1 | CounterNum$ 1 | Defined$ Self
SVar:Picture:http://www.wizards.com/global/images/magic/general/trophy_hunter.jpg
SetInfo:RAV|Uncommon|http://magiccards.info/scans/en/rav/187.jpg
Oracle:{1}{G}: Trophy Hunter deals 1 damage to target creature with flying.\nWhenever a creature with flying dealt damage by Trophy Hunter this turn dies, put a +1/+1 counter on Trophy Hunter.
End

View File

@@ -6912,6 +6912,10 @@ public class Card extends GameEntity implements Comparable<Card> {
if ((this.getReceivedDamageFromThisTurn().keySet()).isEmpty()) { if ((this.getReceivedDamageFromThisTurn().keySet()).isEmpty()) {
return false; return false;
} }
} else if (property.equals("wasDealtDamageByHostThisTurn")) {
if(!this.getReceivedDamageFromThisTurn().keySet().contains(source)) {
return false;
}
} else if (property.startsWith("attackedThisTurn")) { } else if (property.startsWith("attackedThisTurn")) {
if (!this.getCreatureAttackedThisTurn()) { if (!this.getCreatureAttackedThisTurn()) {
return false; return false;