mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 12:22:10 -08:00
Some minor fixes and changes to framework and some cards.
This commit is contained in:
parent
923fdb5882
commit
0e229fd22a
8 changed files with 21 additions and 72 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue