Skip to content

Commit

Permalink
Code format - (Clang-format)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 18, 2024
1 parent ba748d0 commit e79e5df
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/creatures/combat/spells.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -640,9 +640,8 @@ void Spell::getCombatDataAugment(std::shared_ptr<Player> player, CombatDamage &d
continue;
}
if (
augment->type == Augment_t::IncreasedDamage || augment->type == Augment_t::PowerfulImpact ||
augment->type == Augment_t::StrongImpact || augment->type == Augment_t::Base
) {
augment->type == Augment_t::IncreasedDamage || augment->type == Augment_t::PowerfulImpact || augment->type == Augment_t::StrongImpact || augment->type == Augment_t::Base
) {
const float augmentPercent = augment->value / 100.0;
damage.primary.value += static_cast<int32_t>(damage.primary.value * augmentPercent);
damage.secondary.value += static_cast<int32_t>(damage.secondary.value * augmentPercent);
Expand Down

0 comments on commit e79e5df

Please sign in to comment.