Beispiel #1
0
        public override async Task <bool> ExecuteRotation(ExGatherTag tag)
        {
            if (Core.Player.CurrentGP < 400 || tag.GatherItemIsFallback)
            {
                return(true);
            }

            await Wait();

            var ward = WardSkills.FirstOrDefault(w => ActionManager.CanCast(w, Core.Player));

            if (ward > 0)
            {
                ActionManager.DoAction(ward, Core.Player);
                await IncreaseChance(tag);
            }

            return(true);
        }
Beispiel #2
0
 internal bool CanDoAbility(Abilities ability)
 {
     return(ActionManager.CanCast((uint)ability, ExProfileBehavior.Me));
 }