adjust line and castle offset