Example #1
0
 public Tribe CreateTribe(string id, string name, TribeType type)
 {
     _logger.LogDebug("CreateTribe");
     return(new Tribe
     {
         Id = id,
         Name = name,
         Type = type,
         Members = new List <TribeMember>()
     });
 }
Example #2
0
 private Tribe(string id, string instructorId, string name, string description, DateTime createdDate, TribeType type, bool isSubscription, TribeSubscriptionDetails subDetails, IEnumerable <Member> members)
 {
     Id                  = id;
     InstructorId        = instructorId;
     Name                = name;
     Description         = description;
     CreatedDate         = createdDate;
     Type                = type;
     IsSubscription      = isSubscription;
     SubscriptionDetails = subDetails;
     Members             = members;
 }
Example #3
0
        public override void BuildBody()
        {
            Name = String.Format("{0} the {1} {2}", GetRandomName(), TribeType.ToString(), Female ? "chieftess" : "chieftan");

            SetStr(200);
            SetDex(2000);
            SetInt(200, 250);

            SetHits(4500);

            SetDamage(15, 28);

            SetDamageType(ResistanceType.Physical, 100);

            //Set resistances?

            SetSkill(SkillName.Wrestling, 120);
            SetSkill(SkillName.Fencing, 120);
            SetSkill(SkillName.Swords, 120);
            SetSkill(SkillName.Macing, 120);
            SetSkill(SkillName.Archery, 120);

            SetSkill(SkillName.Tactics, 120);
            SetSkill(SkillName.Anatomy, 120);
            SetSkill(SkillName.MagicResist, 120);
            SetSkill(SkillName.Parry, 120);

            switch (TribeType)
            {
            case EodonTribe.Jukari:
                Female     = Utility.RandomBool();
                Body       = Female ? 0x191 : 0x190;
                HairItemID = 0;
                Hue        = 34723; break;

            case EodonTribe.Kurak:
                Female     = Utility.RandomBool();
                Body       = Female ? 0x191 : 0x190;
                HairItemID = Female ? 0x2046 : 0x203B;
                Hue        = 33960; break;

            case EodonTribe.Barrab:
                Female     = true;
                Body       = 0x191;
                HairItemID = 0x203B;
                Hue        = 34214; break;

            case EodonTribe.Barako:
                Female     = Utility.RandomBool();
                Body       = Female ? 0x191 : 0x190;
                HairItemID = 0x203C;
                Hue        = 35187; break;

            case EodonTribe.Urali:
                Female     = true;
                Body       = 0x25E;
                Race       = Race.Elf;
                HairItemID = 0x2FD0;
                Hue        = 35356;
                break;

            case EodonTribe.Sakkhra:
                Female     = Utility.RandomBool();
                Body       = Female ? 0x191 : 0x190;
                HairItemID = 0x203C;
                Hue        = 34894;
                RangeFight = 7; break;
            }

            Fame  = 18000;
            Karma = 8000;
        }
Example #4
0
        public override void BuildBody()
        {
            Name = string.Format("{0} the {1} shaman", GetRandomName(), TribeType.ToString());

            SetStr(125);
            SetDex(75, 100);
            SetInt(200, 250);

            SetHits(2500);

            SetDamage(10, 15);

            SetDamageType(ResistanceType.Physical, 100);

            SetSkill(SkillName.Wrestling, 100);
            SetSkill(SkillName.Fencing, 100);
            SetSkill(SkillName.Swords, 100);
            SetSkill(SkillName.Macing, 100);
            SetSkill(SkillName.Archery, 100);

            SetSkill(SkillName.Tactics, 100);
            SetSkill(SkillName.Anatomy, 100);
            SetSkill(SkillName.MagicResist, 100);
            SetSkill(SkillName.Magery, 120);
            SetSkill(SkillName.EvalInt, 120);

            switch (TribeType)
            {
            case EodonTribe.Jukari:
                Female     = Utility.RandomBool();
                Body       = Female ? 0x191 : 0x190;
                HairItemID = 0;
                Hue        = 34723; break;

            case EodonTribe.Kurak:
                Female     = Utility.RandomBool();
                Body       = Female ? 0x191 : 0x190;
                HairItemID = Female ? 0x203C : 0x203B;
                Hue        = 33960; break;

            case EodonTribe.Barrab:
                Female     = true;
                Body       = 0x191;
                HairItemID = 0x203B;
                Hue        = 34214; break;

            case EodonTribe.Barako:
                Female     = Utility.RandomBool();
                Body       = Female ? 0x191 : 0x190;
                HairItemID = 0x203C;
                Hue        = 35187; break;

            case EodonTribe.Urali:
                Female     = false;
                Body       = 0x25D;
                Race       = Race.Elf;
                HairItemID = 0x2FC1;
                Hue        = 35356;
                break;

            case EodonTribe.Sakkhra:
                Female     = Utility.RandomBool();
                Body       = Female ? 0x191 : 0x190;
                HairItemID = 0x203C;
                Hue        = 34894;
                RangeFight = 7; break;
            }

            Fame  = 12000;
            Karma = 8000;
        }
Example #5
0
 public static Tribe Create(string id, string instructorId, string name, string description, DateTime createdDate, TribeType type, bool isSubscription, TribeSubscriptionDetails subDetails, IEnumerable <Member> members)
 => new Tribe(id, instructorId, name, description, createdDate, type, isSubscription, subDetails, members);