private void SetAbility(Ability newAbility) { currentAbility = newAbility; npcController.SetCurrentAbility(currentAbility); characterCombat.SetAbility(currentAbility); attackRange = currentAbility.GetAbilityRange() == 0 ? 3 : currentAbility.GetAbilityRange(); }