mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 14:32:06 -08:00
Added set Tempest Remastered and reprints. Added Pit Trap. Updated latest Game Day, FNM, Buy-a-box, WMCQ, and Release promos.
This commit is contained in:
parent
2b2db2df6c
commit
0fbe4303ae
8 changed files with 833 additions and 400 deletions
|
|
@ -54,7 +54,11 @@ public class PreventDamageBySourceEffect extends PreventionEffectImpl {
|
|||
|
||||
public PreventDamageBySourceEffect(FilterObject filterObject) {
|
||||
super(Duration.EndOfTurn);
|
||||
this.target = new TargetSource(filterObject);
|
||||
if (filterObject.getMessage().equals("a")) {
|
||||
this.target = new TargetSource(new FilterObject("source"));
|
||||
} else {
|
||||
this.target = new TargetSource(new FilterObject(filterObject.getMessage() + " source"));
|
||||
}
|
||||
staticText = "Prevent all damage " + filterObject.getMessage() + " source of your choice would deal this turn";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue