Exemplo n.º 1
0
    private void Start()
    {
        // create new stats if needed
        statValues = statValues ?? new VesselStatValues();

        // fetch rolls from game balance
        GameBalance balance = Game.Instance.campaign.gameBalance;

        statRolls    = new StatRoll[3];
        statRolls[0] = balance.statRollAttack;
        statRolls[1] = balance.statRollDefense;
        statRolls[2] = balance.statRollLuck;
    }
Exemplo n.º 2
0
 public void SetStats(VesselStatValues values)
 {
     values.Clamp(0, MaxStatValue);
     statValues = values;
 }