Table of Contents

Class ItemModifier

Namespace
TaleWorlds.Core
Assembly
TaleWorlds.Core.dll
public sealed class ItemModifier : MBObjectBase
Inheritance
ItemModifier
Inherited Members

Constructors

ItemModifier()

public ItemModifier()

Properties

Armor

public int Armor { get; }

Property Value

int

ChargeDamage

public float ChargeDamage { get; }

Property Value

float

Damage

public int Damage { get; }

Property Value

int

HitPoints

public short HitPoints { get; }

Property Value

short

ItemQuality

public ItemQuality ItemQuality { get; }

Property Value

ItemQuality

LootDropScore

public float LootDropScore { get; }

Property Value

float

Maneuver

public float Maneuver { get; }

Property Value

float

MissileSpeed

public int MissileSpeed { get; }

Property Value

int

MountHitPoints

public float MountHitPoints { get; }

Property Value

float

MountSpeed

public float MountSpeed { get; }

Property Value

float

Name

[CachedData]
public TextObject Name { get; }

Property Value

TextObject

PriceMultiplier

public float PriceMultiplier { get; }

Property Value

float

ProductionDropScore

public float ProductionDropScore { get; }

Property Value

float

Speed

public int Speed { get; }

Property Value

int

StackCount

public short StackCount { get; }

Property Value

short

Methods

AutoGeneratedInstanceCollectObjects(List<object>)

protected override void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)

Parameters

collectedObjects List<object>

Deserialize(MBObjectManager, XmlNode)

public override void Deserialize(MBObjectManager objectManager, XmlNode node)

Parameters

objectManager MBObjectManager
node XmlNode

Equals(ItemModifier)

public bool Equals(ItemModifier other)

Parameters

other ItemModifier

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ModifyArmor(int)

public int ModifyArmor(int armorValue)

Parameters

armorValue int

Returns

int

ModifyDamage(int)

public int ModifyDamage(int baseDamage)

Parameters

baseDamage int

Returns

int

ModifyHitPoints(short)

public short ModifyHitPoints(short baseHitPoints)

Parameters

baseHitPoints short

Returns

short

ModifyMissileSpeed(int)

public int ModifyMissileSpeed(int baseSpeed)

Parameters

baseSpeed int

Returns

int

ModifyMountCharge(int)

public int ModifyMountCharge(int baseCharge)

Parameters

baseCharge int

Returns

int

ModifyMountHitPoints(int)

public int ModifyMountHitPoints(int baseCharge)

Parameters

baseCharge int

Returns

int

ModifyMountManeuver(int)

public int ModifyMountManeuver(int baseManeuver)

Parameters

baseManeuver int

Returns

int

ModifyMountSpeed(int)

public int ModifyMountSpeed(int baseSpeed)

Parameters

baseSpeed int

Returns

int

ModifySpeed(int)

public int ModifySpeed(int baseSpeed)

Parameters

baseSpeed int

Returns

int

ModifyStackCount(short)

public short ModifyStackCount(short baseStackCount)

Parameters

baseStackCount short

Returns

short

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).