Exemplo n.º 1
0
 public static ContextActorLook CowardLook(Fighter fighter, ContextActorLook look, EffectInstance effect)
 {
     if (!look.IsRiding)
     {
         look.SetBones(1576);
     }
     if (fighter.Sex)
     {
         look.AddSkin(1450);
     }
     else
     {
         look.AddSkin(1449);
     }
     return(look);
 }
Exemplo n.º 2
0
        public static ContextActorLook PsycopathMask(Fighter fighter, ContextActorLook look, EffectInstance effect)
        {
            if (!look.IsRiding)
            {
                look.SetBones(1575);
            }

            if (fighter.Sex)
            {
                look.AddSkin(1448);
            }
            else
            {
                look.AddSkin(1443);
            }
            return(look);
        }
Exemplo n.º 3
0
        public static ContextActorLook GetBreedLook(int breedid, bool sex, int cosmeticid, IEnumerable <int> colors)
        {
            var breed = GetBreed(breedid);
            ContextActorLook result = sex ? ContextActorLook.Parse(breed.FemaleLook) : ContextActorLook.Parse(breed.MaleLook);

            result.AddSkin(HeadRecord.GetSkin(cosmeticid));

            int[] simpleColors = VerifiyColors(colors, sex, breed);

            result.SetColors(ContextActorLook.GetConvertedColors(simpleColors));

            return(result);
        }