Troll Priest quest "Garments of Spirituality" Level 5
Code : OverridepulseCSharpCode
if (Quest.HasQuest(5648))
{
wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(170.596f, -4769.92f, 14.40446f), 12430);
wManager.Wow.Helpers.Lua.RunMacroText("/cast Lesser Heal");
Usefuls.WaitIsCastingAndLooting();
wManager.Wow.Helpers.Lua.RunMacroText("/cast Power Word: Fortitude");
Usefuls.WaitIsCastingAndLooting();
}
return true;
Undead Priest quest " Garments of Darkness" Level 5
Code : OverridepulseCSharpCode
if (Quest.HasQuest(5650))
{
wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(2436.81f, 359.072f, 33.26905f), 12428);
wManager.Wow.Helpers.Lua.RunMacroText("/cast Lesser Heal");
Usefuls.WaitIsCastingAndLooting();
wManager.Wow.Helpers.Lua.RunMacroText("/cast Power Word: Fortitude");
Usefuls.WaitIsCastingAndLooting();
}
return true;
Optional : if want to add complete condition (not needed.)
return (Quest.IsObjectiveComplete(1, 5648));
Tested on WOTLK