Hello there!
I'm currently trying to add a spell to the game which adds points to all attributes you can see if you double-click the unit.
I added the following to the "CoreSpells" XML:
<SpellDef InternalName="Hatred">
<DisplayName>Hass</DisplayName>
<Description>Verbessert alle Werte der Zieleinheit permanent. Kann mehrere Male auf den selben Held gezaubert werden.</Description>
<Image>S_BloodRage_Painting.png</Image>
<IconFG>S_DestinysGift_Icon.png</IconFG>
<SpellBookSortCategory>Unit</SpellBookSortCategory>
<SpellBookSortSubCategory>Other</SpellBookSortSubCategory>
<SpellType>Strategic</SpellType>
<SpellClass>Defensive</SpellClass>
<SpellSubClass>Other</SpellSubClass>
<SpellTargetType>FriendlyChampionOrSov</SpellTargetType>
<CasterMustBeSov>1</CasterMustBeSov>
<Prereq>
<Type>AbilityBonusOption</Type>
<Attribute>Earth5</Attribute>
</Prereq>
<Prereq>
<Type>AbilityBonusOption</Type>
<Attribute>Fire5</Attribute>
</Prereq>
<Prereq>
<Type>AbilityBonusOption</Type>
<Attribute>Water5</Attribute>
</Prereq>
<Prereq>
<Type>AbilityBonusOption</Type>
<Attribute>Wind5</Attribute>
</Prereq>
<SpellResourceCost>
<Resource>Mana</Resource>
<Amount>15</Amount>
</SpellResourceCost>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_HitPoints</StrVal>
<DisplayName>+10 Trefferpunkte</DisplayName>
<Value>10</Value>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_Moves</StrVal>
<DisplayName>+1 Bewegung</DisplayName>
<Value>1</Value>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_ResistCold</StrVal>
<DisplayName>+2 Kälteresistenz</DisplayName>
<Value>2</Value>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_ResistLightning</StrVal>
<DisplayName>+2 Blitzresistenz</DisplayName>
<Value>2</Value>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_ResistPoison</StrVal>
<DisplayName>+2 Giftresistenz</DisplayName>
<Value>2</Value>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_ResistSpell</StrVal>
<DisplayName>+2 Zauberresistenz</DisplayName>
<Value>2</Value>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_Dodge</StrVal>
<DisplayName>+2 Ausweichen</DisplayName>
<Value>2</Value>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_ResistFire</StrVal>
<DisplayName>+2 Feuerresistenz</DisplayName>
<Value>2</Value>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_Attack_Boost</StrVal>
<DisplayName>+2 Angriff</DisplayName>
<Value>2</Value>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_Defense_Boost</StrVal>
<DisplayName>+2 Defense</DisplayName>
<Value>2</Value>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_Accuracy</StrVal>
<DisplayName>+2 Genauigkeit</DisplayName>
<Value>2</Value>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_ChanceToCrit</StrVal>
<DisplayName>+2 Kritische Trefferrate</DisplayName>
<Value>2</Value>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_CombatSpeed</StrVal>
<DisplayName>+2 Initiative</DisplayName>
<Value>2</Value>
</GameModifier>
<AIData AIPersonality="AI_General">
<AIPriority>15</AIPriority>
</AIData>
<HitSoundFX>Spell_BloodRage_01</HitSoundFX>
<SpellDefEffect>
<EffectName>S_BloodRage_Particle</EffectName>
<LocalPosition>0,0,0</LocalPosition>
<EffectScale>.35</EffectScale>
<EffectDelay>0</EffectDelay>
<SnapToTerrain>1</SnapToTerrain>
</SpellDefEffect>
</SpellDef>
It is currently incomplete and doesn't work, so I wanted to ask how to fix it and how to add the missing stats (or how the are called).
Greetings
VB99