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