public EtherealStaff() { ItemID = 8397; Layer = Layer.Invalid; m_StaffCharacter = null; m_StaffCharacterVisible = false; m_Renew = false; LootType = LootType.Blessed; }
public override void OnDoubleClick( Mobile from ) { if( from.AccessLevel < AccessLevel.Counselor ) this.Delete(); if ( m_StaffCharacter == null ) { m_StaffCharacter = new EtherealStaffMob( this, from ); } if ( !IsChildOf( from.Backpack ) ) from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it. else if ( Multis.DesignContext.Check( from ) ) { EtherealSpell spell = new EtherealSpell( this, m_StaffCharacter, from ); spell.Cast(); } }
public override void Deserialize( GenericReader reader ) { base.Deserialize( reader ); LootType = LootType.Blessed; int version = reader.ReadInt(); m_StaffCharacter = (EtherealStaffMob)reader.ReadMobile(); m_StaffCharacterVisible = reader.ReadBool(); m_Renew = reader.ReadBool(); }