コード例 #1
0
ファイル: Recount.cs プロジェクト: chippydip/RetRotationSim
 private void OnRefresh(Buff buff, TimeSpan remaining)
 {
     Record(_buff, buff.Name);
     Record(_buff, buff.Name, "Refreshed");
 }
コード例 #2
0
ファイル: Recount.cs プロジェクト: chippydip/RetRotationSim
 private void OnExpire(Buff buff)
 {
     Record(_buff, buff.Name, "Expired");
 }
コード例 #3
0
ファイル: Recount.cs プロジェクト: chippydip/RetRotationSim
 private void OnActivate(Buff buff)
 {
     Record(_buff, buff.Name);
     Record(_buff, buff.Name, "Gained");
 }
コード例 #4
0
ファイル: Recount.cs プロジェクト: chippydip/RetRotationSim
 private void OnCancel(Buff buff, TimeSpan remaingin)
 {
     Record(_buff, buff.Name, "Used");
 }
コード例 #5
0
        private void InitBuffs()
        {
            // Buffs
            Buff b;
            b = new Buff(this, Secret, "The Art of War", () => TimeSpan.FromSeconds(15));
            AddBuff(b);

            b = new Buff(this, Secret, "Hand of Light", () => TimeSpan.FromSeconds(8));
            AddBuff(b);

            b = new Buff(this, Secret, "Inquisition", () =>
                             {
                                 var hp = EffectiveHolyPower;
                                 if (Has4pT11)
                                     ++hp;
                                 return TimeSpan.FromSeconds(hp * 10);
                             });
            AddBuff(b);

            b = new Buff(this, Secret, "Divine Purpose", () => TimeSpan.Zero);
            AddBuff(b);

            b = new Buff(this, Secret, "Censure", () => TimeSpan.FromSeconds(15),
                             maxStack:5,
                             tickPeriod:() => TimeSpan.FromSeconds(3 / SpellHaste));
            AddBuff(b);

            b = new Buff(this, Secret, "Seal of Truth", () => TimeSpan.Zero);
            AddBuff(b);

            b = new Buff(this, Secret, "Seals of Command", () => TimeSpan.Zero);
            AddBuff(b);

            b = new Buff(this, Secret, "Consecration", () => TimeSpan.FromSeconds(HasConsecrationGlyph ? 12 : 10),
                         tickPeriod:() => TimeSpan.FromSeconds(1 / SpellHaste));
            AddBuff(b);

            b = new Buff(this, Secret, "Avenging Wrath", () => TimeSpan.FromSeconds(20));
            AddBuff(b);

            b = new Buff(this, Secret, "Zealotry", () => TimeSpan.FromSeconds(20));
            AddBuff(b);
        }