From Arms of God Wiki
Documentation for this module may be created at Module:DamageType/doc
-- Module:DamageType — damage-type hub lookups (Arms of God).
-- Render-time aliases over Module:StatIndex's source-data scans, for the
-- Holy / Fire / Electric Damage hub pages:
-- {{#invoke:DamageType|dealtBy|<element>}} == StatIndex|weapons
-- {{#invoke:DamageType|boostedBy|<element>}} == 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