Fix SPELL_AURA_CLONE_CASTER on summoned creatures, it will now properly clone the appearance of the caster.

(Mirror Image is currently a hacked exception and was already working)
Still need to correctly implement cloning of weapons, though.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-06-07 01:59:04 +02:00
parent 770ae68e66
commit fa4c813368
2 changed files with 4 additions and 4 deletions

View File

@@ -125,9 +125,6 @@ struct boss_volazjAI : public ScriptedAI
// Summon clone
if (Unit *summon = me->SummonCreature(MOB_TWISTED_VISAGE, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), me->GetOrientation(),TEMPSUMMON_CORPSE_DESPAWN,0))
{
// required for correct visual
// Fixme: allow mirror image query to send other guid to get rid of minion status
summon->SetUInt64Value(UNIT_FIELD_CREATEDBY, plr->GetGUID());
// clone
plr->CastSpell(summon, SPELL_CLONE_PLAYER, true);
// set phase