|
|
|
|
|
|
|
|
|
|
|
|
|
|
void player::setArmorPoints(int newArmor)You are manually adjusting player stats even when those should be calculated depending on equipment/level |
|
|
|
|
|
|
|
|
|
|
|
|
|
using namespace std; so there is no conflict now, however as MiNiPaa suggested at some point you might want to use std::map to store equipment. Now things start to get confusing. |
|
|
|