*Add SpellCasterAI as a framework for casting only units (like ebon gargoyle or mirror image.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-08-06 23:10:36 +02:00
parent 91885a7790
commit 50c73d433c
8 changed files with 80 additions and 48 deletions

View File

@@ -6856,7 +6856,6 @@ void Spell::SummonGuardian(uint32 entry, SummonPropertiesEntry const *properties
TempSummon *summon = map->SummonCreature(entry, px, py, pz, m_caster->GetOrientation(), properties, duration, caster);
if(!summon)
return;
if(summon->HasSummonMask(SUMMON_MASK_GUARDIAN))
((Guardian*)summon)->InitStatsForLevel(level);