aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellMgr.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-13 00:46:43 -0600
committermegamage <none@none>2008-12-13 00:46:43 -0600
commit3533c094d24ff98fee74e458d6131dd3126e40af (patch)
tree854ecd6ddf9efafecfa0725e5aeeeb1a3b63b2bd /src/game/SpellMgr.cpp
parentbe875bc6c0b070aa639acd5cf26435d20ddcf89c (diff)
*Update diminishing return table: sap and gouge have polymorph return, warlock's fear and seduction have fear return.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellMgr.cpp')
-rw-r--r--src/game/SpellMgr.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 3ebd9a4d1ac..a41c181b1d4 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -2138,6 +2138,12 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto
// Kidney Shot
if (spellproto->SpellFamilyFlags & 0x00000200000LL)
return DIMINISHING_KIDNEYSHOT;
+ // Sap
+ else if (spellproto->SpellFamilyFlags & 0x00000000080LL)
+ return DIMINISHING_POLYMORPH;
+ // Gouge
+ else if (spellproto->SpellFamilyFlags & 0x00000000008LL)
+ return DIMINISHING_POLYMORPH;
// Blind
else if (spellproto->SpellFamilyFlags & 0x00001000000LL)
return DIMINISHING_BLIND_CYCLONE;
@@ -2148,9 +2154,12 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto
// Death Coil
if (spellproto->SpellFamilyFlags & 0x00000080000LL)
return DIMINISHING_DEATHCOIL;
+ // Seduction
+ if (spellproto->SpellFamilyFlags & 0x00040000000LL)
+ return DIMINISHING_FEAR;
// Fear
- else if (spellproto->SpellFamilyFlags & 0x40840000000LL)
- return DIMINISHING_WARLOCK_FEAR;
+ //else if (spellproto->SpellFamilyFlags & 0x40840000000LL)
+ // return DIMINISHING_WARLOCK_FEAR;
// Curses/etc
else if (spellproto->SpellFamilyFlags & 0x00080000000LL)
return DIMINISHING_LIMITONLY;