Stormchasing
Community Developer
- Joined
- Jan 15, 2011
- Messages
- 4,029
- Reaction score
- 48
hi wulf,
i took a look into UltimateHealer for your issue and it seems that u'll need to work with spellID for this Holy Word: Serenity
i took a look into UltimateHealer for your issue and it seems that u'll need to work with spellID for this Holy Word: Serenity
Code:
new Decorator(ret => !_raid_healer && SpellManager.HasSpell("Holy Word: Chastise") && !WoWSpell.FromId(88684).Cooldown && tar.HealthPercent < _HWS_min_hp && Me.HasAura("Chakra: Serenity")
&& tar != null && tar.IsValid && !tar.Dead && tar.InLineOfSight && tar.Distance < 40,
new PrioritySelector( Composite_Wait_again(),
new Action(delegate
{
formatslog("Heal", "Healing", "Holy Word: Serenity", tar);
if (SpellManager.Cast(WoWSpell.FromId(88684), tar))//Cast("Holy Word: Serenity", tar, 40, "Heal", "Healing"))
{ return RunStatus.Success; }
else { return RunStatus.Failure; }
}))),
new Decorator(ret => _raid_healer && SpellManager.HasSpell("Holy Word: Chastise") && !WoWSpell.FromId(88685).Cooldown && Me.HasAura("Chakra: Sanctuary"),
new PrioritySelector(
new Decorator(ret => _AOE_check_everyone,
new Decorator(ret => Should_AOE(_min_player_inside_HWSa, 30, _HWSa_how_much_health, out x),
new Decorator(ret => unitcheck(x) && x.Distance < _max_healing_distance && x.InLineOfSight,
new PrioritySelector( Composite_Wait_again(),
new PrioritySelector(
new Action(delegate
{
formatslog("Heal", "Healing", "Holy Word: Sanctuary", x);
if (SpellManager.Cast(WoWSpell.FromId(88685), x))//Cast("Holy Word: Serenity", tar, 40, "Heal", "Healing"))
{ General_casted_HWSa=true; }
else { General_casted_HWSa=false; }
return RunStatus.Failure;
}),