Module:Creature Mutation Query: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 24: Line 24:


result= doQuery(mutation)
result= doQuery(mutation)
mutation, parentheses = formatQuery(result["Cost"], result["Type"])
if result ~= nil then
 
  return format(result["_pageName"], mutation, result["cost"], result["type"], level, ego)
else
  return format(mutation, mutation, nil, "", level, ego)
end
end
end


Line 83: Line 86:
    
    
   return formatResult(page, name, formattedLevel, modifier, isMental)
   return formatResult(page, name, formattedLevel, modifier, isMental)
end
function p.test()
a= doQuery("Night Vision")
return format(a["_pageName"], "Night Vision", a["cost"], a["type"], 1, 18)
end
end


return p
return p

Navigation menu