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/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
|
||||||
|
|||||||
@@ -4,10 +4,12 @@ Types:Artifact Equipment
|
|||||||
Text:no text
|
Text:no text
|
||||||
K:etbCounter:CHARGE:X
|
K:etbCounter:CHARGE:X
|
||||||
S:Mode$ Continuous | Affected$ Creature.AttachedBy | AddPower$ Y | AddToughness$ Y | Description$ Equipped creature gets +1/+1 for each charge counter on CARDNAME.
|
S:Mode$ Continuous | Affected$ Creature.AttachedBy | AddPower$ Y | AddToughness$ Y | Description$ Equipped creature gets +1/+1 for each charge counter on CARDNAME.
|
||||||
A:AB$ Attach | Cost$ SubCounter<1/CHARGE> | CostDesc$ Remove a charge counter from Sigil of Distinction: | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | SorcerySpeed$ True | PrecostDesc$ Equip - | SpellDescription$ Attach CARDNAME to target creature you control.
|
A:AB$ Attach | Cost$ SubCounter<1/CHARGE> | CostDesc$ Remove a charge counter from Sigil of Distinction: | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | SorcerySpeed$ True | PrecostDesc$ Equip - | SpellDescription$ Attach CARDNAME to target creature you control.
|
||||||
SVar:X:Count$xPaid
|
SVar:X:Count$xPaid
|
||||||
SVar:Y:Count$CardCounters.CHARGE
|
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
|
||||||
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()) {
|
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user