fBaseXtensions.Behaviors.GoblinBehavior.ShouldRunBehavior C# (CSharp) Method

ShouldRunBehavior() static private method

static private ShouldRunBehavior ( ) : bool
return bool
        internal static bool ShouldRunBehavior()
        {
            if (FunkyGame.Hero.CurrentWorldID != 409093 &&
                FunkyGame.Hero.CurrentWorldID != 379962 &&
                FunkyGame.Hero.CurrentWorldID != 380774 &&
                !FunkyGame.Hero.bIsInTown &&
                !BrainBehavior.IsVendoring)
            {
                return true;
            }

            if (!ProfileManager.CurrentProfile.Path.Contains(FolderPaths.PluginPath + @"\Behaviors\Profiles\"))
            {
                return true;
            }

            return false;
        }