Module:SummonableCreatureData

From UO Outlands Wiki
Jump to navigation Jump to search

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"] = "summondaemon1",
  },
  ["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"] = "summonairele1",
  },
  ["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"] = "summonearthele1",
  },
  ["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"] = "summonwaterele1",
  },
  ["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"] = "summonfireele1",
  },
  ["Energy Vortex"] = {
    ["slots"] = 2,
    ["combat"] = "Melee",
    ["hits"] = 600,
    ["mindmg"] = 36,
    ["maxdmg"] = 42,
    ["wrestling"] = 105,
    ["armor"] = 25,
    ["magicresist"] = 100,
    ["innateability"] = "Discharge",
    ["spellname"] = "Energy Vortex",
    ["spellicon"] = "summonev1",
  },
  ["Blade Spirit"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 300,
    ["mindmg"] = 18,
    ["maxdmg"] = 22,
    ["wrestling"] = 90,
    ["armor"] = 50,
    ["magicresist"] = 50,
    ["innateability"] = "Diversion",
    ["spellname"] = "Blade Spirits",
    ["spellicon"] = "bladespirit1",
  },
  ["Vampire Thrall"] = {
    ["slots"] = 2,
    ["combat"] = "Spell",
    ["hits"] = 600,
    ["mindmg"] = 24,
    ["maxdmg"] = 30,
    ["wrestling"] = 95,
    ["armor"] = 50,
    ["magicresist"] = 50,
    ["innateability"] = "Fury",
    ["spellname"] = "Summon Daemon",
    ["spellicon"] = "summondaemon1",
    ["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"] = "summonairele1",
    ["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"] = "summonearthele1",
    ["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"] = "summonwaterele1",
    ["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"] = "summonfireele1",
    ["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"] = "summonev1",
  },
  ["Skeletal Husk"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 300,
    ["mindmg"] = 18,
    ["maxdmg"] = 22,
    ["wrestling"] = 90,
    ["armor"] = 50,
    ["magicresist"] = 50,
    ["innateability"] = "Diversion",
    ["spellname"] = "Blade Spirits",
    ["spellicon"] = "bladespirit1",
    ["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"] = "summoncreature",
  },
  ["Sand Crab"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 125,
    ["mindmg"] = 16,
    ["maxdmg"] = 20,
    ["wrestling"] = 60,
    ["armor"] = 75,
    ["magicresist"] = 50,
    ["cooldownability"] = "Crush",
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
  },
  ["Grizzly Bear"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 175,
    ["mindmg"] = 18,
    ["maxdmg"] = 22,
    ["wrestling"] = 55,
    ["armor"] = 25,
    ["magicresist"] = 50,
    ["passiveability"] = "Enrage",
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
  },
  ["Primordial Whelp"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 125,
    ["mindmg"] = 14,
    ["maxdmg"] = 18,
    ["wrestling"] = 65,
    ["armor"] = 25,
    ["magicresist"] = 50,
    ["passiveability"] = "Frenzy",
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["Monitor Hatchling"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 125,
    ["mindmg"] = 16,
    ["maxdmg"] = 20,
    ["wrestling"] = 55,
    ["armor"] = 50,
    ["magicresist"] = 50,
    ["cooldownability"] = "Crush",
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["Black Bear"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 150,
    ["mindmg"] = 18,
    ["maxdmg"] = 22,
    ["wrestling"] = 50,
    ["armor"] = 25,
    ["magicresist"] = 50,
    ["passiveability"] = "Enrage",
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
  },
  ["Brown Bear"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 150,
    ["mindmg"] = 18,
    ["maxdmg"] = 22,
    ["wrestling"] = 50,
    ["armor"] = 25,
    ["magicresist"] = 50,
    ["passiveability"] = "Enrage",
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["Flamehound"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 125,
    ["mindmg"] = 14,
    ["maxdmg"] = 18,
    ["wrestling"] = 60,
    ["armor"] = 25,
    ["magicresist"] = 50,
    ["passiveability"] = { "Flamestrike", "Frenzy" },
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
  },
  ["Imp"] = {
    ["slots"] = 1,
    ["combat"] = "Spell",
    ["hits"] = 125,
    ["mindmg"] = 9,
    ["maxdmg"] = 12,
    ["wrestling"] = 45,
    ["armor"] = 25,
    ["magicresist"] = 100,
    ["spellname"] = "Summon Creature",
    ["tometier"] = 1,
    ["spellicon"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["Minion"] = {
    ["slots"] = 1,
    ["combat"] = "Spell",
    ["hits"] = 150,
    ["mindmg"] = 9,
    ["maxdmg"] = 13,
    ["wrestling"] = 50,
    ["armor"] = 25,
    ["magicresist"] = 75,
    ["spellname"] = "Summon Creature",
    ["tometier"] = 2,
    ["spellicon"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["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"] = "summoncreature",
  },
  ["Zombie"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 175,
    ["mindmg"] = 12,
    ["maxdmg"] = 16,
    ["wrestling"] = 40,
    ["armor"] = 25,
    ["magicresist"] = 50,
    ["passiveability"] = "Disease",
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
    ["necro"] = true,
  },
  ["Ghoul"] = {
    ["slots"] = 1,
    ["combat"] = "Spell",
    ["hits"] = 100,
    ["mindmg"] = 5,
    ["maxdmg"] = 7,
    ["wrestling"] = 40,
    ["armor"] = 25,
    ["magicresist"] = 75,
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
    ["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"] = "summoncreature",
    ["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"] = "summoncreature",
    ["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"] = "summoncreature",
    ["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"] = "summoncreature",
    ["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"] = "summoncreature",
    ["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