public static void DrawOffset(Projectile projectile, ref int offsetX, ref int offsetY, ref float originX) { if (projectile.modProjectile != null) { offsetX = projectile.modProjectile.drawOffsetX; offsetY = -projectile.modProjectile.drawOriginOffsetY; originX += projectile.modProjectile.drawOriginOffsetX; } }