Anonymous

Module:Magic: Difference between revisions

From Melvor Idle
Undo revision 77409 by Ricewind (talk)
(Undo revision 77410 by Ricewind (talk))
Tag: Undo
(Undo revision 77409 by Ricewind (talk))
Tag: Undo
Line 110: Line 110:
local args = frame.args ~= nil and frame.args or frame
local args = frame.args ~= nil and frame.args or frame
local spellName = args[1]
local spellName = args[1]
local namespace = (args.namespace ~= "" and args.namespace) or nil
local namespace = args.namespace or nil
local spell = p.getSpell(spellName, nil, namespace)
local spell = p.getSpell(spellName, nil, namespace)
if spell == nil then
if spell == nil then
2,875

edits