Exemplo n.º 1
0
 private void OnRefresh(Buff buff, TimeSpan remaining)
 {
     Record(_buff, buff.Name);
     Record(_buff, buff.Name, "Refreshed");
 }
Exemplo n.º 2
0
 private void OnExpire(Buff buff)
 {
     Record(_buff, buff.Name, "Expired");
 }
Exemplo n.º 3
0
 private void OnActivate(Buff buff)
 {
     Record(_buff, buff.Name);
     Record(_buff, buff.Name, "Gained");
 }
Exemplo n.º 4
0
 private void OnCancel(Buff buff, TimeSpan remaingin)
 {
     Record(_buff, buff.Name, "Used");
 }
Exemplo n.º 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);
        }