Skip to content
This repository was archived by the owner on Sep 4, 2023. It is now read-only.

Commit ba73fe4

Browse files
committed
goofy ahh parentheses
1 parent e2a4c24 commit ba73fe4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

BetterDoggie/EventHandlers.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ public static void OnHurtingPlayer(HurtingEventArgs ev)
5454

5555
var maxHume = BetterDoggie.Singleton.Config.DoggieAhp;
5656
ev.Amount = BetterDoggie.Singleton.Config.BaseDamage +
57-
Math.Abs(ev.Attacker.ArtificialHealth - maxHume) /
58-
(maxHume * BetterDoggie.Singleton.Config.MaxDamageBoost);
57+
Math.Abs(ev.Attacker.ArtificialHealth - maxHume) / maxHume * BetterDoggie.Singleton.Config.MaxDamageBoost;
5958

6059
attacker.EnableEffect<SinkHole>(_config.SlowdownDuration, _config.ShouldSlowdownStack);
6160
attacker.ChangeEffectIntensity<SinkHole>(2);

0 commit comments

Comments
 (0)