mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[8243] Fixed problems with unexpected set diminishion return level at arena for fear/turn spells.
This commit is contained in:
parent
f6f4b29465
commit
4c26accd39
2 changed files with 6 additions and 1 deletions
|
|
@ -2858,6 +2858,11 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto
|
||||||
// Explicit Diminishing Groups
|
// Explicit Diminishing Groups
|
||||||
switch(spellproto->SpellFamilyName)
|
switch(spellproto->SpellFamilyName)
|
||||||
{
|
{
|
||||||
|
case SPELLFAMILY_GENERIC:
|
||||||
|
// some generic arena related spells have by some strange reason MECHANIC_TURN
|
||||||
|
if (spellproto->Mechanic == MECHANIC_TURN)
|
||||||
|
return DIMINISHING_NONE;
|
||||||
|
break;
|
||||||
case SPELLFAMILY_ROGUE:
|
case SPELLFAMILY_ROGUE:
|
||||||
{
|
{
|
||||||
// Blind
|
// Blind
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8242"
|
#define REVISION_NR "8243"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue