aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/SharedDefines.h
diff options
context:
space:
mode:
authorOvah <dreadkiller@gmx.de>2022-10-01 17:21:07 +0200
committerGitHub <noreply@github.com>2022-10-01 17:21:07 +0200
commitb47ef3ce90f6192784f8ce903b6738d568631809 (patch)
tree6db340ab46755252d18316a8d4205331e75314da /src/server/shared/SharedDefines.h
parent2b8fc95fdec69ca5c057c2e63a1313d8165d44ea (diff)
Core/Spells: fixed up block mechanics (#28286)
* Ranged attacks can now be blocked * Implement SPELL_ATTR3_COMPLETELY_BLOCKED * Fixed a bug which was causing blocking to block entire spell effects regardless if the attribute was present or not * Fixed a logic mistake which was causing blocks to roll twice (once for effect negation and once on hit) * No longer send blocked miss conditions in spell_go packets when the spell is not completely blocked to match sniff data
Diffstat (limited to 'src/server/shared/SharedDefines.h')
-rw-r--r--src/server/shared/SharedDefines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/shared/SharedDefines.h b/src/server/shared/SharedDefines.h
index b19c205d97b..0bdd89004f7 100644
--- a/src/server/shared/SharedDefines.h
+++ b/src/server/shared/SharedDefines.h
@@ -517,7 +517,7 @@ enum SpellAttr3 : uint32
SPELL_ATTR3_UNK0 = 0x00000001, // TITLE Unknown attribute 0@Attr3
SPELL_ATTR3_IGNORE_PROC_SUBCLASS_MASK = 0x00000002, // 1 Ignores subclass mask check when checking proc
SPELL_ATTR3_UNK2 = 0x00000004, // TITLE Unknown attribute 2@Attr3
- SPELL_ATTR3_BLOCKABLE_SPELL = 0x00000008, // TITLE Blockable spell
+ SPELL_ATTR3_COMPLETELY_BLOCKED = 0x00000008, // TITLE Completely Blocked
SPELL_ATTR3_IGNORE_RESURRECTION_TIMER = 0x00000010, // TITLE Ignore resurrection timer
SPELL_ATTR3_UNK5 = 0x00000020, // TITLE Unknown attribute 5@Attr3
SPELL_ATTR3_UNK6 = 0x00000040, // TITLE Unknown attribute 6@Attr3