Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int skillPoints = 21;
- string pointDistribution;
- while (skillPoints > 0)
- {
- system("CLS");
- cout << "You have " << skillPoints << " points." << endl;
- cout << endl <<"1. " << strengthLevel << endl << "2. " << agilityLevel << endl << "3. " << wisdomLevel << endl << "4. " << luckLevel << endl << "5. " << intelligenceLevel << endl << "6. " << charismaLevel << endl;
- cout << "Where do ypou want to put your point?" << endl;
- cin >> pointDistribution;
- transform(pointDistribution.begin(), pointDistribution.end(), pointDistribution.begin(), tolower);
- if (pointDistribution == "strength"|| pointDistribution == "1")
- {
- strength + 1;
- --skillPoints;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement