Some minor fixes and changes to framework and some cards.

This commit is contained in:
LevelX2 2014-04-18 14:16:42 +02:00
parent 923fdb5882
commit 0e229fd22a
8 changed files with 21 additions and 72 deletions

View file

@ -42,7 +42,7 @@ import mage.game.permanent.Permanent;
*/
public class EquippedMatchesFilterCondition implements Condition {
private FilterCreaturePermanent filter;
private final FilterCreaturePermanent filter;
public EquippedMatchesFilterCondition(FilterCreaturePermanent filter) {
this.filter = filter;

View file

@ -39,27 +39,27 @@ import mage.game.permanent.Permanent;
*
* @author LevelX2
*/
public class PreventAllDamageAttachedEffect extends PreventionEffectImpl<PreventAllDamageAttachedEffect> {
public class PreventAllDamageToAttachedEffect extends PreventionEffectImpl<PreventAllDamageToAttachedEffect> {
private String attachedDescription;
private boolean combatOnly;
private final String attachedDescription;
private final boolean combatOnly;
public PreventAllDamageAttachedEffect(Duration duration, String attachedDescription, boolean combatOnly) {
public PreventAllDamageToAttachedEffect(Duration duration, String attachedDescription, boolean combatOnly) {
super(duration);
this.attachedDescription = attachedDescription;
this.combatOnly = combatOnly;
staticText = setText();
}
public PreventAllDamageAttachedEffect(final PreventAllDamageAttachedEffect effect) {
public PreventAllDamageToAttachedEffect(final PreventAllDamageToAttachedEffect effect) {
super(effect);
this.attachedDescription = effect.attachedDescription;
this.combatOnly = effect.combatOnly;
}
@Override
public PreventAllDamageAttachedEffect copy() {
return new PreventAllDamageAttachedEffect(this);
public PreventAllDamageToAttachedEffect copy() {
return new PreventAllDamageToAttachedEffect(this);
}
@Override