aboutsummaryrefslogtreecommitdiff
path: root/src/common/Common.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2016-11-19 23:42:21 -0300
committerariel- <ariel-@users.noreply.github.com>2016-11-20 01:46:47 -0300
commit6dc37a9add631888fe5fbcd43d19c2b07bed8a57 (patch)
treef65348c424fd1a63c6e225ec809542a80ab77540 /src/common/Common.h
parent5237eda34014ee6d3fa8ca5c52148ff56cba666d (diff)
Core/Auras: Rewritten conditionally applying SPELL_AURA_MOD_WEAPON_CRIT_PERCENT, SPELL_AURA_MOD_DAMAGE_DONE and SPELL_AURA_MOD_DAMAGE_PERCENT_DONE auras
* Now the entire aura is removed when changing equipment * All aura types can now depend on equipped items (cherry picked from commit b9f7b500a362736235fc917ce4f34aa8520eb651)
Diffstat (limited to 'src/common/Common.h')
-rw-r--r--src/common/Common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/Common.h b/src/common/Common.h
index aa04abacd30..af9b9b17321 100644
--- a/src/common/Common.h
+++ b/src/common/Common.h
@@ -35,6 +35,7 @@
#include <unordered_map>
#include <unordered_set>
#include <vector>
+#include <numeric>
#include <cmath>
#include <cstdio>