|
|
|
@ -233,7 +233,7 @@ public class AbilitySystem : NetworkBehaviour
|
|
|
|
|
isAbilityActive = true;
|
|
|
|
|
activeAbility = ability;
|
|
|
|
|
Debug.Log($"Ability {ability.abilityName} activated! Click to use.");
|
|
|
|
|
radiusIndicator.transform.localScale = new Vector3(ability.abilityApplicationRadius,0,ability.abilityApplicationRadius);
|
|
|
|
|
radiusIndicator.transform.localScale = new Vector3(ability.abilityApplicationRadius * 2,0,ability.abilityApplicationRadius * 2);
|
|
|
|
|
radiusIndicator.SetActive(true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -242,7 +242,7 @@ public class AbilitySystem : NetworkBehaviour
|
|
|
|
|
isAbilityActive = false;
|
|
|
|
|
activeAbility = null;
|
|
|
|
|
isWallPlacementStarted = false;
|
|
|
|
|
radiusIndicator.SetActive(true);
|
|
|
|
|
radiusIndicator.SetActive(false);
|
|
|
|
|
Debug.Log("Ability mode deactivated.");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|