Skip to content

Missing aim stat in the item summary #1557

@M3r1st

Description

@M3r1st

Function XCGS_Item::GetUISummary_WeaponStats() that's used to populate the stat list in the item summary doesn't include aim stat for any item present in the EquipmentExcludedFromStatBoosts config array.

if (class'UISoldierHeader'.default.EquipmentExcludedFromStatBoosts.Find(m_ItemTemplate.DataName) == INDEX_NONE)
{
	// Aim -------------------------------------------------------------------------
	Item.Label = class'XLocalizedData'.default.AimLabel;
	if (PopulateWeaponStat(GetItemAimModifier(), UpgradeStats.bIsAimModified, UpgradeStats.Aim, Item, true))
		Stats.AddItem(Item);
}

As aim is the only stats that's a subject to this behavior, the most obvious solution would be to remove this condition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions