- Fixed logic error with DamageAmount parameter of DamageDone triggers.

- Fixed TriggerZones of Pain Magnification.
This commit is contained in:
Sloth
2011-08-23 11:47:56 +00:00
parent 90c4b458a0
commit 71763271aa
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ Name:Pain Magnification
ManaCost:1 B R
Types:Enchantment
Text:no text
T:Mode$ DamageDone | ValidTarget$ Opponent | DamageAmount$ GE3 | Execute$ TrigDestroy | TriggerDescription$ Whenever an opponent is dealt 3 or more damage by a single source, that player discards a card.
T:Mode$ DamageDone | ValidTarget$ Opponent | DamageAmount$ GE3 | Execute$ TrigDestroy | TriggerZones$ Battlefield | TriggerDescription$ Whenever an opponent is dealt 3 or more damage by a single source, that player discards a card.
SVar:TrigDestroy:AB$Discard | Cost$ 0 | Defined$ Opponent | NumCards$ 1 | Mode$ TgtChoose
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/pain_magnification.jpg

View File

@@ -59,7 +59,7 @@ public class Trigger_DamageDone extends Trigger {
int operand = Integer.parseInt(fullParam.substring(2));
int actualAmount = (Integer) runParams.get("DamageAmount");
if (AllZoneUtil.compare(actualAmount, operator, operand))
if (!AllZoneUtil.compare(actualAmount, operator, operand))
return false;
System.out.print("DamageDone Amount Operator: ");