107 if (abs(from.
y() - target.
y()) > 3)
109 if (abs(from.
x() - target.
x()) > 2)
112 else if (ptype ==
LANCE)
114 if (abs(from.
x() - target.
x()) > 1)
119 return hasEffectFromTo(state, ptypeo, from, target,
UL)
120 || hasEffectFromTo(state, ptypeo, from, target,
U)
121 || hasEffectFromTo(state, ptypeo, from, target,
UR)
122 || hasEffectFromTo(state, ptypeo, from, target,
L)
123 || hasEffectFromTo(state, ptypeo, from, target,
R)
124 || hasEffectFromTo(state, ptypeo, from, target,
DL)
125 || hasEffectFromTo(state, ptypeo, from, target,
D)
126 || hasEffectFromTo(state, ptypeo, from, target,
DR);