public override async Task <bool> MoveFromSpot(ExGatherTag tag) { tag.StatusText = "Moving from " + this; var result = true; if (ReturnToApproachLocation) { result &= await approachLocation.MoveToNoMount(UseMesh, tag.MovementStopCallback); } if (UnstealthAfter && Core.Player.HasAura((int)AbilityAura.Stealth)) { result &= await tag.CastAura(Ability.Stealth); } return(result); }
public override async Task <bool> MoveFromSpot(ExGatherTag tag) { tag.StatusText = "Moving from " + this; var result = true; if (ReturnToApproachLocation) { result &= await approachLocation.MoveToNoMount(UseMesh, tag.MovementStopCallback); } if (UnstealthAfter && Core.Player.HasAura((int)AbilityAura.Stealth)) { result &= await tag.CastAura(Ability.Stealth); } //change the approach location for the next time we go to this node. approachLocation = HotSpots.Shuffle().First(); return(result); }