Class Trait
- Namespace
- GuildWars2.Hero.Builds
- Assembly
- GW2SDK.dll
Information about a specialization trait. Traits are passive abilities that modify and enhance skills and provide bonuses to damage and attributes. Some traits add new passive skills which are activated indirectly. For example, the Engineer trait "Grenadier" adds a passive skill "Lesser Grenade Barrage" that is activated when the player uses a heal skill.
public sealed record Trait : IEquatable<Trait>
- Inheritance
-
Trait
- Implements
- Inherited Members
Properties
- Description
The description of the trait as it appears in the tooltip.
- Facts
The list of trait behaviors. For example, if the current trait grants a boon, this list will contain a Buff fact describing the boon. The list type is abstract, the derived types are documented in the Facts namespace.
- IconHref
The URL of the trait icon.
- IconUrl
The URL of the trait icon.
- Id
The trait ID.
- Name
The name of the trait as it appears in the tooltip.
- Order
The display order of the trait in the build template panel.
- Skills
The IDs of the skills which may be cast by this trait.
- Slot
Indicates whether it is a minor trait (always active) or a major trait (only active if the trait is selected).
- SpezializationId
The ID of the specialization this trait belongs to.
- Tier
The trait tier as a value from 1 to 3 (Adept, Master, Grandmaster) or 0 if it is a weapon trait linked to an elite specialization weapon.
- TraitedFacts
Some specialization traits can alter this trait's Facts, modifying their behavior or adding new behaviors. This list contains the overrides that apply when a certain trait is equipped.