/// <summary> /// Creates a new AreaAura which applies its effects to everyone in its radius of influence /// </summary> protected void Init(WorldObject holder, Spell spell) { m_holder = holder; if (holder is DynamicObject) { m_CasterReference = holder.Master.SharedReference; } else { m_CasterReference = holder.SharedReference; } m_spell = spell; if (spell.IsAreaAura) { m_targets = new Dictionary<Unit, Aura>(); } holder.AddAreaAura(this); }