Oui, il faut C# pour une fightclass heal.
Mais vous avez ici un example. Ca marche tres bien pour druid restoration. Une fois que vous avez la mouture, c'est pas tres difficile pour l'adopter a une autre class heal.
You have:
new SpellState("Ice Lance", 6, context => FrostmagePvESettings.CurrentSetting.IceLance && wManager.Wow.ObjectManager.ObjectManager.Me.BuffStack(44544) >= 2, false, true, false, false, true, true, true, true, 0, false, false, false, false, false, false, wManager.Wow.Helpers.FightClassCreator.YesNoAuto.Auto, "", "none", true, true, false),
Try:
new SpellState("Ice Lance", 6, context => FrostmagePvESettings.CurrentSetting.IceLance && ObjectManager.Me.BuffStack("Fingers of Frost") >= 2, false, true, false, false, true, true, true, true, 0, false, false, false, false, false, false, wManager.Wow.Helpers.FightClassCreator.YesNoAuto.Auto, "", "none", true, true, false),
With >= 2 in the last statement you're telling the bot to ONLY cast it when Fingers of Frost's Stack is at 2 or more. Therefore when it casts Ice Lance it will go to 1 stack of Fingers of Frost and wait until it has 2 stacks to cast again. You could also try ObjectManager.Me.HaveBuff("Fingers of Frost") instead of ObjectManager.Me.BuffStack("Fingers of Frost") >= 2. Doing this will cast Ice Lance whenever you have the Fingers of Frost buff.
You have:
new SpellState("Flurry", 5, context => FrostmagePvESettings.CurrentSetting.Flurry && wManager.Wow.ObjectManager.ObjectManager.Me.BuffStack(190447) >= 1, false, true, false, false, true, true, true, true, 0, false, false, false, false, false, false, wManager.Wow.Helpers.FightClassCreator.YesNoAuto.Auto, "", "none", true, true, false),
Try:
new SpellState("Flurry", 5, context => FrostmagePvESettings.CurrentSetting.Flurry && ObjectManager.Me.HaveBuff("Brain Freeze") && SpellManager.IsSpellOverlayed("Flurry"), false, true, false, false, true, true, true, true, 0, false, false, false, false, false, false, wManager.Wow.Helpers.FightClassCreator.YesNoAuto.Auto, "", "none", true, true, false),
IsSpellOverlayed refers to when a spell has a proc and lights up the spell on your action bar.