mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Added the keyword "CARDNAME assigns no combat damage" and converted some cards to use it.
This commit is contained in:
@@ -5,7 +5,7 @@ Text:no text
|
||||
PT:2/2
|
||||
T:Mode$ AttackerUnblocked | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigDamage | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME attacks and isn't blocked, you may have it deal damage equal to its power to target creature. If you do, CARDNAME assigns no combat damage this turn.
|
||||
SVar:TrigDamage:AB$DealDamage | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ SVar=DBNoCombatDamage
|
||||
SVar:DBNoCombatDamage:DB$Pump | Defined$ Self | KW$ HIDDEN Prevent all combat damage that would be dealt by CARDNAME.
|
||||
SVar:DBNoCombatDamage:DB$Pump | Defined$ Self | KW$ HIDDEN CARDNAME assigns no combat damage
|
||||
SVar:X:Count$CardPower
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/dwarven_vigilantes.jpg
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
PT:2/2
|
||||
T:Mode$ AttackerUnblocked | ValidCard$ Card.Self | Execute$ TrigDestroy | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME attacks and isn't blocked, you may destroy target artifact defending player controls. If you do, CARDNAME assigns no combat damage this turn.
|
||||
SVar:TrigDestroy:AB$Destroy | Cost$ 0 | ValidTgts$ Artifact.YouDontCtrl | TgtPrompt$ Select target artifact | SubAbility$ DBPump
|
||||
SVar:DBPump:DB$Pump | KW$ HIDDEN Prevent all combat damage that would be dealt by CARDNAME.
|
||||
SVar:DBPump:DB$Pump | KW$ HIDDEN CARDNAME assigns no combat damage
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/floral_spuzzem.jpg
|
||||
SetInfo:LEG|Uncommon|http://magiccards.info/scans/en/lg/101.jpg
|
||||
|
||||
@@ -5,8 +5,7 @@ Text:no text
|
||||
PT:1/1
|
||||
T:Mode$ AttackerUnblocked | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigDestroy | TriggerDescription$ Whenever CARDNAME attacks and isn't blocked, you may pay R. If you do, destroy target artifact defending player controls and CARDNAME assigns no combat damage this turn.
|
||||
SVar:TrigDestroy:AB$Destroy | Cost$ R | ValidTgts$ Artifact.YouDontCtrl | TgtPrompt$ Select target artifact defending player controls | SubAbility$ SVar=DBPump | Mandatory$ True
|
||||
SVar:DBPump:DB$Pump | KW$ HIDDEN Prevent all combat damage that would be dealt by CARDNAME.
|
||||
SVar:RemAIDeck:True
|
||||
SVar:DBPump:DB$Pump | KW$ HIDDEN CARDNAME assigns no combat damage
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/goblin_vandal.jpg
|
||||
SetInfo:WTH|Common|http://magiccards.info/scans/en/wl/105.jpg
|
||||
|
||||
@@ -4,7 +4,7 @@ Types:Creature Avatar
|
||||
Text:no text
|
||||
PT:6/6
|
||||
T:Mode$ AttackerUnblocked | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks and isn't blocked, it assigns no combat damage this turn and defending player loses 2 life.
|
||||
SVar:TrigPump:DB$Pump | Cost$ 0 | KW$ HIDDEN Prevent all combat damage that would be dealt by CARDNAME. | SubAbility$ SVar=DBLose
|
||||
SVar:TrigPump:DB$Pump | Cost$ 0 | KW$ HIDDEN CARDNAME assigns no combat damage | SubAbility$ SVar=DBLose
|
||||
SVar:DBLose:DB$LoseLife | Defined$ Opponent | LifeAmount$ 2
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/keeper_of_tresserhorn.jpg
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
PT:2/2
|
||||
T:Mode$ AttackerUnblocked | ValidCard$ Card.Self | Execute$ TrigGainControl | TriggerDescription$ Whenever CARDNAME attacks and isn't blocked, you may gain control of target artifact defending player controls. If you do, CARDNAME assigns no combat damage this turn.
|
||||
SVar:TrigGainControl:AB$GainControl | Cost$ 0 | ValidTgts$ Artifact.YouDontCtrl | TgtPrompt$ Select target artifact defending player controls | SubAbility$ SVar=DBNoCombatDamage
|
||||
SVar:DBNoCombatDamage:DB$Pump | Defined$ Self | KW$ HIDDEN Prevent all combat damage that would be dealt by CARDNAME.
|
||||
SVar:DBNoCombatDamage:DB$Pump | Defined$ Self | KW$ HIDDEN CARDNAME assigns no combat damage
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/kukemssa_pirates.jpg
|
||||
SetInfo:MIR|Rare|http://magiccards.info/scans/en/mr/71.jpg
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
PT:2/2
|
||||
T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigDamage | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME becomes blocked, you may have it deal damage equal to its power to target creature. If you do, CARDNAME assigns no combat damage this turn.
|
||||
SVar:TrigDamage:AB$DealDamage | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ SVar=DBNoCombatDamage
|
||||
SVar:DBNoCombatDamage:DB$Pump | Defined$ Self | KW$ HIDDEN Prevent all combat damage that would be dealt by CARDNAME.
|
||||
SVar:DBNoCombatDamage:DB$Pump | Defined$ Self | KW$ HIDDEN CARDNAME assigns no combat damage
|
||||
SVar:X:Count$CardPower
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/laccolith_grunt.jpg
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
PT:6/6
|
||||
T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigDamage | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME becomes blocked, you may have it deal damage equal to its power to target creature. If you do, CARDNAME assigns no combat damage this turn.
|
||||
SVar:TrigDamage:AB$DealDamage | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ SVar=DBNoCombatDamage
|
||||
SVar:DBNoCombatDamage:DB$Pump | Defined$ Self | KW$ HIDDEN Prevent all combat damage that would be dealt by CARDNAME.
|
||||
SVar:DBNoCombatDamage:DB$Pump | Defined$ Self | KW$ HIDDEN CARDNAME assigns no combat damage
|
||||
SVar:X:Count$CardPower
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/laccolith_titan.jpg
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
PT:3/3
|
||||
T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigDamage | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME becomes blocked, you may have it deal damage equal to its power to target creature. If you do, CARDNAME assigns no combat damage this turn.
|
||||
SVar:TrigDamage:AB$DealDamage | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ SVar=DBPump
|
||||
SVar:DBPump:DB$Pump | Defined$ Self | KW$ HIDDEN Prevent all combat damage that would be dealt by CARDNAME.
|
||||
SVar:DBPump:DB$Pump | Defined$ Self | KW$ HIDDEN CARDNAME assigns no combat damage
|
||||
SVar:X:Count$CardPower
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/laccolith_warrior.jpg
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
PT:1/1
|
||||
T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigDamage | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME becomes blocked, you may have it deal damage equal to its power to target creature. If you do, CARDNAME assigns no combat damage this turn.
|
||||
SVar:TrigDamage:AB$DealDamage | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ SVar=DBPump
|
||||
SVar:DBPump:DB$Pump | Defined$ Self | KW$ HIDDEN Prevent all combat damage that would be dealt by CARDNAME.
|
||||
SVar:DBPump:DB$Pump | Defined$ Self | KW$ HIDDEN CARDNAME assigns no combat damage
|
||||
SVar:X:Count$CardPower
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/laccolith_whelp.jpg
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
PT:1/3
|
||||
T:Mode$ AttackerUnblocked | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigDraw | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME attacks and isn't blocked, you may draw a card. If you do, CARDNAME assigns no combat damage this turn.
|
||||
SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ 1 | SubAbility$ SVar=DBPump
|
||||
SVar:DBPump:DB$Pump | Cost$ 0 | KW$ HIDDEN Prevent all combat damage that would be dealt by CARDNAME.
|
||||
SVar:DBPump:DB$Pump | Cost$ 0 | KW$ HIDDEN CARDNAME assigns no combat damage
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/ophidian.jpg
|
||||
|
||||
@@ -3620,6 +3620,10 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
* @return a int.
|
||||
*/
|
||||
public final int getNetCombatDamage() {
|
||||
if (hasKeyword("CARDNAME assigns no combat damage")) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (AllZoneUtil.isCardInPlay("Doran, the Siege Tower")) {
|
||||
return getNetDefense();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user