mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Added Death Pits of Rath.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -1104,6 +1104,7 @@ res/cardsfolder/death_cultist.txt -text svneol=native#text/plain
|
|||||||
res/cardsfolder/death_grasp.txt -text svneol=native#text/plain
|
res/cardsfolder/death_grasp.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/death_mutation.txt -text svneol=native#text/plain
|
res/cardsfolder/death_mutation.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/death_of_a_thousand_stings.txt -text svneol=native#text/plain
|
res/cardsfolder/death_of_a_thousand_stings.txt -text svneol=native#text/plain
|
||||||
|
res/cardsfolder/death_pits_of_rath.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/death_speakers.txt -text svneol=native#text/plain
|
res/cardsfolder/death_speakers.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/death_stroke.txt -text svneol=native#text/plain
|
res/cardsfolder/death_stroke.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/death_ward.txt -text svneol=native#text/plain
|
res/cardsfolder/death_ward.txt -text svneol=native#text/plain
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ ManaCost:2 W
|
|||||||
Types:Tribal Enchantment Rebel Aura
|
Types:Tribal Enchantment Rebel Aura
|
||||||
Text:Enchanted creature can't attack or block.
|
Text:Enchanted creature can't attack or block.
|
||||||
K:Enchant creature
|
K:Enchant creature
|
||||||
K:enPumpCurse:CARDNAME can't attack or block.
|
K:enPumpCurse:HIDDEN CARDNAME can't attack or block.
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/bound_in_silence.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/bound_in_silence.jpg
|
||||||
SetInfo:FUT|Uncommon|http://magiccards.info/scans/en/fut/20.jpg
|
SetInfo:FUT|Uncommon|http://magiccards.info/scans/en/fut/20.jpg
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ ManaCost:1 W
|
|||||||
Types:Enchantment Aura
|
Types:Enchantment Aura
|
||||||
Text:Enchanted creature gets +2/+2 and can't attack.
|
Text:Enchanted creature gets +2/+2 and can't attack.
|
||||||
K:Enchant creature
|
K:Enchant creature
|
||||||
K:enPumpCurse:+2/+2/CARDNAME can't attack.
|
K:enPumpCurse:+2/+2/HIDDEN CARDNAME can't attack.
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/cagemail.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/cagemail.jpg
|
||||||
SetInfo:JUD|Common|http://magiccards.info/scans/en/ju/7.jpg
|
SetInfo:JUD|Common|http://magiccards.info/scans/en/ju/7.jpg
|
||||||
|
|||||||
9
res/cardsfolder/death_pits_of_rath.txt
Normal file
9
res/cardsfolder/death_pits_of_rath.txt
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
Name:Death Pits of Rath
|
||||||
|
ManaCost:3 B B
|
||||||
|
Types:Enchantment
|
||||||
|
Text:no text
|
||||||
|
K:stPumpAll:Creature:0/0/HIDDEN When CARDNAME is dealt damage, destroy it. It can't be regenerated.:No Condition:Whenever a creature is dealt damage, destroy it. It can't be regenerated.
|
||||||
|
SVar:RemAIDeck:True
|
||||||
|
SVar:Rarity:Rare
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/death_pits_of_rath.jpg
|
||||||
|
End
|
||||||
@@ -5,7 +5,7 @@ Text:Enchanted creature can't attack.
|
|||||||
K:Enchant creature
|
K:Enchant creature
|
||||||
K:enPump:CARDNAME can't attack.
|
K:enPump:CARDNAME can't attack.
|
||||||
A:AB$Pump | Cost$ B | Defined$ Enchanted | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | SpellDescription$ Enchanted creature gets -1/-1 until end of turn.
|
A:AB$Pump | Cost$ B | Defined$ Enchanted | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | SpellDescription$ Enchanted creature gets -1/-1 until end of turn.
|
||||||
A:AB$Pump | Cost$ R | Defined$ Enchanted | KW$ CARDNAME can't block. | IsCurse$ True | SpellDescription$ Enchanted creature can't block this turn.
|
A:AB$Pump | Cost$ R | Defined$ Enchanted | KW$ HIDDEN CARDNAME can't block. | IsCurse$ True | SpellDescription$ Enchanted creature can't block this turn.
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/manacles_of_decay.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/manacles_of_decay.jpg
|
||||||
End
|
End
|
||||||
|
|||||||
@@ -2948,18 +2948,26 @@ public class Card extends MyObservable {
|
|||||||
AllZone.Stack.add(ability2);
|
AllZone.Stack.add(ability2);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(getKeyword().contains("When CARDNAME is dealt damage, destroy it.")) {
|
if(hasStartOfKeyword("When CARDNAME is dealt damage, destroy it.")) {
|
||||||
final Card damagedCard = this;
|
final Card damagedCard = this;
|
||||||
final Ability ability = new Ability(source, "0") {
|
final Ability ability = new Ability(source, "0") {
|
||||||
@Override
|
@Override
|
||||||
public void resolve() { AllZone.GameAction.destroy(damagedCard); }
|
public void resolve() { AllZone.GameAction.destroy(damagedCard); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
final Ability ability2 = new Ability(source, "0") {
|
||||||
|
@Override
|
||||||
|
public void resolve() { AllZone.GameAction.destroyNoRegeneration(damagedCard); }
|
||||||
|
};
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append(damagedCard).append(" - destroy");
|
sb.append(damagedCard).append(" - destroy");
|
||||||
ability.setStackDescription(sb.toString());
|
ability.setStackDescription(sb.toString());
|
||||||
|
ability2.setStackDescription(sb.toString());
|
||||||
|
|
||||||
AllZone.Stack.add(ability);
|
if(this.getKeyword().contains("When CARDNAME is dealt damage, destroy it. It can't be regenerated."))
|
||||||
|
AllZone.Stack.add(ability2);
|
||||||
|
else AllZone.Stack.add(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(source.getKeyword().contains("Deathtouch") && this.isCreature()) AllZone.GameAction.destroy(this);
|
if(source.getKeyword().contains("Deathtouch") && this.isCreature()) AllZone.GameAction.destroy(this);
|
||||||
|
|||||||
Reference in New Issue
Block a user