wrapped long lines

master
melvin 2011-06-07 16:21:00 +08:00
parent 73edddea64
commit c66a7203b8
1 changed files with 7 additions and 5 deletions

View File

@ -8,17 +8,19 @@ import magic.model.condition.MagicCondition;
public class MagicVividManaActivation extends MagicManaActivation {
private static final MagicCondition CONDITIONS[]=new MagicCondition[]{MagicCondition.CAN_TAP_CONDITION,MagicCondition.CHARGE_COUNTER_CONDITION};
private static final MagicCondition CONDITIONS[]=new MagicCondition[]{
MagicCondition.CAN_TAP_CONDITION,
MagicCondition.CHARGE_COUNTER_CONDITION};
public MagicVividManaActivation(final MagicManaType manaTypes[]) {
super(manaTypes,CONDITIONS,2);
}
@Override
public MagicEvent[] getCostEvent(final MagicSource source) {
final MagicPermanent permanent=(MagicPermanent)source;
return new MagicEvent[]{new MagicTapEvent(permanent),new MagicRemoveCounterEvent(permanent,MagicCounterType.Charge,1)};
return new MagicEvent[]{
new MagicTapEvent(permanent),
new MagicRemoveCounterEvent(permanent,MagicCounterType.Charge,1)};
}
}
}