Esempio n. 1
0
        public bool CanWeave(int maxWeaveCount = 2)
        {
            if (_gcd.IsReady(Globals.AnimationLockMs + BaseSettings.Instance.UserLatencyOffset))
            {
                return(false);
            }

            maxWeaveCount -= Casting.SpellCastHistory.FindIndex(x => !_ogcds.Contains(x.Spell));

            return(maxWeaveCount > 0);
        }
 public static bool IsKnownAndReady(this SpellData spell, int remainingTimeInMs = 0)
 {
     return(spell.IsKnown() && spell.IsReady(remainingTimeInMs));
 }