void ResetBoolAnimation(RageMode rage)
 {
     if (animate.GetBool("Moving"))
     {
         animate.SetBool("Moving", false);
     }
 }
 public void ActivateRageMode(RageMode rage)
 {
     playerStats.rageActive = true;
     currentRageDuration    = playerStats.rageDuration;
     rageMeter = 0;
     AddBonusEffects();
     playerStats.PlayerActivatedRage();
 }
    public override bool ActivateAbility(GameObject target = null)
    {
        RageMode buff = Instantiate(new GameObject()).AddComponent <RageMode>();

        buff.SetDuration(duration);
        buff.SetParameters(minimum_hp, MinAttackSpeedReduction / 100.0f, MaxAttackSpeedReduction / 100.0f, MoveSpeedIncrease / 100.0f);
        buff.SetOwner(parent_unit);
        remaining_cooldown = cooldown;
        return(true);
    }
    void PlayRageCutscene(RageMode rage)
    {
        EnablePlayerControls(false);
        PauseGame();

        currentRageMode  = rage;
        videoPlayer.clip = rage.rageClip;

        imageFader.FadeIn();
    }
 public AimBot()
     : base((int)(1000f / 60f))
 {
     lowestHP              = new LowestHP();
     nearestToCrosshair    = new NearestToCrosshair();
     nearestToPlayer       = new NearestToPlayer();
     rageMode              = new RageMode();
     currentImplementation = nearestToCrosshair;
     lastTarget            = null;
     lastTick              = 0L;
     lastPoint             = Vector2.Zero;
 }
 void RageCutsceneEnded(RageMode rage)
 {
     rage.PlayerCutsceneEnded();
 }