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

Reviewed-on: Bastion/Bastion#15
main
4n0n 1 year ago
commit 5472aa1998
  1. 2
      src/_bastion.lua

@ -233,7 +233,7 @@ Command:Register('dumpspells', 'Dump spells to a file', function()
if spellID then if spellID then
spellName = spellName:gsub("[%W%s]", "") spellName = spellName:gsub("[%W%s]", "")
WriteFile('bastion-' .. UnitClass('player') .. '-' .. rand .. '.lua', WriteFile('bastion-' .. UnitClass('player') .. '-' .. rand .. '.lua',
"local " .. spellName .. " = Bastion.Globals.SpellBook:GetSpell(" .. spellID .. ")", true) "local " .. spellName .. " = Bastion.Globals.SpellBook:GetSpell(" .. spellID .. ")\n", true)
end end
i = i + 1 i = i + 1
end end

Loading…
Cancel
Save