mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[11600] Revert "[11577] Spell effects with IsExplicitPositiveTarget always positive."
This reverts commit bb16c4d956bff20c934b1e8207732a7268456152.
This commit is contained in:
parent
5313954c53
commit
6833f4c564
2 changed files with 1 additions and 7 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11599"
|
||||
#define REVISION_NR "11600"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue