Reformat correctly
This commit is contained in:
parent
6e50ef7fb8
commit
e6bec5c0f2
@ -119,8 +119,7 @@ namespace character {
|
|||||||
Characteristic &localEndurance,
|
Characteristic &localEndurance,
|
||||||
Characteristic &localChance,
|
Characteristic &localChance,
|
||||||
const std::function<std::uint32_t(std::uint32_t, std::uint32_t)> &primary,
|
const std::function<std::uint32_t(std::uint32_t, std::uint32_t)> &primary,
|
||||||
const std::function<std::uint32_t(std::uint32_t,
|
const std::function<std::uint32_t(std::uint32_t, std::uint32_t)> &complement) noexcept {
|
||||||
std::uint32_t)> &complement) noexcept {
|
|
||||||
switch (arg) {
|
switch (arg) {
|
||||||
case equipments::Chainmail:
|
case equipments::Chainmail:
|
||||||
localHabilete.materiel = complement(localHabilete.materiel, 1);
|
localHabilete.materiel = complement(localHabilete.materiel, 1);
|
||||||
@ -146,8 +145,7 @@ namespace character {
|
|||||||
Characteristic &localHabilete,
|
Characteristic &localHabilete,
|
||||||
Characteristic &localAdresse,
|
Characteristic &localAdresse,
|
||||||
Characteristic &localEndurance,
|
Characteristic &localEndurance,
|
||||||
const std::function<std::uint32_t(std::uint32_t,
|
const std::function<std::uint32_t(std::uint32_t, std::uint32_t)> &operation) noexcept {
|
||||||
std::uint32_t)> &operation) noexcept {
|
|
||||||
switch (arg) {
|
switch (arg) {
|
||||||
case weapons::Sword:
|
case weapons::Sword:
|
||||||
localHabilete.materiel = operation(localHabilete.materiel, 4);
|
localHabilete.materiel = operation(localHabilete.materiel, 4);
|
||||||
|
Loading…
Reference in New Issue
Block a user