public void OnUpdate(double diff)
 {
     if (_owningChampion == null)
     {
         return;
     }
     if (_owningSpell == null)
     {
         _owningSpell = _owningChampion.GetSpell(14);
         if (_owningSpell == null)
         {
             return;
         }
     }
     _currentTime += diff;
     if (_currentTime >= (_lastTakenDamage + 5000)) // if damage has not been taken in 5 seconds, and Strut is not active, activate Strut.
     {
         if (!_strutIsActive)
         {
             ApiFunctionManager.LogInfo("Miss Fortune has not been damaged in 5 seconds. Activating Strut.");
             StrutBuff      = _owningChampion.AddBuffGameScript("MFStrut", "MFStrut", _owningSpell, -1, true);
             _strutIsActive = true;
         }
         else
         {
             StrutBuff.UpdateBuff(diff);
         }
     }
 }
        public void OnUpdate(double diff)
        {
            //TODO:Enable this when a way to give speed stacks is found

            /*if (!_frenzyLearned)
             * {
             *  if (_frenzy.Level >= 1)
             *  {
             *      _frenzyLearned = true;
             *  }
             * }
             *
             * if (_frenzyLearned)
             * {
             *  FrenzyBuff = _owningChampion.AddBuffGameScript("EveSpeed", "EveSpeed", _frenzy, -1, true);
             * }*/

            if (_owningChampion == null)
            {
                return;
            }

            if (_owningSpell == null)
            {
                _owningSpell = _owningChampion.GetSpell(14);
                if (_owningSpell == null)
                {
                    return;
                }
            }

            _currentTime += diff;
            if (_currentTime >= (_lastTakenDamage + 6000))
            {
                if (!_invisActive)
                {
                    ApiFunctionManager.LogInfo("Evelynn hasn't been damaged in the last 6 second. Shadow Walk activated.");
                    InvisBuff    = _owningChampion.AddBuffGameScript("EveInvis", "EveInvis", _owningSpell, -1, true);
                    _invisActive = true;
                }
                else
                {
                    InvisBuff.UpdateBuff(diff);
                }
            }
        }