Example #1
0
 public override void activateR()
 {
     if (canAttack)
     {
         CooldownR = false;
         canMove   = false;
         RindRot   = RIndicator.transform.rotation;
         IndR.StartCooldown(CDR, this, 4);
         forceStopMoving();
         Anim.SetTrigger("R");
         Anim.SetBool("isAttacking", true);
         Anim.SetBool("isIdle", false);
         canAttack = false;
     }
 }
Example #2
0
 public override void activateR()
 {
     if (canAttack)
     {
         CooldownR = false;
         canAttack = false;
         RindRot   = RIndicator.transform.rotation;
         graphics.transform.rotation = RIndicator.transform.rotation;
         IndR.StartCooldown(CDR, this, 4);
         Anim.SetBool("Ulting", true);
         if (itemsHad[6])
         {
             StartCoroutine(hexagon());
         }
         rhitbox.rotation = RindRot;
         rhitbox.Damage   = RDamage + (int)(AbilityPower * 0.3);
         Invoke("endR", 7);
     }
 }
Example #3
0
 public override void activateR()
 {
     if (canAttack)
     {
         CooldownR = false;
         IndR.StartCooldown(CDR, this, 4);
         forceStopMoving();
         isSwimming = !isSwimming;
         StartCoroutine(RLoop());
         RHurtbox.Damage = RDamage + (int)(AbilityPower * 0.1);
         foreach (GameObject kentMesh in meshes)
         {
             kentMesh.SetActive(!kentMesh.activeInHierarchy);
         }
         if (itemsHad[6])
         {
             StartCoroutine(hexagon());
         }
     }
 }
Example #4
0
 public void monicaDied()
 {
     CooldownR = false;
     IndR.StartCooldown(CDR, this, 4);
     monicaAlive = false;
 }