Small bug fix and refactor

This commit is contained in:
2024-03-14 23:15:58 +01:00
parent 190058cb0e
commit afae461364
2 changed files with 6 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ BaseCooldown = {
if playbackSpeed == nil then
self.filename = string.format("1x\\%s", self.filename)
else
self.filename = string.format("%dx\\%s", playbackSpeed, self.filename)
self.filename = string.format("%.1fx\\%s", playbackSpeed, self.filename)
end
if aura_env.debug then print(string.format("Created BaseCooldown with filename %s", self.filename)) end
self.isOnCooldown = false
@@ -171,7 +171,7 @@ Buff = {
ActiveSet = nil
---@type table<string, table<BaseCooldown>>
Spells = {
Cooldowns = {
["Warrior"] = {
Spell.new(107574, "Avatar", 1.6),
Spell.new(1719, "Battle Cry", 1.6),