Hello
I would like to make 1 weapon give two skills, e.g. set the weapon as a sword but give the sword and club skills.
I don't really know how it works in the C ++ case
Weapons.cpp
I would like to make 1 weapon give two skills, e.g. set the weapon as a sword but give the sword and club skills.
I don't really know how it works in the C ++ case
Weapons.cpp
Player.cppcase WEAPON_SWORD: {
skill = SKILL_SWORD;
skill = SKILL_CLUB;
return true;
}
switch (weaponType) {
case WEAPON_SWORD: {
attackSkill = getSkillLevel(SKILL_SWORD) && getSkillLevel(SKILL_CLUB);
break;
}