use Holy Shock-Holy radiance-Holy Radiance-Eternal Flame-Holy Prism(on CD) and watch your mana go away real quick
Have not acces to bot right now, but can i change so its use it or what?
public static int GetAncientBarrierHealth(WoWUnit unit){
int shield = unit.GetAuraById(GetAncientBarrier(unit)).StackCount;
int maxShield = unit.MaxHealth;
int Result = math.floor((shield / maxShield) * 100));
return Result;
}
Well what could it do to be improved, and how should it work? If you state something doesnt work you should at least try to give proper feedback ^^Malkorok healing does not seem to work
GetPredictedHealth = Current HP + Incoming HealsCan someone explain a bit about the new predicted health value? I'm guessing it will be used to top people faster, like in the thok fight?
I think it may have something to do with the variables not being updated when you click "Save close". If you edit the code and tell it to do malkorok the hard way (line 225 @ OracleHealTargeting) it does work.
The same thing goes for other options, like "Stop casting", or "Proving Grounds"... It does output the right values on the chat, but they don't seem to be updated internally.
Is there anything else we need to do for it to update the variable? Like stopping and starting again?
I was looking through the code for the Malkorok encounter and everything looks great for phase 1 but when it switches to phase 2 the "mist" is no longer causing healing to generate shields so GetAncientBarrierHealth is always going to assume everyone in the raid health is at 50% instead of healing for their correct hp %. There probably should be a check if the unit has the debuff Ancient Miasma id #142861 then check for shield if not return current hp.
Just my quick thoughts