Skip to content

Commit 2bd5338

Browse files
fix: equipment dont showing stat info on crafting (AscensionGameDev#2265)
1 parent 06a05c8 commit 2bd5338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Intersect.Client/Interface/Game/DescriptionWindows/ItemDescriptionWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ protected void SetupEquipmentInfo()
329329
for (var i = 0; i < Enum.GetValues<Stat>().Length; i++)
330330
{
331331
// Do we have item properties, if so this is a finished item. Otherwise does this item not have growing stats?
332-
if (statModifiers != default || mItem.StatRanges?.Length == 0)
332+
if (statModifiers != default || mItem.StatRanges?.Length == 0 || (mItem.StatRanges != default && mItem.StatRanges[i].LowRange == 0 && mItem.StatRanges[i].HighRange == 0))
333333
{
334334
var flatStat = mItem.StatsGiven[i];
335335
if (statModifiers != default)

0 commit comments

Comments
 (0)