Example #1
0
        public static void OnMapPan(AreaType type)
        {
            if (SeedController.HintsDisabled)
            {
                return;
            }
            var msg = getZoneHintMessage(type.toZone(), false) + GetKeySkillHints();

            if (msg.Count(c => c == '\n') == 2) // if there's exactly 3 lines, insert an extra linebreak at the top
            {
                msg = "\n" + msg;               // so the middle text isn't obscured by the filter button
            }
            InterOp.update_map_hint(msg);
        }