Need some help.... grrr with tying mana regen to your intelligence score.

Grrrr I have been trying all afternoon to get this dumb thing working. Can anyone figure out what Im doing wrong?

<AbilityBonus InternalName="Sovereign_ManaRegen">
  <AbilityBonusType>Champion_Talent</AbilityBonusType>

   <AbilityBonusOption InternalName = "Sovereign_ManaRegen_Magically_Gifted">
   <DisplayName>Magically Gifted</DisplayName>
   <Description>Magic infuses the Sovereign allowing him to regenerate Mana quicker.</Description>
         <Icon>Talent_Brilliant.png</Icon>
   <Cost>10</Cost>
  <GameModifier>
   <Target>Player</Target>
   <ModType>Player</ModType>
   <Attribute>AdjustUnitStat</Attribute>
   <StrVal>UnitStat_ManaRegen</StrVal>
   <Calculate InternalName="Value" ValueOwner="PlayerSovereign">
    <Expression><![CDATA[0.25*[UnitStat_Intelligence]]]></Expression>
   </Calculate>
  </GameModifier>
        </GameModifier>
  </AbilityBonusOption>
  </AbilityBonus>

I have tried changing the modtype to user instead of player, and changed the valueowner from playersovereign, to player, to unit etc.. and nothing seems to work.

1,347 views 0 replies