I can't seem to get this to work on an item.
The only references to Mana Regeneration in the files that I can find are:
UnitStat_ManaRegen (Overland)
UnitStat_TacticalManaRegen (Tactical)
A_CoreManaRegeneration Seems to be faction default mana regen
A_ManaRegeneration seems to be racial default mana regen
Especially since with the Tower of Ereog, you have code like this
Code: xml
- <GameModifier>
- <ModType>Player</ModType>
- <Attribute>AbilityBonus</Attribute>
- <StrVal>A_ManaRegeneration</StrVal>
- <Value>2</Value>
- <Provides>+2 Mana Regeneration</Provides>
- </GameModifier>
Which supposedly modifies the whole faction/race
This seems like the right one,
Code: xml
- <UnitStatType InternalName="UnitStat_ManaRegen">
- <DisplayName>Mana Regeneration</DisplayName>
- <DisplayNameShort>MGEN</DisplayNameShort>
- <Description>Unit regenerates this amount of mana per turn.</Description>
- <Icon>ManaRegen_Stat_Icon.png</Icon>
- <Hidden>1</Hidden>
- <AffectPerLevelUpPoint>0.0</AffectPerLevelUpPoint>
- </UnitStatType>
So something like this should work.
Code: xml
-
- <GameModifier>
- <ModType>Unit</ModType>
- <Attribute>AdjustUnitStat</Attribute>
- <StrVal>UnitStat_ManaRegen</StrVal>
- <Value>5.00</Value>
- </GameModifier>
But it doesn't.
Suggestions or ideas?