Fix creature tapped and lootable dynamic flags => fix creature not lootable.

Fixes issue #1067.

--HG--
branch : trunk
This commit is contained in:
Trazom62
2010-03-14 00:22:53 +01:00
parent 274268a686
commit 6fdaf225f3
6 changed files with 62 additions and 25 deletions
+1 -1
View File
@@ -6005,7 +6005,7 @@ void AuraEffect::HandleChannelDeathItem(AuraApplication const * aurApp, uint8 mo
// Soul Shard only from non-grey units
if( GetSpellProto()->EffectItemType[m_effIndex] == 6265 &&
(target->getLevel() <= Trinity::XP::GetGrayLevel(caster->getLevel()) ||
target->GetTypeId() == TYPEID_UNIT && !caster->ToPlayer()->isAllowedToLoot(target->ToCreature())) )
target->GetTypeId() == TYPEID_UNIT && !target->ToCreature()->isTappedBy(caster->ToPlayer())) )
return;
//Adding items
uint32 noSpaceForCount = 0;