From Arms of God Wiki

Documentation for this module may be created at Module:DamageType/doc

-- Module:DamageType — readable aliases for the damage-type hub pages.
--
-- WHAT IT DOES
--   Thin wrappers over Module:StatIndex so the Holy / Fire / Electric
--   Damage hub pages read naturally. No logic of its own; see
--   Module:StatIndex for behavior and source data.
--
-- HOW TO INVOKE
--   {{#invoke:DamageType|dealtBy|Fire Damage}}     == StatIndex|weapons
--   {{#invoke:DamageType|boostedBy|Fire Damage}}   == StatIndex|boosters
local StatIndex = require('Module:StatIndex')
local p = {}

function p.dealtBy(frame)
  return StatIndex.weapons(frame)
end

function p.boostedBy(frame)
  return StatIndex.boosters(frame)
end

return p