@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; }
@Override public void startSkill(Character attacker, float targetX, float targetY, float targetZ) { super.startSkill(attacker, targetX, targetY, targetZ); impactX = attacker.getX(); impactY = attacker.getY(); impactZ = attacker.getZ(); attacker.broadcastPacket( StartFastShot.getInstance( attacker, this, castId, target.getX(), target.getY(), target.getZ() + (target.getGeomHeight() * 0.5F))); }