forked from External/mage
refactor: removed netbeans's auto-generated comments
This commit is contained in:
parent
344ff81a37
commit
8a65b0f149
27 changed files with 33 additions and 33 deletions
|
|
@ -111,17 +111,17 @@ public class ConditionalContinuousRuleModifyingEffect extends ContinuousRuleModi
|
|||
|
||||
@Override
|
||||
public boolean sendMessageToGameLog() {
|
||||
return effect.sendMessageToGameLog(); //To change body of generated methods, choose Tools | Templates.
|
||||
return effect.sendMessageToGameLog();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean sendMessageToUser() {
|
||||
return effect.sendMessageToUser(); //To change body of generated methods, choose Tools | Templates.
|
||||
return effect.sendMessageToUser();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getInfoMessage(Ability source, GameEvent event, Game game) {
|
||||
return effect.getInfoMessage(source, event, game); //To change body of generated methods, choose Tools | Templates.
|
||||
return effect.getInfoMessage(source, event, game);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ public class CantBeRegeneratedSourceEffect extends ContinuousRuleModifyingEffect
|
|||
|
||||
@Override
|
||||
public void init(Ability source, Game game) {
|
||||
super.init(source, game); //To change body of generated methods, choose Tools | Templates.
|
||||
super.init(source, game);
|
||||
if (duration.isOnlyValidIfNoZoneChange()) {
|
||||
// If source permanent is no longer onto battlefield discard the effect
|
||||
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ public class PreventDamageToSourceEffect extends PreventionEffectImpl {
|
|||
|
||||
@Override
|
||||
public void init(Ability source, Game game) {
|
||||
super.init(source, game); //To change body of generated methods, choose Tools | Templates.
|
||||
super.init(source, game);
|
||||
if (duration.isOnlyValidIfNoZoneChange()) {
|
||||
// If source permanent is no longer onto battlefield discard the effect
|
||||
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ public class BecomesColorTargetEffect extends ContinuousEffectImpl {
|
|||
}
|
||||
}
|
||||
|
||||
super.init(source, game); //To change body of generated methods, choose Tools | Templates.
|
||||
super.init(source, game);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ public class GainProtectionFromColorTargetEffect extends GainAbilityTargetEffect
|
|||
|
||||
@Override
|
||||
public void init(Ability source, Game game) {
|
||||
super.init(source, game); //To change body of generated methods, choose Tools | Templates.
|
||||
super.init(source, game);
|
||||
MageObject sourceObject = game.getObject(source);
|
||||
Player controller = game.getPlayer(source.getControllerId());
|
||||
if (sourceObject != null && controller != null) {
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ public class LoseAbilitySourceEffect extends ContinuousEffectImpl {
|
|||
|
||||
@Override
|
||||
public void init(Ability source, Game game) {
|
||||
super.init(source, game); //To change body of generated methods, choose Tools | Templates.
|
||||
super.init(source, game);
|
||||
if (duration.isOnlyValidIfNoZoneChange()) {
|
||||
// If source permanent is no longer onto battlefield discard the effect
|
||||
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ public class LoseArtifactTypeTargetEffect extends ContinuousEffectImpl {
|
|||
|
||||
@Override
|
||||
public void init(Ability source, Game game) {
|
||||
super.init(source, game); //To change body of generated methods, choose Tools | Templates.
|
||||
super.init(source, game);
|
||||
if (duration.isOnlyValidIfNoZoneChange()) {
|
||||
// If source permanent is no longer onto battlefield discard the effect
|
||||
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ public class LoseCreatureTypeSourceEffect extends ContinuousEffectImpl {
|
|||
|
||||
@Override
|
||||
public void init(Ability source, Game game) {
|
||||
super.init(source, game); //To change body of generated methods, choose Tools | Templates.
|
||||
super.init(source, game);
|
||||
if (duration.isOnlyValidIfNoZoneChange()) {
|
||||
// If source permanent is no longer onto battlefield discard the effect
|
||||
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ public class SwitchPowerToughnessSourceEffect extends ContinuousEffectImpl {
|
|||
|
||||
@Override
|
||||
public void init(Ability source, Game game) {
|
||||
super.init(source, game); // To change body of generated methods, choose Tools | Templates.
|
||||
super.init(source, game);
|
||||
if (duration.isOnlyValidIfNoZoneChange()) {
|
||||
// If source permanent is no longer onto battlefield discard the effect
|
||||
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ public class AddConditionalManaEffect extends ManaEffect {
|
|||
}
|
||||
return maxAvailableMana;
|
||||
}
|
||||
return super.getNetMana(game, source); //To change body of generated methods, choose Tools | Templates.
|
||||
return super.getNetMana(game, source);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ public class SoulshiftAbility extends DiesSourceTriggeredAbility {
|
|||
filter.add(new ManaValuePredicate(ComparisonType.FEWER_THAN, intValue + 1));
|
||||
filter.add(SubType.SPIRIT.getPredicate());
|
||||
this.addTarget(new TargetCardInYourGraveyard(filter));
|
||||
super.trigger(game, controllerId, triggeringEvent); //To change body of generated methods, choose Tools | Templates.
|
||||
super.trigger(game, controllerId, triggeringEvent);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -29,6 +29,6 @@ public final class EldraziScionToken extends TokenImpl {
|
|||
|
||||
@Override
|
||||
public EldraziScionToken copy() {
|
||||
return new EldraziScionToken(this); //To change body of generated methods, choose Tools | Templates.
|
||||
return new EldraziScionToken(this);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,6 +27,6 @@ public final class EldraziSliverToken extends TokenImpl {
|
|||
|
||||
@Override
|
||||
public EldraziSliverToken copy() {
|
||||
return new EldraziSliverToken(this); //To change body of generated methods, choose Tools | Templates.
|
||||
return new EldraziSliverToken(this);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,6 +27,6 @@ public final class SoldierTokenWithHaste extends TokenImpl {
|
|||
|
||||
@Override
|
||||
public SoldierTokenWithHaste copy() {
|
||||
return new SoldierTokenWithHaste(this); //To change body of generated methods, choose Tools | Templates.
|
||||
return new SoldierTokenWithHaste(this);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1115,17 +1115,17 @@ public class Spell extends StackObjectImpl implements Card {
|
|||
|
||||
@Override
|
||||
public List<UUID> getAttachments() {
|
||||
throw new UnsupportedOperationException("Not supported."); //To change body of generated methods, choose Tools | Templates.
|
||||
throw new UnsupportedOperationException("Not supported.");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean addAttachment(UUID permanentId, Ability source, Game game) {
|
||||
throw new UnsupportedOperationException("Not supported."); //To change body of generated methods, choose Tools | Templates.
|
||||
throw new UnsupportedOperationException("Not supported.");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean removeAttachment(UUID permanentId, Ability source, Game game) {
|
||||
throw new UnsupportedOperationException("Not supported."); //To change body of generated methods, choose Tools | Templates.
|
||||
throw new UnsupportedOperationException("Not supported.");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -521,12 +521,12 @@ public class StackAbility extends StackObjectImpl implements Ability {
|
|||
|
||||
@Override
|
||||
public boolean activateAlternateOrAdditionalCosts(MageObject sourceObject, boolean noMana, Player controller, Game game) {
|
||||
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getGameLogMessage(Game game) {
|
||||
throw new UnsupportedOperationException("Not supported."); //To change body of generated methods, choose Tools | Templates.
|
||||
throw new UnsupportedOperationException("Not supported.");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ public class TargetCreatureOrPlaneswalker extends TargetPermanent {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
return super.isLegal(source, game); //To change body of generated methods, choose Tools | Templates.
|
||||
return super.isLegal(source, game);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue