Isn't recasting/giving "exp per turn"....
<SpellDef InternalName="MysticTraining">
<DisplayName>Mystic Trainer</DisplayName>
<Description>Units in the Sovereign's Army receive 10 experience points per turn.</Description>
<Image>S_TirelessMarch_Painting.png</Image>
<IconFG>S_TirelessMarch_Icon.png</IconFG>
<CanStack>0</CanStack>
<SpellBookSortCategory>Unit</SpellBookSortCategory>
<SpellBookSortSubCategory>UnitEnchantment</SpellBookSortSubCategory>
<SpellType>Strategic</SpellType>
<SpellClass>Defensive</SpellClass>
<SpellSubClass>Buff</SpellSubClass>
<SpellTargetType>Self</SpellTargetType>
<AutoUnlock>1</AutoUnlock>
<SpellResourceCost>
<Resource>Mana</Resource>
<Amount>10</Amount>
</SpellResourceCost>
<SpellResourceCost>
<Resource>Mana</Resource>
<PerTurn>5</PerTurn>
<Amount>1</Amount>
</SpellResourceCost>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>GiveExperience</Attribute>
<Value>5</Value>
<PerTurn>1</PerTurn>
</GameModifier>
<AIData AIPersonality="AI_General">
<AIPriority>5</AIPriority>
</AIData>
<HitSoundFX>Spell_TirelessMarch_01</HitSoundFX>
<SpellCastEffectName>T_Erosion_Particle</SpellCastEffectName>
<SpellCastEffectScale>1</SpellCastEffectScale>
<SpellCastProjectile>1</SpellCastProjectile>
<SpellCastProjectileSpeed>700</SpellCastProjectileSpeed>
<SpellDefEffect>
<EffectName>T_ErosionImpact_Particle</EffectName>
<LocalPosition>0,0,0</LocalPosition>
<EffectScale>0.5</EffectScale>
<EffectDelay>0</EffectDelay>
<SnapToTerrain>1</SnapToTerrain>
</SpellDefEffect>
</SpellDef>
When this failed, I tried using Trainer. I tried <ModType> Self, Army, AllFriendlyUnits and Player. I also tried <Attribute> A_UnitStat_Experience, UnitStat_Experience, Army_Experience.
<SpellDef InternalName="MysticTraining">
<DisplayName>Mystic Trainer</DisplayName>
<Description>Units in the Sovereign's Army receive 10 experience points per turn.</Description>
<Image>S_TirelessMarch_Painting.png</Image>
<IconFG>S_TirelessMarch_Icon.png</IconFG>
<CanStack>0</CanStack>
<SpellBookSortCategory>Unit</SpellBookSortCategory>
<SpellBookSortSubCategory>UnitEnchantment</SpellBookSortSubCategory>
<SpellType>Strategic</SpellType>
<SpellClass>Defensive</SpellClass>
<SpellSubClass>Buff</SpellSubClass>
<SpellTargetType>Self</SpellTargetType>
<AutoUnlock>1</AutoUnlock>
<SpellResourceCost>
<Resource>Mana</Resource>
<Amount>10</Amount>
</SpellResourceCost>
<SpellResourceCost>
<Resource>Mana</Resource>
<PerTurn>5</PerTurn>
<Amount>1</Amount>
</SpellResourceCost>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustArmyStat</Attribute>
<Value>10</Value>
<PerTurn>1</PerTurn>
</GameModifier>
<AIData AIPersonality="AI_General">
<AIPriority>5</AIPriority>
</AIData>
<HitSoundFX>Spell_TirelessMarch_01</HitSoundFX>
<SpellCastEffectName>T_Erosion_Particle</SpellCastEffectName>
<SpellCastEffectScale>1</SpellCastEffectScale>
<SpellCastProjectile>1</SpellCastProjectile>
<SpellCastProjectileSpeed>700</SpellCastProjectileSpeed>
<SpellDefEffect>
<EffectName>T_ErosionImpact_Particle</EffectName>
<LocalPosition>0,0,0</LocalPosition>
<EffectScale>0.5</EffectScale>
<EffectDelay>0</EffectDelay>
<SnapToTerrain>1</SnapToTerrain>
</SpellDefEffect>
</SpellDef>
Once again, it failed.
My goal was to have this faction have 6 Unique Spells the Sovereign may enchant herself with, of which only one can be applied at a time. Once each spell complete, I was going to have each "spell effect" eliminate all other "spell effects" of these 6 unique spells.
Army Experience (Per Turn).
Army Accuracy %
Army Attack %
Army Defense %
No Wages
Hit Point %
Likewise, the faction is intended to receive -20% Experience from battles, however gain exp every turn (not just when stationed, as by a building). The second idea if that is a no-go is to have a building with an ability that lets you remove a unit, and receive it back with +1 level. (or delete the unit, and produce a clone of the unit with +1 level). The building will be a 3 stage ladder that starts with 20 turns of training, then 15 then 10.