[LH 1.8] [Gremlin] XP & Levels for TrainedUnits & WildCreatures

TrainedUnits & WildCreatures only receive half the Experience and Levels given by Events and Improvements. Descriptions of said Events and Improvement Effects should reflect this or Value should be doubled. Also, Wildland Creatures do not gain Levels given by Events.

 

#1

Quest_Eclipse

All monster player units gain 2 levels

<Treasure>
<GameModifier InternalName="Reward1">
<ModType>Player</ModType>
<Attribute>AllUnitsGainLevel</Attribute>
<StrVal>WildCreatures</StrVal>
<Value>2</Value>
</GameModifier>
</Treasure>

But they actually only gain 1 Level (and Wildland Creatures gain 0). Possibly because non-champions only gain 50% XP. Suggested fix:

<Value>4</Value> and keep the same Event Description (Although might want to specify that Wildland creatures aren't affected).

 

#2

WarCollege / WarriorTemple

<GameModifier>
<ModType>StationedUnitStatBonus</ModType>
<StrVal>UnitStat_Experience</StrVal>
<StrVal2>OnlyTrainedUnits</StrVal2>
<Value>1</Value>
<BonusValue>100</BonusValue>
<Provides>Stationed non-champion units gain 1xp/season</Provides>
</GameModifier> 

When "OnlyTrainedUnits" is used, the value is halved. Probably same issue as above. That being said, the 0.5 is rounded to 1 so it isn't a big problem, except: what happens when you have a Tutelage and other XP Boosts? I don't think the bonuses will produce the desired effect (+100% XP means 0.5 will equal 1 whereas it should equal 2). Suggested fix:

<Value>2</Value> and keep the same Provides.

 

#3

Arena

<GameModifier>
<ModType>StationedUnitStatBonus</ModType>
<StrVal>UnitStat_Experience</StrVal>
<Value>1</Value>
<Operator>25</Operator>
<Provides>Stationed units have a 25% chance of getting 1xp/season</Provides>
<UpgradeComparisonID>5</UpgradeComparisonID>
</GameModifier>

On top of the issue discussed above, <Operator>25</Operator> isn't doing anything (Operators that seems to be doing something: "+" "%" "x"). Suggested fix:

<GameModifier>
<ModType>StationedUnitStatBonus</ModType>
<StrVal>UnitStat_Experience</StrVal>
<StrVal2>OnlyTrainedUnits</StrVal2>
<Value>2</Value>
<Provides>Stationed non-champion units gain 1xp/season)</Provides>
</GameModifier>
<GameModifier>
<ModType>StationedUnitStatBonus</ModType>
<StrVal>UnitStat_Experience</StrVal>
<StrVal2>OnlyChampions</StrVal2>
<Value>1</Value>
<Provides>Stationed champions units gain 1xp/season)</Provides>
</GameModifier>

 

 


 

Both TrainingBonus_LevelUpUnit (e.g. Warrior Temple) & AllTrainedUnitsGainLevel (e.g. Crusade) seem unaffected by this.

 

 

 

_________________________

LH Mods by Primal

XtraDeconstruct

XtraDeconstruct Canons

6,077 views 2 replies
Reply #1 Top

don't forget the Adventurers Guild when discussing the operator 25 bit. That bug has been mentioned before (since about FE beta)

Reply #2 Top

:ninja:

 

Quoting parrottmath, reply 1
don't forget the Adventurers Guild when discussing the operator 25 bit. That bug has been mentioned before (since about FE beta)
End of parrottmath's quote

The Operator=25 is still in the AdventurersGuild XML, but it is inactive and not mentioned (and was inactive and not mentioned at the time this thread was created) in both the Description and Provides, so there is (was) nothing to fix, which is why it was omitted.

 

 

 

_________________________

LH Mods by Primal

XtraDeconstruct

XtraDeconstruct Canons