3 #ifndef OSL_NUM_EFFECT_STATE_TCC
4 #define OSL_NUM_EFFECT_STATE_TCC
10 template <osl::Player P>
11 bool osl::NumEffectState::
14 const Piece piece = pieceAt(removed);
16 return hasEffectAt<P>(target);
17 if (piece.
owner() == P)
19 if (hasEffectNotBy(P, piece, target))
24 if (hasEffectAt(P, target))
27 if (! longEffectAt(removed, P).any())
33 return (! Piece::isEmptyNum(num)
34 && pieceOf(num).owner()==P);