mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 17:49:10 +00:00
chore(Core/DBC): define unused unknown dbc fields (#19262)
* chore(Core/DBC): define unused unknown dbc fields * Name unused unknown dbc fields using WDBX and wowdev.wiki * rename SpellShapeshiftEntry to SpellShapeshiftFormEntry to properly match the DBC used * rename sSpellShapeshiftStore to sSpellShapeshiftFormStore to properly match the DBC used * Comment out unused field for GlyphPropertiesEntry * Comment out unused field for MapEntry * forgot one * SpellShapeshiftfmt to SpellShapeshiftFormfmt * SpellShapeshiftFormEntryfmt
This commit is contained in:
@@ -15173,7 +15173,7 @@ uint32 Unit::GetCreatureType() const
|
||||
if (GetTypeId() == TYPEID_PLAYER)
|
||||
{
|
||||
ShapeshiftForm form = GetShapeshiftForm();
|
||||
SpellShapeshiftEntry const* ssEntry = sSpellShapeshiftStore.LookupEntry(form);
|
||||
SpellShapeshiftFormEntry const* ssEntry = sSpellShapeshiftFormStore.LookupEntry(form);
|
||||
if (ssEntry && ssEntry->creatureType > 0)
|
||||
return ssEntry->creatureType;
|
||||
else
|
||||
@@ -19646,7 +19646,7 @@ uint32 Unit::GetModelForForm(ShapeshiftForm form, uint32 spellId) const
|
||||
}
|
||||
|
||||
uint32 modelid = 0;
|
||||
SpellShapeshiftEntry const* formEntry = sSpellShapeshiftStore.LookupEntry(form);
|
||||
SpellShapeshiftFormEntry const* formEntry = sSpellShapeshiftFormStore.LookupEntry(form);
|
||||
if (formEntry && formEntry->modelID_A)
|
||||
{
|
||||
// Take the alliance modelid as default
|
||||
@@ -21582,7 +21582,7 @@ bool Unit::IsInDisallowedMountForm() const
|
||||
|
||||
if (ShapeshiftForm form = GetShapeshiftForm())
|
||||
{
|
||||
SpellShapeshiftEntry const* shapeshift = sSpellShapeshiftStore.LookupEntry(form);
|
||||
SpellShapeshiftFormEntry const* shapeshift = sSpellShapeshiftFormStore.LookupEntry(form);
|
||||
if (!shapeshift)
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user