remove traits from spellbook

João Fidalgo 4 months ago
parent c108f53d29
commit f2412218cd
  1. 5
      src/SpellBook/SpellBook.lua

@ -15,11 +15,10 @@ end
-- Get a spell from the spellbook -- Get a spell from the spellbook
---@param id number ---@param id number
---@param traits? table
---@return Spell ---@return Spell
function SpellBook:GetSpell(id, traits) function SpellBook:GetSpell(id)
if self.spells[id] == nil then if self.spells[id] == nil then
self.spells[id] = Bastion.Spell:New(id, traits) self.spells[id] = Bastion.Spell:New(id)
end end
return self.spells[id] return self.spells[id]

Loading…
Cancel
Save