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