public HolyPriestHealSettings(HealingContext ctx) : base("Priest-Holy", ctx) { // we haven't created a settings file yet, // .. so initialize values for various heal contexts if (!SavedToFile) { if (ctx == Singular.HealingContext.Battlegrounds) { Renew = 95; PrayerOfMending = 94; Heal = 0; GreaterHeal = 0; FlashHeal = 80; BindingHeal = 55; HolyLevel90Talent = 85; HolyWordSanctuary = 95; HolyWordSerenity = 85; CircleOfHealing = 90; PrayerOfHealing = 85; DivineHymn = 75; GuardianSpirit = 35; VoidShift = 15; CountHolyWordSanctuary = 3; CountLevel90Talent = 3; CountCircleOfHealing = 3; CountPrayerOfHealing = 3; CountDivineHymn = 4; } else if (ctx == Singular.HealingContext.Instances) { Renew = 95; PrayerOfMending = 85; Heal = 90; GreaterHeal = 65; FlashHeal = 65; BindingHeal = 35; HolyLevel90Talent = 80; HolyWordSanctuary = 0; HolyWordSerenity = 85; CircleOfHealing = 93; PrayerOfHealing = 85; DivineHymn = 75; GuardianSpirit = 20; VoidShift = 19; CountHolyWordSanctuary = 3; CountLevel90Talent = 3; CountCircleOfHealing = 3; CountPrayerOfHealing = 3; CountDivineHymn = 4; } else if (ctx == Singular.HealingContext.Raids) { PowerWordShield = 100; Renew = 95; PrayerOfMending = 94; Heal = 0; GreaterHeal = 40; FlashHeal = 20; BindingHeal = 30; HolyLevel90Talent = 80; HolyWordSanctuary = 92; HolyWordSerenity = 0; CircleOfHealing = 93; PrayerOfHealing = 85; DivineHymn = 75; GuardianSpirit = 20; VoidShift = 19; CountHolyWordSanctuary = 3; CountLevel90Talent = 4; CountCircleOfHealing = 4; CountPrayerOfHealing = 3; CountDivineHymn = 5; } // omit case for WoWContext.Normal and let it use DefaultValue() values } // adjust Flash Heal if we have not previously if (!FlashHealAdjusted && StyxWoW.Me.Level >= 34 && (ctx == HealingContext.Instances || ctx == HealingContext.Raids)) { if (SavedToFile) Logger.Write(Color.White, "Flash Heal % changed from {0} to {1} for {2}. Visit Class Config and Save to make permanent.", FlashHeal, GuardianSpirit + 1, ctx.ToString()); FlashHeal = GuardianSpirit + 1; FlashHealAdjusted = true; } SavedToFile = true; }
public ShamanRestoHealSettings(HealingContext ctx) : base("ShamanResto", ctx) { // we haven't created a settings file yet, // .. so initialize values for various heal contexts if (!SavedToFile) { if (ctx == Singular.HealingContext.Battlegrounds) { ChainHeal = 90; HealingRain = 93; HealingWave = 0; Ascendance = 49; SpiritLinkTotem = 50; HealingSurge = 85; AncestralSwiftness = 35; HealingStreamTotem = 100; CloudburstTotem = 100; HealingTideTotem = 55; RollRiptideCount = 0; MinHealingRainCount = 4; MinChainHealCount = 3; MinHealingTideCount = 2; } else if (ctx == Singular.HealingContext.Instances) { ChainHeal = 92; HealingRain = 91; HealingWave = 90; Ascendance = 50; SpiritLinkTotem = 49; HealingSurge = 70; AncestralSwiftness = 30; HealingStreamTotem = 100; CloudburstTotem = 100; HealingTideTotem = 65; RollRiptideCount = 1; MinHealingRainCount = 2; MinChainHealCount = 3; MinHealingTideCount = 2; } else if (ctx == Singular.HealingContext.Raids) { ChainHeal = 90; HealingRain = 95; HealingWave = 50; Ascendance = 50; SpiritLinkTotem = 48; HealingSurge = 21; AncestralSwiftness = 20; HealingStreamTotem = 100; CloudburstTotem = 100; HealingTideTotem = 70; RollRiptideCount = 5; MinHealingRainCount = 3; MinChainHealCount = 2; MinHealingTideCount = 4; } // omit case for WoWContext.Normal and let it use DefaultValue() values } // adjust Healing Surge if we have not previously if (!HealingSurgeAdjusted && StyxWoW.Me.Level >= 60 && (ctx == HealingContext.Instances || ctx == HealingContext.Raids)) { if (SavedToFile) Logger.Write( LogColor.Hilite, "Healing Surge % changed from {0} to {1} for {2}. Visit Class Config and Save to make permanent.", HealingSurge, AncestralSwiftness + 1, ctx.ToString()); HealingSurge = AncestralSwiftness + 1; HealingSurgeAdjusted = true; } SavedToFile = true; }
// reqd ctor public HealerSettings(string className, HealingContext ctx) : base(Path.Combine(SingularSettings.SingularSettingsPath, className + "-Heal-" + ctx.ToString() + ".xml")) { Context = ctx; }
public HolyPriestHealSettings(HealingContext ctx) : base("Priest-Holy", ctx) { // we haven't created a settings file yet, // .. so initialize values for various heal contexts if (!SavedToFile) { if (ctx == Singular.HealingContext.Battlegrounds) { Renew = 95; PrayerOfMending = 94; Heal = 0; FlashHeal = 80; BindingHeal = 55; HolyLevel90Talent = 85; HolyWordSanctify = 95; HolyWordSerenity = 50; CircleOfHealing = 90; PrayerOfHealing = 70; DivineHymn = 75; GuardianSpirit = 35; CountHolyWordSanctify = 3; CountLevel90Talent = 3; CountCircleOfHealing = 3; CountPrayerOfHealing = 3; CountDivineHymn = 4; } else if (ctx == Singular.HealingContext.Instances) { Renew = 95; PrayerOfMending = 85; Heal = 65; FlashHeal = 80; BindingHeal = 35; HolyLevel90Talent = 80; HolyWordSanctify = 0; HolyWordSerenity = 60; CircleOfHealing = 93; PrayerOfHealing = 70; DivineHymn = 75; GuardianSpirit = 20; CountHolyWordSanctify = 3; CountLevel90Talent = 3; CountCircleOfHealing = 3; CountPrayerOfHealing = 3; CountDivineHymn = 4; } else if (ctx == Singular.HealingContext.Raids) { PowerWordShield = 100; Renew = 95; PrayerOfMending = 94; Heal = 40; FlashHeal = 70; BindingHeal = 30; HolyLevel90Talent = 80; HolyWordSanctify = 92; HolyWordSerenity = 50; CircleOfHealing = 93; PrayerOfHealing = 85; DivineHymn = 75; GuardianSpirit = 20; CountHolyWordSanctify = 3; CountLevel90Talent = 4; CountCircleOfHealing = 4; CountPrayerOfHealing = 3; CountDivineHymn = 5; } // omit case for WoWContext.Normal and let it use DefaultValue() values } // adjust Flash Heal if we have not previously if (!FlashHealAdjusted && StyxWoW.Me.Level >= 34 && (ctx == HealingContext.Instances || ctx == HealingContext.Raids)) { if (SavedToFile) { Logger.Write(LogColor.Hilite, "Flash Heal % changed from {0} to {1} for {2}. Visit Class Config and Save to make permanent.", FlashHeal, GuardianSpirit + 1, ctx.ToString()); } FlashHeal = GuardianSpirit + 1; FlashHealAdjusted = true; } SavedToFile = true; }
public ShamanRestoHealSettings(HealingContext ctx) : base("ShamanResto", ctx) { // we haven't created a settings file yet, // .. so initialize values for various heal contexts if (!SavedToFile) { if (ctx == Singular.HealingContext.Battlegrounds) { ChainHeal = 90; HealingRain = 93; GiftoftheQueen = 90; HealingWave = 0; Ascendance = 49; SpiritLinkTotem = 50; HealingSurge = 85; AncestralSwiftness = 35; HealingStreamTotem = 100; CloudburstTotem = 100; HealingTideTotem = 55; RollRiptideCount = 0; MinHealingRainCount = 4; MinGiftoftheQueenCount = 2; MinChainHealCount = 3; MinHealingTideCount = 2; } else if (ctx == Singular.HealingContext.Instances) { ChainHeal = 92; HealingRain = 91; GiftoftheQueen = 90; HealingWave = 90; Ascendance = 50; SpiritLinkTotem = 49; HealingSurge = 70; AncestralSwiftness = 30; HealingStreamTotem = 100; CloudburstTotem = 100; HealingTideTotem = 65; RollRiptideCount = 1; MinHealingRainCount = 2; MinGiftoftheQueenCount = 2; MinChainHealCount = 3; MinHealingTideCount = 2; } else if (ctx == Singular.HealingContext.Raids) { ChainHeal = 90; HealingRain = 95; GiftoftheQueen = 90; HealingWave = 50; Ascendance = 50; SpiritLinkTotem = 48; HealingSurge = 21; AncestralSwiftness = 20; HealingStreamTotem = 100; CloudburstTotem = 100; HealingTideTotem = 70; RollRiptideCount = 5; MinHealingRainCount = 3; MinGiftoftheQueenCount = 5; MinChainHealCount = 2; MinHealingTideCount = 4; } // omit case for WoWContext.Normal and let it use DefaultValue() values } // adjust Healing Surge if we have not previously if (!HealingSurgeAdjusted && StyxWoW.Me.Level >= 60 && (ctx == HealingContext.Instances || ctx == HealingContext.Raids)) { if (SavedToFile) { Logger.Write(LogColor.Hilite, "Healing Surge % changed from {0} to {1} for {2}. Visit Class Config and Save to make permanent.", HealingSurge, AncestralSwiftness + 1, ctx.ToString()); } HealingSurge = AncestralSwiftness + 1; HealingSurgeAdjusted = true; } SavedToFile = true; }