Weapon-triangle

The weapon-triangle is the rock–paper–scissors-like mechanic in which red weapons have an advantage against green, but a disadvantage against blue, and so on.

Mechanics
A unit having the weapon-triangle advantage in a specific combat receives +20% to its attack value in the damage calculation. Being at a triangle advantage against an enemy means that the enemy is at a disadvantage, and will suffer -20% to its damage output, making the weapon triangle a significant factor in combat.

Affinity
Gem weapons such as, , and enhance the effect of the weapon triangle advantage to grant the advantage +40%, and the disadvantage -40%. This is effectively a built-in, which enables units wielding such weapons to more effectively counter a specific unit color at the cost of becoming much weaker against another.

enhances the effect of the weapon triangle advantage by an amount depending on the level of the skill, making the advantage either +30%, +35%, or +40% and the disadvantage either -30%, -35%, or -40%. Triangle Adept does not affect battles in which there is no triangle advantage, but it does affect non-standard triangle advantages, such as those granted by Raven tomes.

These skills grant affinity, and are thus affected by skills such as. Cancel Affinity disables any advantage modifiers (such as those from gem weapons/triangle adept passive or the Raven Tomes only if said tomes are used along with Triangle Adept.) on the unit with the skill equipped, but also supplies certain protection against weapon triangle advantage modifying skills equipped on the enemy unit.

New advantages
Raven tomes such as, , and modify the weapon triangle for their wielder, so that they gain the additional weapon triangle advantage over  colorless weapon users. This means that a wielder of, for example, has +20% against both red and colorless units, and -20% against green units.

These skills do not grant affinity to an existing weapon-triangle advantage, but rather a new advantage entirely, and are not affected by.