summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authoravarishd <46330494+avarishd@users.noreply.github.com>2022-05-24 23:24:23 +0300
committerGitHub <noreply@github.com>2022-05-24 22:24:23 +0200
commit1091e02049f4a1bff46bd0dbb9a304b41775f4d5 (patch)
tree8a4dd07dd83b0303f62453af180d95866747ab27 /docs
parent0040c20c7549e0383bba7100ccc6e8034cdcad34 (diff)
downloadwiki-1091e02049f4a1bff46bd0dbb9a304b41775f4d5.tar.gz
wiki-1091e02049f4a1bff46bd0dbb9a304b41775f4d5.tar.bz2
wiki-1091e02049f4a1bff46bd0dbb9a304b41775f4d5.zip
Add procPhase to spell_proc_event (#717)
* Add procPhase to spell_proc_event * Update spell_proc_event.md
Diffstat (limited to 'docs')
-rw-r--r--docs/spell_proc_event.md24
1 files changed, 18 insertions, 6 deletions
diff --git a/docs/spell_proc_event.md b/docs/spell_proc_event.md
index 0f15822..5da7d42 100644
--- a/docs/spell_proc_event.md
+++ b/docs/spell_proc_event.md
@@ -16,9 +16,10 @@
[SpellFamilyMask2][6] | INT | UNSIGNED | | | 0
[procFlags][7] | INT | UNSIGNED | | | 0
[procEx][8] | INT | UNSIGNED | | | 0
-[ppmRate][9] | FLOAT | SIGNED | | | 0
-[CustomChance][10] | FLOAT | SIGNED | | | 0
-[Cooldown][11] | INT | UNSIGNED | | | 0
+[procPhase][9] | INT | UNSIGNED | | | 0
+[ppmRate][10] | FLOAT | SIGNED | | | 0
+[CustomChance][11] | FLOAT | SIGNED | | | 0
+[Cooldown][12] | INT | UNSIGNED | | | 0
[1]: #entry
[2]: #schoolmask
@@ -28,9 +29,10 @@
[6]: #spellfamilymask2
[7]: #procflags
[8]: #procex
-[9]: #ppmrate
-[10]: #customchance
-[11]: #cooldown
+[9]: #procphase
+[10]: #ppmrate
+[11]: #customchance
+[12]: #cooldown
**Description of the fields**
@@ -137,6 +139,16 @@ PROC_EX_ONLY_ACTIVE_SPELL | 262144 | 0x0040000 | Spell has to do damage/heal to
PROC_EX_NO_OVERHEAL | 524288 | 0x0080000 | Proc if heal did some work
PROC_EX_NO_AURA_REFRESH | 1048576 | 0x0100000 | Proc if aura was not refreshed
+### procPhase
+A bitmask for matching phase of a spellcast on which proc occurs.
+
+procPhase | Bit | Hex | Comment
+:--- | :--- | :--- | :---
+PROC_SPELL_PHASE_NONE | 0 | 0x0000000 |
+PROC_SPELL_PHASE_CAST | 1 | 0x0000001 |
+PROC_SPELL_PHASE_HIT | 2 | 0x0000002 |
+PROC_SPELL_PHASE_FINISH | 4 | 0x0000004 |
+
### ppmRate
Proc per minute. If 0 the value will be taken from DBC.