Exemplo n.º 1
0
    public void TweakModifier(Society society, List <Trait> choseTraits)
    {
        string societyName = society.GetSocietyName();

        if (societyName == "Constagram")
        {
            foreach (Trait trait in choseTraits)
            {
                ValueMore(trait);
            }
            MyDebug.Dictionary(priceModifier);
        }
        else if (societyName == "Pewtuber")
        {
            foreach (Trait trait in choseTraits)
            {
                VolatilityMore(trait);
            }
            MyDebug.Dictionary(volatilityModifier);
        }
        else if (societyName == "Today")
        {
            foreach (Trait trait in choseTraits)
            {
                sympathyMore(trait);
            }
            MyDebug.Dictionary(sympathyModifier);
        }
        else
        {
            Debug.LogError("invalid societyName");
        }
    }