mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Added Topple.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -7902,6 +7902,7 @@ res/cardsfolder/t/tooth_and_nail.txt svneol=native#text/plain
|
|||||||
res/cardsfolder/t/tooth_of_chiss_goria.txt svneol=native#text/plain
|
res/cardsfolder/t/tooth_of_chiss_goria.txt svneol=native#text/plain
|
||||||
res/cardsfolder/t/tooth_of_ramos.txt svneol=native#text/plain
|
res/cardsfolder/t/tooth_of_ramos.txt svneol=native#text/plain
|
||||||
res/cardsfolder/t/topan_ascetic.txt svneol=native#text/plain
|
res/cardsfolder/t/topan_ascetic.txt svneol=native#text/plain
|
||||||
|
res/cardsfolder/t/topple.txt -text
|
||||||
res/cardsfolder/t/tor_giant.txt svneol=native#text/plain
|
res/cardsfolder/t/tor_giant.txt svneol=native#text/plain
|
||||||
res/cardsfolder/t/tor_wauki.txt svneol=native#text/plain
|
res/cardsfolder/t/tor_wauki.txt svneol=native#text/plain
|
||||||
res/cardsfolder/t/torch_drake.txt svneol=native#text/plain
|
res/cardsfolder/t/torch_drake.txt svneol=native#text/plain
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ ManaCost:W
|
|||||||
Types:Instant
|
Types:Instant
|
||||||
Text:no text
|
Text:no text
|
||||||
A:SP$ ChangeZone | Cost$ W | ValidTgts$ Creature.dealtDamageToYouThisTurn | TgtPrompt$ Select target creature that dealt damage to you this turn | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target creature that dealt damage to you this turn.
|
A:SP$ ChangeZone | Cost$ W | ValidTgts$ Creature.dealtDamageToYouThisTurn | TgtPrompt$ Select target creature that dealt damage to you this turn | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target creature that dealt damage to you this turn.
|
||||||
SVar:RemAIDeck:True
|
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/reciprocate.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/reciprocate.jpg
|
||||||
SetInfo:CHK|Uncommon|http://magiccards.info/scans/en/chk/40.jpg
|
SetInfo:CHK|Uncommon|http://magiccards.info/scans/en/chk/40.jpg
|
||||||
|
|||||||
8
res/cardsfolder/t/topple.txt
Normal file
8
res/cardsfolder/t/topple.txt
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
Name:Topple
|
||||||
|
ManaCost:2 W
|
||||||
|
Types:Sorcery
|
||||||
|
Text:no text
|
||||||
|
A:SP$ ChangeZone | Cost$ 2 W | ValidTgts$ Creature.greatestPower | TgtPrompt$ Select target creature with the greatest power | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target creature with the greatest power. (If two or more creatures are tied for greatest power, target any one of them.)
|
||||||
|
SVar:Rarity:Common
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/topple.jpg
|
||||||
|
End
|
||||||
@@ -4837,6 +4837,13 @@ public class Card extends MyObservable implements Comparable<Card> {
|
|||||||
return false;
|
return false;
|
||||||
} else if (Property.startsWith("wasDealtDamageThisTurn")) {
|
} else if (Property.startsWith("wasDealtDamageThisTurn")) {
|
||||||
if ((getReceivedDamageFromThisTurn().keySet()).isEmpty()) return false;
|
if ((getReceivedDamageFromThisTurn().keySet()).isEmpty()) return false;
|
||||||
|
} else if (Property.startsWith("greatestPower")) {
|
||||||
|
CardList list = AllZoneUtil.getCreaturesInPlay();
|
||||||
|
for (Card crd : list) {
|
||||||
|
if (crd.getNetAttack() > getNetAttack()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
} else if (Property.startsWith("enchanted")) {
|
} else if (Property.startsWith("enchanted")) {
|
||||||
if (!isEnchanted()) return false;
|
if (!isEnchanted()) return false;
|
||||||
} else if (Property.startsWith("unenchanted")) {
|
} else if (Property.startsWith("unenchanted")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user