Merge pull request 'main' (#5) from Bastion/Bastion:main into main

Reviewed-on: CiscOH/Bastion#5
pull/19/head
CiscOH 1 year ago
commit 4680344e6f
  1. 14
      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

Loading…
Cancel
Save