Method | Description | |
---|---|---|
CheckAndUpdateWeaponDelta ( this itemAttr ) : ZTn.BNet.D3.Items.ItemAttributes |
Check a specific case of "invalid" weapon damage values: If bonus min > delta, then delta should be replaced by bonus min + 1
|
|
CheckAndUpdateWeaponDelta ( this itemAttr, String resist ) : ZTn.BNet.D3.Items.ItemAttributes |
Check a specific case of "invalid" Weapon damage values (based on a specific resist): If bonus min > delta, then delta should be replaced by bonus min + 1
|
|
GetArmor ( this itemAttr ) : ZTn.BNet.D3.Items.ItemValueRange |
Computes armor brought by an item.
|
|
GetAttributeByName ( this itemAttributes, String fieldName ) : ZTn.BNet.D3.Items.ItemValueRange |
Returns the value of an attribute of an item given the attribute's name
|
|
GetBaseWeaponDamageMax ( this weaponAttr, String resist ) : ZTn.BNet.D3.Items.ItemValueRange |
Computes max damage of the weapon without taking account of "+% weapon damage".
|
|
GetBaseWeaponDamageMin ( this itemAttr, String resist ) : ZTn.BNet.D3.Items.ItemValueRange |
Computes min damage of the weapon without taking account of "+% weapon damage".
|
|
GetRawAverageBonusDamage ( this itemAttr ) : ZTn.BNet.D3.Items.ItemValueRange |
Computes damages other than weapon damages (on rings, amulets, ...).
|
|
GetRawAverageWeaponDamage ( this itemAttr ) : ZTn.BNet.D3.Items.ItemValueRange |
Computes weapon only damages
|
|
GetRawBonusDamageMax ( this itemAttr ) : ZTn.BNet.D3.Items.ItemValueRange |
Computes max damage of the item.
|
|
GetRawBonusDamageMax ( this itemAttr, String resist, bool useDamageTypePercentBonus = true ) : ZTn.BNet.D3.Items.ItemValueRange |
Computes max damage of the item (based on a specific resist).
|
|
GetRawBonusDamageMin ( this itemAttr ) : ZTn.BNet.D3.Items.ItemValueRange |
Computes min damage of the item.
|
|
GetRawBonusDamageMin ( this itemAttr, String resist, bool useDamageTypePercentBonus = true ) : ZTn.BNet.D3.Items.ItemValueRange |
Computes min damage of the item (based on a specific resist).
|
|
GetRawWeaponAttackPerSecond ( this itemAttr ) : ZTn.BNet.D3.Items.ItemValueRange |
Computes weapon attack speed (attack per second).
|
|
GetRawWeaponDamageMax ( this weaponAttr ) : ZTn.BNet.D3.Items.ItemValueRange |
Computes max damage of the weapon.
|
|
GetRawWeaponDamageMax ( this weaponAttr, String resist, bool useDamageTypePercentBonus = true ) : ZTn.BNet.D3.Items.ItemValueRange |
Computes max damage of the weapon (based on a specific resist).
|
|
GetRawWeaponDamageMin ( this weaponAttr ) : ZTn.BNet.D3.Items.ItemValueRange |
Computes min damage of the weapon.
|
|
GetRawWeaponDamageMin ( this weaponAttr, String resist, bool useDamageTypePercentBonus = true ) : ZTn.BNet.D3.Items.ItemValueRange |
Computes min damage of the weapon (based on a specific resist).
|
|
GetRawWeaponDps ( this itemAttr ) : ZTn.BNet.D3.Items.ItemValueRange |
Computes raw weapon dps ie before all multipliers ( = average damage * attack per second )
|
|
GetResistance ( this itemAttr, String resist ) : ZTn.BNet.D3.Items.ItemValueRange |
Returns the resistance value given by the gems for the given resist
|
|
GetSimplified ( this itemAttr ) : ZTn.BNet.D3.Items.ItemAttributes |
Returns a new ItemAttributes by aggregating some raw attributes of itemAttr (for easier editing for example).
|
|
GetWeaponAttackPerSecond ( this weaponAttr, ZTn.BNet.D3.Items.ItemValueRange increaseFromOtherItems ) : ZTn.BNet.D3.Items.ItemValueRange |
Computes weapon attack speed.
|
|
IsAncient ( this itemAttr ) : bool |
Informs if the item is ancient based on its attributes.
|
|
IsJewel ( this itemAttr ) : bool |
Informs if the item is a legendary jewel based on its attributes.
|
|
IsWeapon ( this itemAttr ) : bool |
Informs if the item is a weapon based on its attributes
|
|
SetAttributeByName ( this itemAttributes, string fieldName, ZTn.BNet.D3.Items.ItemValueRange value ) : ZTn.BNet.D3.Items.ItemAttributes |
Sets the value of an attribute of an ItemAttributes given the attribute's name
|
public static CheckAndUpdateWeaponDelta ( this itemAttr ) : ZTn.BNet.D3.Items.ItemAttributes | ||
itemAttr | this | |
return | ZTn.BNet.D3.Items.ItemAttributes |
public static CheckAndUpdateWeaponDelta ( this itemAttr, String resist ) : ZTn.BNet.D3.Items.ItemAttributes | ||
itemAttr | this | |
resist | String | |
return | ZTn.BNet.D3.Items.ItemAttributes |
public static GetArmor ( this itemAttr ) : ZTn.BNet.D3.Items.ItemValueRange | ||
itemAttr | this | Attributes of an item. |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetAttributeByName ( this itemAttributes, String fieldName ) : ZTn.BNet.D3.Items.ItemValueRange | ||
itemAttributes | this | Source attributes |
fieldName | String | Name of the attribute to retrieve |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetBaseWeaponDamageMax ( this weaponAttr, String resist ) : ZTn.BNet.D3.Items.ItemValueRange | ||
weaponAttr | this | Attributes of a weapon. |
resist | String | |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetBaseWeaponDamageMin ( this itemAttr, String resist ) : ZTn.BNet.D3.Items.ItemValueRange | ||
itemAttr | this | Attributes of a weapon. |
resist | String | |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetRawAverageBonusDamage ( this itemAttr ) : ZTn.BNet.D3.Items.ItemValueRange | ||
itemAttr | this | Attributes of an item. |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetRawAverageWeaponDamage ( this itemAttr ) : ZTn.BNet.D3.Items.ItemValueRange | ||
itemAttr | this | |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetRawBonusDamageMax ( this itemAttr ) : ZTn.BNet.D3.Items.ItemValueRange | ||
itemAttr | this | Attributes of an item. |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetRawBonusDamageMax ( this itemAttr, String resist, bool useDamageTypePercentBonus = true ) : ZTn.BNet.D3.Items.ItemValueRange | ||
itemAttr | this | Attributes of an item. |
resist | String | Name of the resist. |
useDamageTypePercentBonus | bool | |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetRawBonusDamageMin ( this itemAttr ) : ZTn.BNet.D3.Items.ItemValueRange | ||
itemAttr | this | Attributes of an item. |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetRawBonusDamageMin ( this itemAttr, String resist, bool useDamageTypePercentBonus = true ) : ZTn.BNet.D3.Items.ItemValueRange | ||
itemAttr | this | Attributes of an item. |
resist | String | Name of the resist. |
useDamageTypePercentBonus | bool | |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetRawWeaponAttackPerSecond ( this itemAttr ) : ZTn.BNet.D3.Items.ItemValueRange | ||
itemAttr | this | |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetRawWeaponDamageMax ( this weaponAttr ) : ZTn.BNet.D3.Items.ItemValueRange | ||
weaponAttr | this | Attributes of a weapon. |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetRawWeaponDamageMax ( this weaponAttr, String resist, bool useDamageTypePercentBonus = true ) : ZTn.BNet.D3.Items.ItemValueRange | ||
weaponAttr | this | Attributes of a weapon. |
resist | String | Name of the resist. |
useDamageTypePercentBonus | bool | |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetRawWeaponDamageMin ( this weaponAttr ) : ZTn.BNet.D3.Items.ItemValueRange | ||
weaponAttr | this | Attributes of a weapon. |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetRawWeaponDamageMin ( this weaponAttr, String resist, bool useDamageTypePercentBonus = true ) : ZTn.BNet.D3.Items.ItemValueRange | ||
weaponAttr | this | Attributes of a weapon. |
resist | String | Name of the resist. |
useDamageTypePercentBonus | bool | |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetRawWeaponDps ( this itemAttr ) : ZTn.BNet.D3.Items.ItemValueRange | ||
itemAttr | this | |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetResistance ( this itemAttr, String resist ) : ZTn.BNet.D3.Items.ItemValueRange | ||
itemAttr | this | |
resist | String | |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static GetSimplified ( this itemAttr ) : ZTn.BNet.D3.Items.ItemAttributes | ||
itemAttr | this | |
return | ZTn.BNet.D3.Items.ItemAttributes |
public static GetWeaponAttackPerSecond ( this weaponAttr, ZTn.BNet.D3.Items.ItemValueRange increaseFromOtherItems ) : ZTn.BNet.D3.Items.ItemValueRange | ||
weaponAttr | this | Attributes of used weapon. |
increaseFromOtherItems | ZTn.BNet.D3.Items.ItemValueRange | Increase Attack Speed from items other than the weapon. |
return | ZTn.BNet.D3.Items.ItemValueRange |
public static IsAncient ( this itemAttr ) : bool | ||
itemAttr | this | Attributes of the item. |
return | bool |
public static IsJewel ( this itemAttr ) : bool | ||
itemAttr | this | Attributes of the item. |
return | bool |
public static IsWeapon ( this itemAttr ) : bool | ||
itemAttr | this | Attributes of the item. |
return | bool |
public static SetAttributeByName ( this itemAttributes, string fieldName, ZTn.BNet.D3.Items.ItemValueRange value ) : ZTn.BNet.D3.Items.ItemAttributes | ||
itemAttributes | this | Source attributes |
fieldName | string | Name of the attribute to retrieve |
value | ZTn.BNet.D3.Items.ItemValueRange | Value to set |
return | ZTn.BNet.D3.Items.ItemAttributes |