aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-10-30 14:40:23 +0100
committerShauren <shauren.trinity@gmail.com>2024-10-30 14:40:23 +0100
commitb0352ef78ed93e18a869652e628345bc660f252b (patch)
treeff5070af73b6804a6d8963ef46ae9f8ea0432d5a /src/server/game/Spells
parentf6c37f6791f1a28f5a077f251ec60a541cf0284f (diff)
Core/DataStores: Updated db2 structures to 11.0.5
Diffstat (limited to 'src/server/game/Spells')
-rw-r--r--src/server/game/Spells/SpellInfo.cpp1
-rw-r--r--src/server/game/Spells/SpellInfo.h2
2 files changed, 3 insertions, 0 deletions
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<MAX_SPELL_EFFECTS> 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;