Core/Spells: Update some targeting related attribute definitions to make them more clear and consistent.

This commit is contained in:
QAston committed 2011-08-16 16:06:21 +02:00
1 parent 8ae5750c15
commit 73bbc3aca8
7 files changed
+20 -20

No files matched your search

+2 -2
View File
@@ -783,12 +783,12 @@ bool SpellInfo::IsDeathPersistent() const
bool SpellInfo::IsRequiringDeadTarget() const
{
return AttributesEx3 & SPELL_ATTR3_REQUIRE_DEAD_TARGET;
return AttributesEx3 & SPELL_ATTR3_ONLY_TARGET_GHOSTS;
}
bool SpellInfo::IsAllowingDeadTarget() const
{
return AttributesEx2 & SPELL_ATTR2_ALLOW_DEAD_TARGET;
return AttributesEx2 & SPELL_ATTR2_CAN_TARGET_DEAD;
}
bool SpellInfo::CanBeUsedInCombat() const