[Minor] Formatting, comments.

This commit is contained in:
LevelX2 2013-08-13 11:24:53 +02:00
parent 375d3ebf64
commit ff3d9d463a
2 changed files with 5 additions and 2 deletions

View file

@ -90,8 +90,9 @@ class FlyingEffect extends RestrictionEffect<FlyingEffect> implements MageSingle
@Override
public boolean canBeBlocked(Permanent attacker, Permanent blocker, Ability source, Game game) {
if (blocker.getAbilities().containsKey(FlyingAbility.getInstance().getId()) || blocker.getAbilities().containsKey(ReachAbility.getInstance().getId()))
if (blocker.getAbilities().containsKey(FlyingAbility.getInstance().getId()) || blocker.getAbilities().containsKey(ReachAbility.getInstance().getId())) {
return true;
}
return false;
}

View file

@ -387,7 +387,9 @@ public class CardUtil {
}
/**
* Creates a string from text + cardId and the zoneChangeCounter of the card (from cardId)
* Creates a string from text + cardId and the zoneChangeCounter of the card (from cardId).
* This string can be used to save and get values that must be specific to a permanent instance.
* So they won't match, if a permanent was e.g. exiled and came back immediately.
*
* @param text
* @param cardId