Ejemplo n.º 1
0
    public Bod CreateNewLordBod(string name, string houseName, PersonalityType pt = PersonalityType.NONE, bool isCombatant = false)
    {
        Bod bod = CreateNewBod(name, houseName, pt, BodClass.LORD);

        bod.SetStrength(2);
        bod.SetAgility(2);
        bod.SetMind(2);
        if (isCombatant)
        {
            bod.SetFightingSkill(1);
        }
        return(bod);
    }
Ejemplo n.º 2
0
    public Bod CreateNewBod(string name, PersonalityType pt = PersonalityType.NONE, BodClass bc = BodClass.NONE)
    {
        if (pt == PersonalityType.NONE)
        {
            pt = GetRandomPersonalityType();
        }

        Bod bod = new Bod(name, "", pt, bc);

        bod.SetStrength(1);
        bod.SetAgility(1);
        bod.SetMind(1);
        return(bod);
    }