mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
ashnod_the_uncaring.txt and support
This commit is contained in:
@@ -402,6 +402,12 @@ public abstract class Trigger extends TriggerReplacementBase {
|
||||
if (found) {
|
||||
return false;
|
||||
}
|
||||
} else if ("Sacrificed".equals(condition)) {
|
||||
final SpellAbility trigSA = (SpellAbility) runParams.get(AbilityKey.CastSA);
|
||||
if (trigSA != null &&
|
||||
(trigSA.getPaidList("Sacrificed") == null || trigSA.getPaidList("Sacrificed").isEmpty())) {
|
||||
return false;
|
||||
}
|
||||
} else if ("AttackedPlayerWithMostLife".equals(condition)) {
|
||||
GameEntity attacked = (GameEntity) runParams.get(AbilityKey.Attacked);
|
||||
if (attacked == null) {
|
||||
|
||||
10
forge-gui/res/cardsfolder/upcoming/ashnod_the_uncaring.txt
Normal file
10
forge-gui/res/cardsfolder/upcoming/ashnod_the_uncaring.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Name:Ashnod the Uncaring
|
||||
ManaCost:2 U B R
|
||||
Types:Legendary Creature Human Artificer
|
||||
PT:1/4
|
||||
K:Deathtouch
|
||||
T:Mode$ AbilityCast | ValidCard$ Artifact.inZoneBattlefield,Creature.inZoneBattlefield | ValidSA$ SpellAbility.nonManaAbility | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Condition$ Sacrificed | Execute$ TrigCopy | OptionalDecider$ You | TriggerDescription$ Whenever you activate an ability of an artifact or creature that isn't a mana ability, if one or more permanents were sacrificed to activate it, you may copy that ability. You may choose new targets for the copy. (Sacrificing an artifact for mana to activate an ability doesn't count.)
|
||||
SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | MayChooseTarget$ True
|
||||
DeckNeeds:Ability$Sacrifice
|
||||
DeckHints:Type$Artifact
|
||||
Oracle:Deathtouch\nWhenever you activate an ability of an artifact or creature that isn't a mana ability, if one or more permanents were sacrificed to activate it, you may copy that ability. You may choose new targets for the copy. (Sacrificing an artifact for mana to activate an ability doesn't count.)
|
||||
Reference in New Issue
Block a user