コード例 #1
0
ファイル: Protection.cs プロジェクト: aash/Singular
 public static Composite CreateProtectionInit()
 {
     talentGladiator = Common.HasTalent(WarriorTalents.GladiatorsResolve);
     glyphCleave = TalentManager.HasGlyph("Cleave");
     scenario = new CombatScenario(8, 1.5f);
     return null;
 }
コード例 #2
0
ファイル: Common.cs プロジェクト: aash/Singular
        public static Composite CreateWarlockInitialize()
        {
            PetManager.NeedsPetSupport = true;

            scenario = new CombatScenario(44, 1.5f);

            SpellFindResults sfr;
            if (!SpellManager.FindSpell("Dark Soul", out sfr))
                buff.dark_soul_name = "";
            else
                buff.dark_soul_name = (sfr.Override ?? sfr.Original).Name;

            talent.archimondes_darkness_enabled = Common.HasTalent(WarlockTalents.ArchimondesDarkness);
            talent.grimoire_of_service_enabled = Common.HasTalent(WarlockTalents.GrimoireOfService);
            talent.demonic_servitude_enabled = Common.HasTalent(WarlockTalents.DemonicServitude);
            talent.charred_remains_enabled = Common.HasTalent(WarlockTalents.CharredRemains);
            talent.cataclysm_enabled = Common.HasTalent(WarlockTalents.Cataclysm);

            if (SpellManager.HasSpell("Burning Rush"))
            {
                Logger.Write(LogColor.Init, "Burning Rush: cast if running and health above {0}%", WarlockSettings.BurningRushHealthCast);
                Logger.Write(LogColor.Init, "Burning Rush: cancel if health drops below {0}% or stopped for {1} ms", WarlockSettings.BurningRushHealthCancel, WarlockSettings.BurningRushStopTimeCancel);
                Logger.Write(LogColor.Init, "Burning Rush: cast suppressed for {0} to {1} milliseconds after cancel", WarlockSettings.BurningRushMinSuspend, WarlockSettings.BurningRushMaxSuspend);
            }

            return null;
        }
コード例 #3
0
ファイル: Balance.cs プロジェクト: aash/Singular
        public static Composite CreateDruidBalanceInitialize()
        {
            scenario = new CombatScenario(44, 1.5f);

            glyphFlappingOwl = TalentManager.HasGlyph("the Flapping Owl");
            if (glyphFlappingOwl)
                Logger.Write(LogColor.Init, "Glyph of the Flapping Owl: will [Flap] when falling");

            glyphUntamedStars = TalentManager.HasGlyph("Untamed Stars");
            if (glyphUntamedStars)
                Logger.Write(LogColor.Init, "Glyph of Untamed Stars: will avoid pulling additional mobs");
            else
                Logger.Write(LogColor.Init, "Starfall: Untamed Stars not equipped, can safely cast without aggro");

            return null;
        }
コード例 #4
0
ファイル: Fury.cs プロジェクト: aash/Singular
 public static Composite CreateFuryInitialize()
 {
     scenario = new CombatScenario(8, 1.5f);
     return null;
 }
コード例 #5
0
ファイル: Arms.cs プロジェクト: aash/Singular
 public static Composite CreateArmsInitialize()
 {
     scenario = new CombatScenario(8, 1.5f);
     Logger.WriteDiagnostic("CreateArmsInitialize: Arms init complete");
     return null;
 }