rendered paste body private bool LocateWaterwalk()
{
if (wow.HighestKnownSpells.Contains("Water Walking"))
{
if (wow.Buffs["Water Walking"] == null || wow.Buffs["Water Walking"].TimeLeft < 30 )
{
// stop fishing/lure apply if any, they will start again
wow.SendScript("SpellStopCasting()");
wow.LeftClick(wow.Player);
wow.CastSpellByName("Water Walking")
wow.SendScript("Jump()");
Thread.Sleep(100);
return true;
}
else
{
// buff active
return false;
}
}
else
{
// not a shaman or doesn't have the skill yet
ApplicationContext.Instance.Settings.UseWaterwalk = false;
}
return false;
}