public override bool CheckCast() { if (m_Table.ContainsKey(this.Caster)) { this.Caster.SendLocalizedMessage(501775); // This spell is already in effect. return(false); } else if (!this.Caster.CanBeginAction(typeof(AttuneWeaponSpell))) { this.Caster.SendLocalizedMessage(1075124); // You must wait before casting that spell again. return(false); } else if (SpiritualityVirtue.IsEmbracee(Caster)) { Caster.SendLocalizedMessage(1156040); // You may not cast Attunement whilst a Spirituality Shield is active! return(false); } return(base.CheckCast()); }