public static int ApplyDot(int ticks, bool doubleDotted) { if (doubleDotted) { return ticks + (ticks / 4) * 3; } return ticks + ticks / 2; }