mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
*Added wasDealtDamageByHostThisTurn property.
*Added Trophy Hunter.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -9273,6 +9273,7 @@ res/cardsfolder/t/troll_horn_cameo.txt svneol=native#text/plain
|
||||
res/cardsfolder/t/trollhide.txt -text
|
||||
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/trophy_hunter.txt -text
|
||||
res/cardsfolder/t/tropical_island.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
|
||||
|
||||
@@ -10,4 +10,6 @@ SVar:Y:Count$CardCounters.CHARGE
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Rare
|
||||
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
|
||||
12
res/cardsfolder/t/trophy_hunter.txt
Normal file
12
res/cardsfolder/t/trophy_hunter.txt
Normal 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
|
||||
@@ -6912,6 +6912,10 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
if ((this.getReceivedDamageFromThisTurn().keySet()).isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.equals("wasDealtDamageByHostThisTurn")) {
|
||||
if(!this.getReceivedDamageFromThisTurn().keySet().contains(source)) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.startsWith("attackedThisTurn")) {
|
||||
if (!this.getCreatureAttackedThisTurn()) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user