Home
last modified time | relevance | path

Searched refs:statWeights (Results 1 – 1 of 1) sorted by relevance

/dports/games/barony/Barony-3.3.7/src/
H A Dentity.cpp15719 std::vector<int> statWeights = classStatGrowth[playerClass]; in playerStatIncrease() local
15731 statWeights = { 1, 6, 1, 3, 1, 1 }; in playerStatIncrease()
15736 statWeights = { 1, 1, 3, 1, 6, 1 }; in playerStatIncrease()
15741 statWeights = { 6, 1, 3, 1, 1, 1 }; in playerStatIncrease()
15746 statWeights = { 1, 3, 1, 6, 1, 1 }; in playerStatIncrease()
15751 statWeights[chosenStats[0]] = 0; // remove the chance of the local stat vector. in playerStatIncrease()
15753 …std::discrete_distribution<> distr2(statWeights.begin(), statWeights.end()); // regen the distribu… in playerStatIncrease()
15755 statWeights[chosenStats[1]] = 0; // remove the chance in the local stat vector. in playerStatIncrease()
15757 …std::discrete_distribution<> distr3(statWeights.begin(), statWeights.end()); // regen the distribu… in playerStatIncrease()