mirror of
https://github.com/correl/mage.git
synced 2024-12-27 03:00:13 +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
|
@Override
|
||||||
public boolean canBeBlocked(Permanent attacker, Permanent blocker, Ability source, Game game) {
|
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 true;
|
||||||
|
}
|
||||||
return false;
|
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 text
|
||||||
* @param cardId
|
* @param cardId
|
||||||
|
|
Loading…
Reference in a new issue