mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
[Minor] Formatting, comments.
This commit is contained in:
parent
375d3ebf64
commit
ff3d9d463a
2 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue