public int CalculatePlacementStyle(int style, int alternate, int random) { int num = style * this.StyleMultiplier + this.Style; if (random >= 0) num += random; return num; }