(Card blocker)
| 970 | } |
| 971 | |
| 972 | public boolean isBlocking(Card blocker) { |
| 973 | if (blockedBands.get().containsValue(blocker)) { |
| 974 | return true; // is blocking something at the moment |
| 975 | } |
| 976 | |
| 977 | if (!blocker.isLKI()) { |
| 978 | return false; |
| 979 | } |
| 980 | |
| 981 | CombatLki lki = lkiCache.get().get(blocker).getCombatLKI(); |
| 982 | return null != lki && !lki.isAttacker; // was blocking something anyway |
| 983 | } |
| 984 | |
| 985 | public boolean isBlocking(Card blocker, Card attacker) { |
| 986 | AttackingBand ab = getBandOfAttacker(attacker); |
no test coverage detected