*Update spell selection.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-05-02 11:28:11 -05:00
1 parent a102098eb2
commit f303ee08c5
11 files changed
+671 -626

No files matched your search

+1 -1
View File
@@ -11064,7 +11064,7 @@ void CharmInfo::InitCharmCreateSpells()
if(!spellInfo) onlyselfcast = false;
for(uint32 i = 0;i<3 && onlyselfcast;++i) //non existent spell will not make any problems as onlyselfcast would be false -> break right away
{
if(spellInfo->EffectImplicitTargetA[i] != TARGET_SELF && spellInfo->EffectImplicitTargetA[i] != 0)
if(spellInfo->EffectImplicitTargetA[i] != TARGET_UNIT_CASTER && spellInfo->EffectImplicitTargetA[i] != 0)
onlyselfcast = false;
}