From b0352ef78ed93e18a869652e628345bc660f252b Mon Sep 17 00:00:00 2001 From: Shauren Date: Wed, 30 Oct 2024 14:40:23 +0100 Subject: Core/DataStores: Updated db2 structures to 11.0.5 --- src/server/game/Spells/SpellInfo.cpp | 1 + src/server/game/Spells/SpellInfo.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'src/server/game/Spells') diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index d85b5825de1..3d56fec4acb 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -1224,6 +1224,7 @@ SpellInfo::SpellInfo(SpellNameEntry const* spellName, ::Difficulty difficulty, S AttributesEx12 = _misc->Attributes[12]; AttributesEx13 = _misc->Attributes[13]; AttributesEx14 = _misc->Attributes[14]; + AttributesEx15 = _misc->Attributes[15]; CastTimeEntry = sSpellCastTimesStore.LookupEntry(_misc->CastingTimeIndex); DurationEntry = sSpellDurationStore.LookupEntry(_misc->DurationIndex); RangeEntry = sSpellRangeStore.LookupEntry(_misc->RangeIndex); diff --git a/src/server/game/Spells/SpellInfo.h b/src/server/game/Spells/SpellInfo.h index faf01836171..d327683dc28 100644 --- a/src/server/game/Spells/SpellInfo.h +++ b/src/server/game/Spells/SpellInfo.h @@ -339,6 +339,7 @@ class TC_GAME_API SpellInfo uint32 AttributesEx12 = 0; uint32 AttributesEx13 = 0; uint32 AttributesEx14 = 0; + uint32 AttributesEx15 = 0; uint32 AttributesCu = 0; std::bitset NegativeEffects; uint64 Stances = 0; @@ -459,6 +460,7 @@ class TC_GAME_API SpellInfo bool HasAttribute(SpellAttr12 attribute) const { return !!(AttributesEx12 & attribute); } bool HasAttribute(SpellAttr13 attribute) const { return !!(AttributesEx13 & attribute); } bool HasAttribute(SpellAttr14 attribute) const { return !!(AttributesEx14 & attribute); } + bool HasAttribute(SpellAttr15 attribute) const { return !!(AttributesEx15 & attribute); } bool HasAttribute(SpellCustomAttributes customAttribute) const { return !!(AttributesCu & customAttribute); } bool CanBeInterrupted(WorldObject const* interruptCaster, Unit const* interruptTarget, bool ignoreImmunity = false) const; -- cgit v1.2.3