Remove useless namespace usage
This commit is contained in:
parent
79d575da10
commit
3e37df5fc2
1 changed files with 3 additions and 3 deletions
|
|
@ -31,7 +31,7 @@ namespace character {
|
||||||
|
|
||||||
std::uint32_t Weapons::add_damage() const noexcept { return type == weapons::Morgenstern ? 1 : 0; }
|
std::uint32_t Weapons::add_damage() const noexcept { return type == weapons::Morgenstern ? 1 : 0; }
|
||||||
|
|
||||||
std::int32_t Weapons::add_materiel(const characteristic::characType &inType) const noexcept {
|
std::int32_t Weapons::add_materiel(const characType &inType) const noexcept {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case weapons::Sword:
|
case weapons::Sword:
|
||||||
if (inType == characType::Habilete) {
|
if (inType == characType::Habilete) {
|
||||||
|
|
@ -94,7 +94,7 @@ namespace character {
|
||||||
|
|
||||||
std::uint32_t Equipments::add_damage() const noexcept { return 0; }
|
std::uint32_t Equipments::add_damage() const noexcept { return 0; }
|
||||||
|
|
||||||
std::int32_t Equipments::add_materiel(const characteristic::characType &inType) const noexcept {
|
std::int32_t Equipments::add_materiel(const characType &inType) const noexcept {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case equipments::Chainmail:
|
case equipments::Chainmail:
|
||||||
if (inType == characType::Habilete ||
|
if (inType == characType::Habilete ||
|
||||||
|
|
@ -130,7 +130,7 @@ namespace character {
|
||||||
|
|
||||||
std::uint32_t Tools::add_damage() const noexcept { return 0; }
|
std::uint32_t Tools::add_damage() const noexcept { return 0; }
|
||||||
|
|
||||||
std::int32_t Tools::add_materiel(const characteristic::characType &inType) const noexcept {
|
std::int32_t Tools::add_materiel(const characType &inType) const noexcept {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case tools::Fourche:
|
case tools::Fourche:
|
||||||
switch (inType) {
|
switch (inType) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue