mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Fixed logic error with DamageAmount parameter of DamageDone triggers.
- Fixed TriggerZones of Pain Magnification.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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: ");
|
||||
|
||||
Reference in New Issue
Block a user