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
---@param id number
---@param traits? table
---@return Spell
function SpellBook:GetSpell(id, traits)
function SpellBook:GetSpell(id)
if self.spells[id] == nil then
self.spells[id] = Bastion.Spell:New(id, traits)
self.spells[id] = Bastion.Spell:New(id)
end
return self.spells[id]

Loading…
Cancel
Save