mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
Implemented Tin Street Dodger
This commit is contained in:
parent
db11f1d84b
commit
581db3d6e0
3 changed files with 60 additions and 3 deletions
|
|
@ -9,7 +9,6 @@ import mage.game.Game;
|
|||
import mage.game.permanent.Permanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public class CantBeBlockedByCreaturesSourceEffect extends RestrictionEffect {
|
||||
|
|
@ -19,8 +18,8 @@ public class CantBeBlockedByCreaturesSourceEffect extends RestrictionEffect {
|
|||
public CantBeBlockedByCreaturesSourceEffect(FilterCreaturePermanent filter, Duration duration) {
|
||||
super(duration);
|
||||
this.filter = filter;
|
||||
staticText = new StringBuilder("{this} can't be blocked ")
|
||||
.append(filter.getMessage().startsWith("except by") ? "" : "by ").append(filter.getMessage()).toString();
|
||||
staticText = "{this} can't be blocked " + (duration == Duration.EndOfTurn ? "this turn " : "")
|
||||
+ (filter.getMessage().startsWith("except by") ? "" : "by ") + filter.getMessage();
|
||||
}
|
||||
|
||||
public CantBeBlockedByCreaturesSourceEffect(final CantBeBlockedByCreaturesSourceEffect effect) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue