aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2021-02-05 00:13:31 +0100
committerShauren <shauren.trinity@gmail.com>2021-02-05 00:13:31 +0100
commitdb18aacc1f1aea19587ee20ab080a25c88ebfa17 (patch)
tree9f13fef359eab138a6c109015a901d36c1a598fe
parent94397ac56cf2db87c14ed39917f6de54e6ce48fb (diff)
Core/Spells: Define spell effect attributes
-rw-r--r--src/server/game/DataStores/DBCEnums.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/server/game/DataStores/DBCEnums.h b/src/server/game/DataStores/DBCEnums.h
index e748f477f75..663b9dacb03 100644
--- a/src/server/game/DataStores/DBCEnums.h
+++ b/src/server/game/DataStores/DBCEnums.h
@@ -1288,6 +1288,16 @@ enum SpellCategoryFlags
SPELL_CATEGORY_FLAG_COOLDOWN_EXPIRES_AT_DAILY_RESET = 0x08
};
+enum class SpellEffectAttributes
+{
+ None = 0,
+ UnaffectedByInvulnerability = 0x000001, // not cancelled by immunities
+ NoScaleWithStack = 0x000040,
+ StackAuraAmountOnRecast = 0x008000, // refreshing periodic auras with this attribute will add remaining damage to new aura
+ AllowAnyExplicitTarget = 0x100000,
+ IgnoreDuringCooldownTimeRateCalculation = 0x800000
+};
+
#define MAX_SPELL_EFFECTS 32
#define MAX_EFFECT_MASK 0xFFFFFFFF