29 if (locale < itemLocale->Name.size() && !itemLocale->Name[locale].empty())
30 return itemLocale->Name[locale];
77 return temp * 500.f /
Delay;
117 return std::max<float>(0.f, itemLevel);
133 0,
SKILL_CLOTH,
SKILL_LEATHER,
SKILL_MAIL,
SKILL_PLATE_MAIL, 0,
SKILL_SHIELD, 0, 0, 0, 0
165 totalAP +=
ItemStat[i].ItemStatValue;
173 totalAP += effect.CalcValue();
189 response.
Allow =
true;
295 return response.
Move();
@ ITEM_SPELLTRIGGER_ON_EQUIP
#define MAX_ITEM_SUBCLASS_ARMOR
#define MAX_ITEM_PROTO_SOCKETS
#define MAX_ITEM_PROTO_DAMAGES
#define MAX_ITEM_PROTO_SPELLS
#define MAX_ITEM_SUBCLASS_WEAPON
@ SPELL_AURA_MOD_ATTACK_POWER
static std::string_view GetLocaleString(std::vector< std::string > const &data, LocaleConstant locale)
WorldPacket const * Write() override
std::string const & GetDefaultLocaleName() const
std::array< uint32, MAX_ITEM_PROTO_FLAGS > Flags
std::array< ItemEffect, MAX_ITEM_PROTO_SPELLS > Effects
bool CanChangeEquipStateInCombat() const
uint32 GetMaxStackSize() const
float ArmorDamageModifier
std::array< _Socket, MAX_ITEM_PROTO_SOCKETS > Socket
WorldPacket BuildQueryData(LocaleConstant loc) const
bool HasSignature() const
float GetItemLevelIncludingQuality() const
uint32 RequiredDisenchantSkill
std::string const & GetName(LocaleConstant locale) const
uint32 RequiredReputationRank
uint32 RequiredReputationFaction
bool HasFlag(ItemFlags flag) const
void InitializeQueryData()
uint32 ScalingStatDistribution
::InventoryType GetInventoryType() const
std::array< WorldPacket, TOTAL_LOCALES > QueryData
std::array< _ItemStat, MAX_ITEM_PROTO_STATS > ItemStat
int32 SoundOverrideSubclass
int32 getFeralBonus(int32 extraDPS=0) const
std::array< _Damage, MAX_ITEM_PROTO_DAMAGES > Damage
int32 SpellCategoryCooldown
ItemSpellData Spells[MAX_ITEM_PROTO_SPELLS]
int32 SoundOverrideSubclass
ItemStatData ItemStat[MAX_ITEM_PROTO_STATS]
uint32 Resistance[MAX_SPELL_SCHOOL]
uint32 RequiredDisenchantSkill
uint32 RequiredReputationRank
uint32 RequiredReputationFaction
std::array< uint32, MAX_ITEM_PROTO_FLAGS > Flags
float ArmorDamageModifier
std::string_view Description
ItemSocketData Socket[MAX_ITEM_PROTO_SOCKETS]
uint32 ScalingStatDistribution
ItemDamageData Damage[MAX_ITEM_PROTO_DAMAGES]