public override void OnClick() { if (!CanSwitch(m_Owner, m_Mastery)) { // You do not have the required skill levels to switch to this mastery. m_Owner.SendLocalizedMessage(1151950); return; } m_Owner.NextBardMasterySwitch = DateTime.UtcNow + TimeSpan.FromMinutes(10.0); m_Owner.BardMastery = m_Mastery; // You have changed to ~1_val~ m_Owner.SendLocalizedMessage(1151949, string.Format("#{0}", m_Mastery.Cliloc)); m_Book.InvalidateProperties(); }
public override void OnClick() { m_Owner.BardElementDamage = m_Element; m_Book.InvalidateProperties(); }