Module:SummonableCreatureData
Documentation for this module may be created at Module:SummonableCreatureData/doc
local p = { ["Daemon"] = { ["slots"] = 2, ["combat"] = "Spell", ["hits"] = 600, ["mindmg"] = 24, ["maxdmg"] = 30, ["wrestling"] = 95, ["armor"] = 50, ["magicresist"] = 50, ["innateability"] = "Fury", ["spellname"] = "Summon Daemon", ["spellicon"] = "iconsummondaemon", }, ["Air Elemental"] = { ["slots"] = 2, ["combat"] = "Melee", ["hits"] = 500, ["mindmg"] = 30, ["maxdmg"] = 40, ["wrestling"] = 110, ["armor"] = 25, ["magicresist"] = 50, ["passiveability"] = "Bleed", ["innateability"] = "Cleave", ["spellname"] = "Summon Air Elemental", ["spellicon"] = "iconsummonair", }, ["Earth Elemental"] = { ["slots"] = 2, ["combat"] = "Melee", ["hits"] = 600, ["mindmg"] = 40, ["maxdmg"] = 50, ["wrestling"] = 95, ["armor"] = 75, ["magicresist"] = 50, ["specialresist"] = 0.33, ["innateability"] = "Rooted", ["spellname"] = "Summon Earth Elemental", ["spellicon"] = "iconsummonearth", }, ["Water Elemental"] = { ["slots"] = 2, ["combat"] = "Spell", ["hits"] = 600, ["mindmg"] = 24, ["maxdmg"] = 30, ["wrestling"] = 100, ["armor"] = 25, ["magicresist"] = 150, ["poisonresist"] = 0.66, ["specialresist"] = 0.33, ["cooldownability"] = "Mirror", ["innateability"] = "Elusive Form", ["spellname"] = "Summon Water Elemental", ["spellicon"] = "iconsummonwater", }, ["Fire Elemental"] = { ["slots"] = 2, ["combat"] = "Spell", ["hits"] = 400, ["mindmg"] = 28, ["maxdmg"] = 34, ["wrestling"] = 85, ["armor"] = 25, ["magicresist"] = 50, ["cooldownability"] = "Epic Barrage", ["spellname"] = "Summon Fire Elemental", ["spellicon"] = "iconsummonfire", }, ["Energy Vortex"] = { ["slots"] = 2, ["combat"] = "Melee", ["hits"] = 600, ["mindmg"] = 36, ["maxdmg"] = 42, ["wrestling"] = 105, ["armor"] = 25, ["magicresist"] = 100, ["innateability"] = "Discharge", ["spellname"] = "Energy Vortex", ["spellicon"] = "iconenergyvortex", }, ["Blade Spirit"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 300, ["mindmg"] = 18, ["maxdmg"] = 22, ["wrestling"] = 90, ["armor"] = 50, ["magicresist"] = 50, ["innateability"] = "Diversion", ["spellname"] = "Blade Spirits", ["spellicon"] = "iconbladespirits", }, ["Vampire Thrall"] = { ["slots"] = 2, ["combat"] = "Spell", ["hits"] = 600, ["mindmg"] = 24, ["maxdmg"] = 30, ["wrestling"] = 95, ["armor"] = 50, ["magicresist"] = 50, ["innateability"] = "Fury", ["spellname"] = "Summon Daemon", ["spellicon"] = "iconsummondaemon", ["necro"] = true, }, ["Skeletal Fiend"] = { ["slots"] = 2, ["combat"] = "Melee", ["hits"] = 500, ["mindmg"] = 30, ["maxdmg"] = 40, ["wrestling"] = 110, ["armor"] = 25, ["magicresist"] = 50, ["passiveability"] = "Bleed", ["innateability"] = "Cleave", ["spellname"] = "Summon Air Elemental", ["spellicon"] = "iconsummonair", ["necro"] = true, }, ["Ancient Mummy"] = { ["slots"] = 2, ["combat"] = "Melee", ["hits"] = 600, ["mindmg"] = 40, ["maxdmg"] = 50, ["wrestling"] = 95, ["armor"] = 75, ["magicresist"] = 50, ["specialresist"] = 0.33, ["innateability"] = "Rooted", ["spellname"] = "Summon Earth Elemental", ["spellicon"] = "iconsummonearth", ["necro"] = true, }, ["Rag Witch"] = { ["slots"] = 2, ["combat"] = "Spell", ["hits"] = 600, ["mindmg"] = 24, ["maxdmg"] = 30, ["wrestling"] = 100, ["armor"] = 25, ["magicresist"] = 150, ["poisonresist"] = 0.66, ["specialresist"] = 0.33, ["cooldownability"] = "Mirror", ["innateability"] = "Elusive Form", ["spellname"] = "Summon Water Elemental", ["spellicon"] = "iconsummonwater", ["necro"] = true, }, ["Lich"] = { ["slots"] = 2, ["combat"] = "Spell", ["hits"] = 400, ["mindmg"] = 28, ["maxdmg"] = 34, ["wrestling"] = 85, ["armor"] = 25, ["magicresist"] = 50, ["cooldownability"] = "Epic Barrage", ["spellname"] = "Summon Fire Elemental", ["spellicon"] = "iconsummonfire", ["necro"] = true, }, ["Jackel Spirit"] = { ["slots"] = 2, ["combat"] = "Melee", ["hits"] = 600, ["mindmg"] = 36, ["maxdmg"] = 42, ["wrestling"] = 105, ["armor"] = 25, ["magicresist"] = 100, ["innateability"] = "Discharge", ["spellname"] = "Energy Vortex", ["spellicon"] = "iconenergyvortex", }, ["Skeletal Husk"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 300, ["mindmg"] = 18, ["maxdmg"] = 22, ["wrestling"] = 90, ["armor"] = 50, ["magicresist"] = 50, ["innateability"] = "Diversion", ["spellname"] = "Blade Spirits", ["spellicon"] = "iconbladespirits", ["necro"] = true, }, ["Polar Bear"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 175, ["mindmg"] = 18, ["maxdmg"] = 22, ["wrestling"] = 55, ["armor"] = 25, ["magicresist"] = 50, ["passiveability"] = "Enrage", ["spellname"] = "Summon Creature", ["spellicon"] = "iconsummoncreature", }, ["Sand Crab"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 125, ["mindmg"] = 16, ["maxdmg"] = 20, ["wrestling"] = 60, ["armor"] = 75, ["magicresist"] = 50, ["cooldownability"] = "Crush", ["spellname"] = "Summon Creature", ["spellicon"] = "iconsummoncreature", }, ["Grizzly Bear"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 175, ["mindmg"] = 18, ["maxdmg"] = 22, ["wrestling"] = 55, ["armor"] = 25, ["magicresist"] = 50, ["passiveability"] = "Enrage", ["spellname"] = "Summon Creature", ["spellicon"] = "iconsummoncreature", }, ["Primordial Whelp"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 125, ["mindmg"] = 14, ["maxdmg"] = 18, ["wrestling"] = 65, ["armor"] = 25, ["magicresist"] = 50, ["passiveability"] = "Frenzy", ["spellname"] = "Summon Creature", ["spellicon"] = "iconsummoncreature", }, ["Shallow Water"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 100, ["mindmg"] = 16, ["maxdmg"] = 20, ["wrestling"] = 60, ["armor"] = 25, ["magicresist"] = 100, ["poisonresist"] = 0.33, ["specialresist"] = 0.33, ["passiveability"] = { "Soak", "Regeneration" }, ["innateability"] = "Elusive Form", ["spellname"] = "Summon Creature", ["spellicon"] = "iconsummoncreature", }, ["Firebat"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 125, ["mindmg"] = 12, ["maxdmg"] = 16, ["wrestling"] = 65, ["armor"] = 25, ["magicresist"] = 50, ["specialresist"] = 0.33, ["passiveability"] = { "Flamestrike", "Bleed" }, ["spellname"] = "Summon Creature", ["spellicon"] = "iconsummoncreature", }, ["Monitor Hatchling"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 125, ["mindmg"] = 16, ["maxdmg"] = 20, ["wrestling"] = 55, ["armor"] = 50, ["magicresist"] = 50, ["cooldownability"] = "Crush", ["spellname"] = "Summon Creature", ["spellicon"] = "iconsummoncreature", }, ["Corpse Eater"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 125, ["mindmg"] = 18, ["maxdmg"] = 22, ["wrestling"] = 60, ["armor"] = 50, ["magicresist"] = 50, ["poisonresist"] = 0.33, ["specialresist"] = 0.33, ["passiveability"] = "Disease", ["spellname"] = "Summon Creature", ["spellicon"] = "iconsummoncreature", }, ["Black Bear"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 150, ["mindmg"] = 18, ["maxdmg"] = 22, ["wrestling"] = 50, ["armor"] = 25, ["magicresist"] = 50, ["passiveability"] = "Enrage", ["spellname"] = "Summon Creature", ["spellicon"] = "iconsummoncreature", }, ["Brown Bear"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 150, ["mindmg"] = 18, ["maxdmg"] = 22, ["wrestling"] = 50, ["armor"] = 25, ["magicresist"] = 50, ["passiveability"] = "Enrage", ["spellname"] = "Summon Creature", ["spellicon"] = "iconsummoncreature", }, ["Aegis Rat"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 100, ["mindmg"] = 16, ["maxdmg"] = 20, ["wrestling"] = 65, ["armor"] = 25, ["magicresist"] = 100, ["poisonresist"] = 0.33, ["specialresist"] = 0.33, ["underdogscalar"] = 1.371, ["cooldownability"] = "Mirror", ["passiveability"] = "Disease", ["spellname"] = "Summon Creature", ["spellicon"] = "iconsummoncreature", }, ["Flamehound"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 125, ["mindmg"] = 14, ["maxdmg"] = 18, ["wrestling"] = 60, ["armor"] = 25, ["magicresist"] = 50, ["passiveability"] = { "Flamestrike", "Frenzy" }, ["spellname"] = "Summon Creature", ["spellicon"] = "iconsummoncreature", }, ["Imp"] = { ["slots"] = 1, ["combat"] = "Spell", ["hits"] = 125, ["mindmg"] = 9, ["maxdmg"] = 12, ["wrestling"] = 45, ["armor"] = 25, ["magicresist"] = 100, ["spellname"] = "Summon Creature", ["tometier"] = 1, ["spellicon"] = "iconsummoncreature", }, ["Searing Lizard"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 150, ["mindmg"] = 18, ["maxdmg"] = 22, ["wrestling"] = 55, ["armor"] = 50, ["magicresist"] = 50, ["cooldownability"] = "Crush", ["passiveability"] = "Flamestrike", ["spellname"] = "Summon Creature", ["tometier"] = 1, ["spellicon"] = "iconsummoncreature", }, ["Jaguar"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 125, ["mindmg"] = 12, ["maxdmg"] = 16, ["wrestling"] = 65, ["armor"] = 25, ["magicresist"] = 50, ["stealth"] = "X", ["cooldownability"] = "Vanish", ["passiveability"] = "Frenzy", ["innateability"] = "Backstab", ["spellname"] = "Summon Creature", ["tometier"] = 1, ["spellicon"] = "iconsummoncreature", }, ["Cave Bear"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 175, ["mindmg"] = 18, ["maxdmg"] = 22, ["wrestling"] = 55, ["armor"] = 25, ["magicresist"] = 50, ["passiveability"] = "Enrage", ["spellname"] = "Summon Creature", ["tometier"] = 1, ["spellicon"] = "iconsummoncreature", }, ["Drake Whelp"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 125, ["mindmg"] = 16, ["maxdmg"] = 20, ["wrestling"] = 60, ["armor"] = 50, ["magicresist"] = 50, ["cooldownability"] = "Fire Breath", ["spellname"] = "Summon Creature", ["tometier"] = 2, ["spellicon"] = "iconsummoncreature", }, ["Trapdoor Spider"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 125, ["mindmg"] = 14, ["maxdmg"] = 18, ["wrestling"] = 60, ["armor"] = 25, ["magicresist"] = 50, ["poisonresist"] = 0.33, ["poisontype"] = "Greater", ["poisoning"] = 20, ["stealth"] = "X", ["cooldownability"] = { "Vanish", "Web" }, ["innateability"] = "Backstab", ["spellname"] = "Summon Creature", ["tometier"] = 2, ["spellicon"] = "iconsummoncreature", }, ["Minion"] = { ["slots"] = 1, ["combat"] = "Spell", ["hits"] = 150, ["mindmg"] = 9, ["maxdmg"] = 13, ["wrestling"] = 50, ["armor"] = 25, ["magicresist"] = 75, ["spellname"] = "Summon Creature", ["tometier"] = 2, ["spellicon"] = "iconsummoncreature", }, ["Cave Bat"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 125, ["mindmg"] = 18, ["maxdmg"] = 22, ["wrestling"] = 80, ["armor"] = 25, ["magicresist"] = 50, ["passiveability"] = "Bleed", ["spellname"] = "Summon Creature", ["tometier"] = 2, ["spellicon"] = "iconsummoncreature", }, ["Blood Ape"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 175, ["mindmg"] = 18, ["maxdmg"] = 22, ["wrestling"] = 65, ["armor"] = 25, ["magicresist"] = 50, ["cooldownability"] = "Blood Frenzy", ["passiveability"] = "Bleed", ["spellname"] = "Summon Creature", ["tometier"] = 3, ["spellicon"] = "iconsummoncreature", }, ["Dragon Whelp"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 150, ["mindmg"] = 18, ["maxdmg"] = 22, ["wrestling"] = 60, ["armor"] = 50, ["magicresist"] = 50, ["cooldownability"] = "Fire Breath", ["spellname"] = "Summon Creature", ["tometier"] = 3, ["spellicon"] = "iconsummoncreature", }, ["Wolfhound"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 175, ["mindmg"] = 16, ["maxdmg"] = 20, ["wrestling"] = 70, ["armor"] = 25, ["magicresist"] = 50, ["cooldownability"] = "Charge", ["passiveability"] = "Frenzy", ["spellname"] = "Summon Creature", ["tometier"] = 3, ["spellicon"] = "iconsummoncreature", }, ["Searing Imp"] = { ["slots"] = 1, ["combat"] = "Spell", ["hits"] = 150, ["mindmg"] = 9, ["maxdmg"] = 12, ["wrestling"] = 50, ["armor"] = 25, ["magicresist"] = 100, ["passiveability"] = "Spellburn", ["spellname"] = "Summon Creature", ["tometier"] = 3, ["spellicon"] = "iconsummoncreature", }, ["Molten Mongbat"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 175, ["mindmg"] = 20, ["maxdmg"] = 24, ["wrestling"] = 75, ["armor"] = 25, ["magicresist"] = 50, ["passiveability"] = "Flamestrike", ["spellname"] = "Summon Creature", ["tometier"] = 4, ["spellicon"] = "iconsummoncreature", }, ["Skulker"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 175, ["mindmg"] = 16, ["maxdmg"] = 20, ["wrestling"] = 70, ["armor"] = 50, ["magicresist"] = 50, ["poisonresist"] = 0.33, ["specialresist"] = 0.33, ["stealth"] = "X", ["cooldownability"] = "Vanish", ["passiveability"] = "Disease", ["innateability"] = "Backstab", ["spellname"] = "Summon Creature", ["tometier"] = 4, ["spellicon"] = "iconsummoncreature", }, ["Vampire Bat"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 150, ["mindmg"] = 20, ["maxdmg"] = 24, ["wrestling"] = 85, ["armor"] = 25, ["magicresist"] = 50, ["specialresist"] = 0.33, ["cooldownability"] = "Devour", ["passiveability"] = "Bleed", ["spellname"] = "Summon Creature", ["tometier"] = 4, ["spellicon"] = "iconsummoncreature", }, ["Fire Minion"] = { ["slots"] = 1, ["combat"] = "Spell", ["hits"] = 150, ["mindmg"] = 9, ["maxdmg"] = 13, ["wrestling"] = 60, ["armor"] = 25, ["magicresist"] = 75, ["passiveability"] = "Spellburn", ["spellname"] = "Summon Creature", ["tometier"] = 4, ["spellicon"] = "iconsummoncreature", }, ["Zombie"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 175, ["mindmg"] = 12, ["maxdmg"] = 16, ["wrestling"] = 40, ["armor"] = 25, ["magicresist"] = 50, ["passiveability"] = "Disease", ["spellname"] = "Summon Creature", ["spellicon"] = "iconsummoncreature", ["necro"] = true, }, ["Ghoul"] = { ["slots"] = 1, ["combat"] = "Spell", ["hits"] = 100, ["mindmg"] = 5, ["maxdmg"] = 7, ["wrestling"] = 40, ["armor"] = 25, ["magicresist"] = 75, ["spellname"] = "Summon Creature", ["spellicon"] = "iconsummoncreature", ["necro"] = true, }, ["Skeleton"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 175, ["mindmg"] = 14, ["maxdmg"] = 18, ["wrestling"] = 45, ["armor"] = 25, ["magicresist"] = 50, ["passiveability"] = "Enrage", ["spellname"] = "Summon Creature", ["spellicon"] = "iconsummoncreature", ["necro"] = true, }, ["Skeletal Knight"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 200, ["mindmg"] = 14, ["maxdmg"] = 18, ["wrestling"] = 50, ["armor"] = 25, ["magicresist"] = 50, ["spellname"] = "Summon Creature", ["tometier"] = 1, ["spellicon"] = "iconsummoncreature", ["passiveability"] = "Enrage", ["necro"] = true, }, ["Skeletal Mage"] = { ["slots"] = 1, ["combat"] = "Spell", ["hits"] = 150, ["mindmg"] = 7, ["maxdmg"] = 9, ["wrestling"] = 50, ["armor"] = 25, ["magicresist"] = 75, ["spellname"] = "Summon Creature", ["tometier"] = 2, ["spellicon"] = "iconsummoncreature", ["necro"] = true, }, ["Skeletal Marksman"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 175, ["mindmg"] = 12, ["maxdmg"] = 16, ["wrestling"] = 70, ["armor"] = 25, ["magicresist"] = 50, ["spellname"] = "Summon Creature", ["tometier"] = 3, ["spellicon"] = "iconsummoncreature", ["necro"] = true, }, ["Rotting Flesh"] = { ["slots"] = 1, ["combat"] = "Melee", ["hits"] = 225, ["mindmg"] = 14, ["maxdmg"] = 18, ["wrestling"] = 70, ["armor"] = 25, ["magicresist"] = 50, ["poisonresist"] = 0.33, ["specialresist"] = 0.33, ["spellname"] = "Summon Creature", ["tometier"] = 4, ["spellicon"] = "iconsummoncreature", ["necro"] = true, }, } -- Helper function to add comma's between numbers function FormatInt(int) int = string.reverse(int) if string.len(int) > 3 and string.len(int) < 6 then int = string.gsub(int, "(%d%d%d)", "%1,") elseif string.len(int) == 6 then int = string.gsub(int, "(%d%d%d)(%d%d%d)", "%1,%2") elseif string.len(int) > 6 and string.len(int) < 9 then int = string.gsub(int, "(%d%d%d)(%d%d%d)", "%1,%2,") end int = string.reverse(int) return int end for index, creature in pairs(p) do local defaultStatArray = { ["hits"] = "?", ["mindmg"] = "?", ["maxdmg"] = "?", ["wrestling"] = "", ["armor"] = "", ["magicresist"] = "", ["parry"] = "", ["atkspd"] = "?", ["magery"] = "", ["poisontype"] = "", ["poisoning"] = "", ["poisonresist"] = "", ["stealth"] = "", ["armormin"] = "", ["magicresistmin"] = "", ["poisonresistmin"] = "", ["slots"] = "?", ["combat"] = "?", ["cooldownability"] = "", ["innateability"] = "", ["passiveability"] = "", ["specialresist"] = "", ["spellname"] = "", ["spellicon"] = "", ["necro"] = false, ["tometier"] = "", } if type(creature.hits) == "number" then creature.unformattedhits = creature.hits creature.hits = FormatInt(creature.hits) end if creature.armormin then creature.armormin = "<br>(" .. creature.armormin .. " min)" end if creature.magicresistmin then creature.magicresistmin = "<br>(" .. creature.magicresistmin .. " min)" end if creature.poisonresistmin then creature.poisonresistmin = "<br>(" .. creature.poisonresistmin .. " min)" end if creature.poisonresist then creature.poisonresist = (creature.poisonresist * 100) .. "%" end if creature.specialresist then creature.specialresist = (creature.specialresist * 100) .. "%" end if creature.tometier then creature.tometier = " (Tier " .. creature.tometier .. ")" end for stat, defaultValue in pairs(defaultStatArray) do if creature[stat] == nil then creature[stat] = defaultValue end end end return p