mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[7515] Not allow caster cast different polymorph spells at different targets in same time.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
e39a836115
commit
636b0a9464
2 changed files with 2 additions and 1 deletions
|
|
@ -530,6 +530,7 @@ bool IsSingleTargetSpells(SpellEntry const *spellInfo1, SpellEntry const *spellI
|
||||||
switch(spec1)
|
switch(spec1)
|
||||||
{
|
{
|
||||||
case SPELL_JUDGEMENT:
|
case SPELL_JUDGEMENT:
|
||||||
|
case SPELL_MAGE_POLYMORPH:
|
||||||
if(GetSpellSpecific(spellInfo2->Id) == spec1)
|
if(GetSpellSpecific(spellInfo2->Id) == spec1)
|
||||||
return true;
|
return true;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7514"
|
#define REVISION_NR "7515"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue