Skip to content

Commit

Permalink
Put back floor in battle shout
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyt857 committed Aug 13, 2023
1 parent ee7231e commit 3ff9bac
Show file tree
Hide file tree
Showing 40 changed files with 6,790 additions and 6,789 deletions.
5 changes: 3 additions & 2 deletions sim/core/buffs.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package core

import (
"math"
"strconv"
"time"

Expand Down Expand Up @@ -1261,7 +1262,7 @@ func BattleShoutAura(unit *Unit, commandingPresencePts int32, boomingVoicePts in
Duration: time.Duration(float64(time.Minute*2)*(1+0.25*float64(boomingVoicePts))) + TernaryDuration(minorGlyph, 2*time.Minute, 0),
BuildPhase: CharacterBuildPhaseBuffs,
})
attackPowerBonusEffect(aura, 550*(1+0.05*float64(commandingPresencePts)))
attackPowerBonusEffect(aura, math.Floor(550*(1+0.05*float64(commandingPresencePts))))
return aura
}

Expand All @@ -1275,7 +1276,7 @@ func BlessingOfMightAura(unit *Unit, impBomPts int32) *Aura {
aura.Activate(sim)
},
})
attackPowerBonusEffect(aura, 550*(1+GetTristateValueFloat(proto.TristateEffect(impBomPts), 0.12, 0.25)))
attackPowerBonusEffect(aura, math.Floor(550*(1+GetTristateValueFloat(proto.TristateEffect(impBomPts), 0.12, 0.25))))
return aura
}

Expand Down
Loading

0 comments on commit 3ff9bac

Please sign in to comment.