diff --git a/src/Spell/Spell.lua b/src/Spell/Spell.lua index 62e0bc2..1cdc0a8 100644 --- a/src/Spell/Spell.lua +++ b/src/Spell/Spell.lua @@ -12,11 +12,11 @@ local Spell = { lastCastAt = false, conditions = {}, target = false, - release_at = false, + release_at = false } local usableExcludes = { - [18562] = true, + [18562] = true } function Spell:__index(k) @@ -57,6 +57,12 @@ function Spell:New(id) return self end +-- Duplicator +---@return Spell +function Spell:Fresh() + return Spell:New(self:GetID()) +end + -- Get the spells id ---@return number function Spell:GetID() @@ -523,9 +529,7 @@ end -- IsDiseaseDispel ---@return boolean function Spell:IsDiseaseDispel() - return ({ - - })[self:GetID()] + return ({})[self:GetID()] end -- IsSpell