|
|
@ -421,9 +421,8 @@ function Spell:Castable() |
|
|
|
if not self:EvaluateTraits() then |
|
|
|
if not self:EvaluateTraits() then |
|
|
|
return false |
|
|
|
return false |
|
|
|
end |
|
|
|
end |
|
|
|
if self:GetCastableFunction() then |
|
|
|
if self:GetCastableFunction() and not self:GetCastableFunction()(self) then |
|
|
|
return self:GetCastableFunction()(self) and |
|
|
|
return false |
|
|
|
self:IsKnownAndUsable(type(self.traits.cast.override) ~= nil and self.traits.cast.override or nil) |
|
|
|
|
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
return self:IsKnownAndUsable(type(self.traits.cast.override) ~= nil and self.traits.cast.override or nil) |
|
|
|
return self:IsKnownAndUsable(type(self.traits.cast.override) ~= nil and self.traits.cast.override or nil) |
|
|
|