Example #1
0
        public RoutineBrain()
        {
            Actions = new List <RoutineAction>();

            Manager.Events.Register("PLAYER_REGEN_DISABLED", HandleCombatEvents);
            Manager.Events.Register("PLAYER_REGEN_ENABLED", HandleCombatEvents);

            HarmfulTargetsSelector = DefaultHarmfulTargetsSelector;
            HelpfulTargetsSelector = DefaultHelpfulTargetsSelector;

            Direct3D.RegisterCallback(this);
        }