if (first && (target != null) && (getFlyType() == FlyType.CHARGE) && activeChar.isInRange(target.getLoc(), Math.min(150, getFlyRadius())))
{
activeChar.getPlayer().sendPacket(Msg.THERE_IS_NOT_ENOUGH_SPACE_TO_MOVE_THE_SKILL_CANNOT_BE_USED);
return false;
}
SystemMsg msg = checkTarget(activeChar, target, target, forceUse, first);
if ((msg != null) && (activeChar.getPlayer() != null))
{
activeChar.getPlayer().sendPacket(msg);
return false;
}
if (_preCondition.length == 0)
{
return true;
}
Env env = new Env();
env.character = activeChar;
env.skill = this;
env.target = target;
if (first)
{
for (Condition p : _preCondition)
{
if (!p.test(env))
{
SystemMsg cond_msg = p.getSystemMsg();
if (cond_msg != null)
{
if (cond_msg.size() > 0)
{
activeChar.sendPacket(new SystemMessage2(cond_msg).addSkillName(this));
}
else
{