protected override void Apply()
 {
     if (m_aura.Owner is Character)
     {
         var chr = m_aura.Owner as Character;
         PetHandler.SendStabledPetsList(chr, chr, (byte)chr.StableSlotCount, chr.StabledPetRecords);
     }
 }
Exemple #2
0
		public static void ListStabledPets(Character chr, NPC stableMaster)
		{
			if (!CheckForStableMasterCheats(chr, stableMaster))
			{
				return;
			}

			PetHandler.SendStabledPetsList(chr, stableMaster, (byte)chr.StableSlotCount, chr.StabledPetRecords);
		}
        protected override void Apply()
        {
            if (!(m_aura.Owner is Character))
            {
                return;
            }
            Character owner = m_aura.Owner as Character;

            PetHandler.SendStabledPetsList(owner, owner, (byte)owner.StableSlotCount,
                                           owner.StabledPetRecords);
        }
Exemple #4
0
        protected override void Apply()
        {
            if (!(this.m_aura.Owner is Character))
            {
                return;
            }
            Character owner = this.m_aura.Owner as Character;

            PetHandler.SendStabledPetsList((IPacketReceiver)owner, (Unit)owner, (byte)owner.StableSlotCount,
                                           owner.StabledPetRecords);
        }