Exemplo n.º 1
0
        internal void UpdatePetData(IActivePetSettings settings)
        {
            settings.PetEntryId       = Entry.NPCId;
            settings.PetHealth        = Health;
            settings.PetPower         = Power;
            settings.PetDuration      = RemainingDecayDelayMillis;
            settings.PetSummonSpellId = CreationSpellId;

            UpdateTalentSpellRecords();

            m_PetRecord.UpdateRecord(this);
        }
Exemplo n.º 2
0
Arquivo: NPC.Pet.cs Projeto: NVN/WCell
		internal void UpdatePetData(IActivePetSettings settings)
		{
			settings.PetEntryId = Entry.NPCId;
			settings.PetHealth = Health;
			settings.PetPower = Power;
			settings.PetDuration = RemainingDecayDelayMillis;
			settings.PetSummonSpellId = CreationSpellId;

			UpdateTalentSpellRecords();

			m_PetRecord.UpdateRecord(this);
		}