[0.914][also 0.950] Heart of Morian XML error

Heart of Morian trophy says it gives +5 Hitpoints to units trained in that city. This appears not to function.

 

            <GameModifier>
                <ModType>City</ModType>
                <Attribute>AdjustUnitStat</Attribute>
                <StrVal>UnitStat_HitPoints</StrVal>
                <Value>5</Value>
            </GameModifier>
End of quote

ought to be

            <GameModifier>
             <ModType>CityTrainingBonus</ModType>
            <Attribute>TrainingBonus_ApplyUnitModifier_Add</Attribute>
                <StrVal>UnitStat_HitPoints</StrVal>
                <Value>5</Value>
            </GameModifier>
End of quote

 edit: Note that I saw this in a modded game. Wink.

918 views 2 replies
Reply #1 Top

Issue still present in 0.950

Reply #2 Top

Thanks Heavenfall (bonus points for supplying the bug and the fix!), I'll get it fixed.  But it's not in time for 0.951.