Abilities can have prerequisites. Those prerequisites could be to exclude other abilities. Blood traits are a perfect example of this.
Code: xml
- </p> <Prereq>
- <Type>RestrictedAbilityBonusOption</Type>
- <Attribute>Defensive</Attribute>
- <Target>Player</Target>
- </Prereq>
You can restrict Quendar from being able to have "Path of the Mage" by adding the below prerequisite.
Code: xml
- <p> <AbilityBonus InternalName="PathOfTheMageAbility">
- <AbilityBonusType>Unit_Level</AbilityBonusType>
- <AbilityBonusOption InternalName="PathOfTheMage">
- <DisplayName>Path of the Mage</DisplayName>
- <Description>-25% the mana cost for tactical spells, +50% spell damage and unlocks traits that improve spellcasting</Description>
- <Icon>Ability_PathOfTheMage_Icon.png</Icon>
- <GameModifier>
- <ModType>Unit</ModType>
- <Attribute>AdjustUnitStat</Attribute>
- <StrVal>UnitStat_TacticalSpellManaCost_Multiplier</StrVal>
- <Value>-0.25</Value>
- <Provides>-25% mana cost for tactical spells</Provides>
- </GameModifier>
- <GameModifier>
- <ModType>Unit</ModType>
- <Attribute>AdjustUnitStat</Attribute>
- <StrVal>UnitStat_SpellDamage</StrVal>
- <Value>0.5</Value>
- <Provides>+50% Spell Damage</Provides>
- </GameModifier>
- <HideWhenUpgraded>0</HideWhenUpgraded>
- <Likelihood>1</Likelihood>
- <RarityDisplay>Rare</RarityDisplay>
- <MinimumLevel>4</MinimumLevel>
- <RequiredLevel>4</RequiredLevel>
- <Type>Spell</Type>
- <Prereq>
- <Type>RestrictedAbilityBonusOption</Type>
- <Attribute>Blood_Quendar</Attribute>
- <Target>Player</Target>
- </Prereq>
- <AIData AIPersonality="AI_General">
- <AIPriority>5</AIPriority>
- </AIData>
- </AbilityBonusOption>
- </AbilityBonus>