In terms of combat roles, the ranger excels in two important areas: direct damage output, and group support.
For damage output, the ranger uses a fair amount of direct damage skills that can be further augmented by plenty of Condition based attacks. Your choice of focusing on melee or ranged combat will largely help decide which
Attributes will be the most vital for your overall build. For example, the necro benefits most from increasing Condition Damage, while the mesmer tends to focus a bit more on increasing the Power attribute. For the ranger, the choice isn't quite so cut and dried.
Both
greatsword and longbow attacks tend to focus on direct damage, or conditions that hinder rather than damage foes. As such, builds focused on these two weapons can greatly benefit from increasing
Precision for a higher crit chance, and Critical Damage.
On the flip side, the
sword and shortbow main-hand weapons rely far more on
condition damage to wear enemies down over time, and can greatly benefit from increasing Condition Damage, especially if you utilize traps for your utility skills to deal even more damage through conditions.
www.guildwars2hub.com/guides/professions/ranger