mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +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:
@@ -5799,7 +5799,7 @@ SpellCastResult Spell::CheckCast(bool strict)
|
||||
SpellEffectInfo const* effInfo = &m_spellInfo->Effects[effIndex];
|
||||
if (effInfo->ApplyAuraName == SPELL_AURA_MOD_SHAPESHIFT)
|
||||
{
|
||||
SpellShapeshiftEntry const* shapeShiftEntry = sSpellShapeshiftStore.LookupEntry(effInfo->MiscValue);
|
||||
SpellShapeshiftFormEntry const* shapeShiftEntry = sSpellShapeshiftFormStore.LookupEntry(effInfo->MiscValue);
|
||||
if (shapeShiftEntry && (shapeShiftEntry->flags1 & 1) == 0) // unk flag
|
||||
checkMask |= VEHICLE_SEAT_FLAG_UNCONTROLLED;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user