[11600] Revert "[11577] Spell effects with IsExplicitPositiveTarget always positive."

This reverts commit bb16c4d956bff20c934b1e8207732a7268456152.
This commit is contained in:
VladimirMangos 2011-06-05 13:59:10 +04:00
parent 5313954c53
commit 6833f4c564
2 changed files with 1 additions and 7 deletions

View file

@ -649,12 +649,6 @@ bool IsExplicitNegativeTarget(uint32 targetA)
bool IsPositiveEffect(SpellEntry const *spellproto, SpellEffectIndex effIndex)
{
// explicit targeting set positiveness independent from real effect
// Note: IsExplicitNegativeTarget can't be used symmetric (look some TARGET_SINGLE_ENEMY spells for example)
if (IsExplicitPositiveTarget(spellproto->EffectImplicitTargetA[effIndex]) ||
IsExplicitPositiveTarget(spellproto->EffectImplicitTargetB[effIndex]))
return true;
switch(spellproto->Effect[effIndex])
{
case SPELL_EFFECT_DUMMY:

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11599"
#define REVISION_NR "11600"
#endif // __REVISION_NR_H__