I'm looking at the properties of Bane weapon ability these days.
Looking at the ItemPropertyInfo.cs file, 'useStarndardMax' and 'useStandardMax' are being used.
Maybe one of these two was a typing error?
Looking at the ItemPropertyInfo.cs file, 'useStarndardMax' and 'useStandardMax' are being used.
Maybe one of these two was a typing error?
Code:
public bool UseStandardMax { get; set; }
public PropInfo(int itemRef, int sMax, int lMax)
: this((ItemType)itemRef, -1, sMax, lMax, null, false)
{
}
public PropInfo(int itemRef, int sMax, int lMax, bool useStarndardMax)
: this((ItemType)itemRef, -1, sMax, lMax, null, useStarndardMax)
{
}
public PropInfo(int itemRef, int scale, int sMax, int lMax)
: this((ItemType)itemRef, scale, sMax, lMax, null, false)
{
}
public PropInfo(int itemRef, int scale, int sMax, int lMax, bool useStarndardMax)
: this((ItemType)itemRef, scale, sMax, lMax, null, useStarndardMax)
{
}
public PropInfo(int itemRef, int sMax, int lMax, int[] powerfulRange)
: this((ItemType)itemRef, -1, sMax, lMax, powerfulRange, false)
{
}
public PropInfo(int itemRef, int sMax, int lMax, int[] powerfulRange, bool useStandardMax)
: this((ItemType)itemRef, -1, sMax, lMax, powerfulRange, useStandardMax)
{
}
public PropInfo(int itemRef, int scale, int sMax, int lMax, int[] powerfulRange)
: this((ItemType)itemRef, scale, sMax, lMax, powerfulRange, false)
{
}
public PropInfo(int itemRef, int scale, int sMax, int lMax, int[] powerfulRange, bool useStandardMax)
: this((ItemType)itemRef, scale, sMax, lMax, powerfulRange, useStandardMax)
{
}
public PropInfo(ItemType type, int scale, int sMax, int lMax, int[] powerfulRange, bool useStandardMax)
{
ItemType = type;
Scale = scale;
StandardMax = sMax;
LootMax = lMax;
PowerfulLootRange = powerfulRange;
UseStandardMax = useStandardMax;
}
}
Post automatically merged: