@Override public void useSkill(Character character, float targetX, float targetY, float targetZ) { if (target != null) { if (target.isPlayer()) NpcFastShot.startShot(character, this, target); else FastShot.startShot(character, this, target.getX(), target.getY(), target.getZ()); } target = null; }
@Override public void useSkill(Character character, float targetX, float targetY, float targetZ) { if (target != null) FastShot.startShot( character, this, target.getX(), target.getY(), target.getZ() + (target.getGeomHeight() * 0.5F)); target = null; }