*Fixed a bug with attuned_crystalcore - by Iskander
--HG-- branch : trunk
This commit is contained in:
@@ -105,7 +105,10 @@ bool ItemUse_item_attuned_crystal_cores(Player *player, Item* _Item, SpellCastTa
|
||||
{
|
||||
if( targets.getUnitTarget() && targets.getUnitTarget()->GetTypeId()==TYPEID_UNIT &&
|
||||
targets.getUnitTarget()->GetEntry() == 24972 && targets.getUnitTarget()->isDead() )
|
||||
{
|
||||
((Creature*)targets.getUnitTarget())->RemoveCorpse();
|
||||
return false;
|
||||
}
|
||||
|
||||
player->SendEquipError(EQUIP_ERR_CANT_DO_RIGHT_NOW,_Item,NULL);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user