public void SetPetSkin(short skin)
        {
            var actorLook = this.PetLook;

            this.AddSubLook(new SubActorLook(0, SubEntityBindingPointCategoryEnum.HOOK_POINT_CATEGORY_PET, actorLook = new ActorLook()));
            actorLook.SetScales(new short[]
            {
                75
            });
            actorLook.BonesID = skin;
        }
Example #2
0
        public void SetPetSkin(short skin, short[] scales)
        {
            var petLook = PetLook;

            if (skin == 3119 || skin == 3120)
            {
                SetSubLook(new SubActorLook(0, SubEntityBindingPointCategoryEnum.HOOK_POINT_CATEGORY_PET_FOLLOWER, petLook = new ActorLook()));
            }
            else
            {
                SetSubLook(new SubActorLook(0, SubEntityBindingPointCategoryEnum.HOOK_POINT_CATEGORY_PET, petLook = new ActorLook()));
                petLook.SetScales(scales);
            }

            petLook.BonesID = skin;
        }