Small bug fix and refactor
This commit is contained in:
@@ -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),
|
||||
|
Reference in New Issue
Block a user