Module:SummonableCreatureData: Difference between revisions

From UO Outlands Wiki
Jump to navigation Jump to search
(Undo revision 27782 by TheGmaster (talk))
Tag: Undo
mNo edit summary
Line 201: Line 201:
     ["spellicon"] = "bladespirit1",
     ["spellicon"] = "bladespirit1",
     ["necro"] = true,
     ["necro"] = true,
  },
  ["Muck"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 100,
    ["mindmg"] = 12,
    ["maxdmg"] = 16,
    ["wrestling"] = 55,
    ["armor"] = 50,
    ["magicresist"] = 100,
    ["poisonresist"] = 0.33,
    ["specialresist"] = 0.33,
    ["poisontype"] = "Greater",
    ["poisoning"] = 20,
    ["passiveability"] = "Regeneration",
    ["innateability"] = "Elusive Form",
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
    ["creaturepool"] = 1,
   },
   },
   ["Polar Bear"] = {
   ["Polar Bear"] = {
Line 227: Line 246:
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
    ["creaturepool"] = 1,
   },
   },
   ["Grizzly Bear"] = {
   ["Grizzly Bear"] = {
Line 240: Line 260:
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
    ["creaturepool"] = 1,
   },
   },
   ["Primordial Whelp"] = {
   ["Primordial Whelp"] = {
Line 253: Line 274:
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
    ["creaturepool"] = 1,
   },
   },
   ["Shallow Water"] = {
   ["Shallow Water"] = {
Line 269: Line 291:
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
    ["creaturepool"] = 1,
   },
   },
   ["Firebat"] = {
   ["Firebat"] = {
Line 283: Line 306:
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
    ["creaturepool"] = 1,
   },
   },
   ["Monitor Hatchling"] = {
   ["Monitor Hatchling"] = {
Line 296: Line 320:
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
    ["creaturepool"] = 1,
   },
   },
   ["Corpse Eater"] = {
   ["Corpse Eater"] = {
Line 337: Line 362:
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
  },
  ["Scorpion"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 125,
    ["mindmg"] = 14,
    ["maxdmg"] = 18,
    ["wrestling"] = 55,
    ["armor"] = 75,
    ["magicresist"] = 50,
    ["poisonresist"] = 0.33,
    ["poisontype"] = "Greater",
    ["poisoning"] = 20,
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
    ["creaturepool"] = 1,
   },
   },
   ["Aegis Rat"] = {
   ["Aegis Rat"] = {
Line 354: Line 395:
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
    ["creaturepool"] = 1,
   },
   },
   ["Flamehound"] = {
   ["Flamehound"] = {
Line 378: Line 420:
     ["magicresist"] = 100,
     ["magicresist"] = 100,
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 1,
     ["creaturepool"] = 1,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
   },
   },
Line 393: Line 435:
     ["passiveability"] = "Flamestrike",
     ["passiveability"] = "Flamestrike",
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 1,
     ["creaturepool"] = 1,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
   },
   },
Line 410: Line 452:
     ["innateability"] = "Backstab",
     ["innateability"] = "Backstab",
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 1,
     ["creaturepool"] = 1,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
   },
   },
Line 424: Line 466:
     ["passiveability"] = "Enrage",
     ["passiveability"] = "Enrage",
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 1,
     ["creaturepool"] = 1,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
   },
   },
Line 438: Line 480:
     ["cooldownability"] = "Fire Breath",
     ["cooldownability"] = "Fire Breath",
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 2,
     ["creaturepool"] = 2,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
   },
   },
Line 457: Line 499:
     ["innateability"] = "Backstab",
     ["innateability"] = "Backstab",
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 2,
     ["creaturepool"] = 2,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
   },
   },
Line 470: Line 512:
     ["magicresist"] = 75,
     ["magicresist"] = 75,
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 2,
     ["creaturepool"] = 2,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
   },
   },
Line 484: Line 526:
     ["passiveability"] = "Bleed",
     ["passiveability"] = "Bleed",
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 2,
     ["creaturepool"] = 2,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
   },
   },
Line 499: Line 541:
     ["passiveability"] = "Bleed",
     ["passiveability"] = "Bleed",
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 3,
     ["creaturepool"] = 3,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
   },
   },
Line 513: Line 555:
     ["cooldownability"] = "Fire Breath",
     ["cooldownability"] = "Fire Breath",
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 3,
     ["creaturepool"] = 3,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
   },
   },
Line 528: Line 570:
     ["passiveability"] = "Frenzy",
     ["passiveability"] = "Frenzy",
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 3,
     ["creaturepool"] = 3,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
   },
   },
Line 542: Line 584:
     ["passiveability"] = "Spellburn",
     ["passiveability"] = "Spellburn",
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 3,
     ["creaturepool"] = 3,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
   },
   },
Line 556: Line 598:
     ["passiveability"] = "Flamestrike",
     ["passiveability"] = "Flamestrike",
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 4,
     ["creaturepool"] = 4,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
   },
   },
Line 575: Line 617:
     ["innateability"] = "Backstab",
     ["innateability"] = "Backstab",
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 4,
     ["creaturepool"] = 4,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
   },
   },
Line 591: Line 633:
     ["passiveability"] = "Bleed",
     ["passiveability"] = "Bleed",
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 4,
     ["creaturepool"] = 4,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
   },
   },
Line 605: Line 647:
     ["passiveability"] = "Spellburn",
     ["passiveability"] = "Spellburn",
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 4,
     ["creaturepool"] = 4,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
   },
   },
Line 620: Line 662:
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
     ["necro"] = true,
     ["creaturepool"] = 1,
  },
  ["Ghoul"] = {
    ["slots"] = 1,
    ["combat"] = "Spell",
    ["hits"] = 100,
    ["mindmg"] = 5,
    ["maxdmg"] = 7,
    ["wrestling"] = 40,
    ["armor"] = 25,
    ["magicresist"] = 75,
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
     ["necro"] = true,
     ["necro"] = true,
   },
   },
Line 647: Line 677:
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
    ["creaturepool"] = 1,
     ["necro"] = true,
     ["necro"] = true,
   },
   },
Line 659: Line 690:
     ["magicresist"] = 50,
     ["magicresist"] = 50,
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 1,
     ["creaturepool"] = 2,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
     ["passiveability"] = "Enrage",
     ["passiveability"] = "Enrage",
    ["necro"] = true,
  },
  ["Ghoul"] = {
    ["slots"] = 1,
    ["combat"] = "Spell",
    ["hits"] = 100,
    ["mindmg"] = 5,
    ["maxdmg"] = 7,
    ["wrestling"] = 40,
    ["armor"] = 25,
    ["magicresist"] = 75,
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
    ["creaturepool"] = 2,
     ["necro"] = true,
     ["necro"] = true,
   },
   },
Line 674: Line 719:
     ["magicresist"] = 75,
     ["magicresist"] = 75,
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 2,
     ["creaturepool"] = 3,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
    ["necro"] = true,
  },
  ["Ghost"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 200,
    ["mindmg"] = 16,
    ["maxdmg"] = 20,
    ["wrestling"] = 80,
    ["armor"] = 25,
    ["magicresist"] = 50,
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
    ["creaturepool"] = 3,
     ["necro"] = true,
     ["necro"] = true,
   },
   },
Line 688: Line 747:
     ["magicresist"] = 50,
     ["magicresist"] = 50,
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 3,
     ["creaturepool"] = 4,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
     ["necro"] = true,
     ["necro"] = true,
Line 704: Line 763:
     ["specialresist"] = 0.33,
     ["specialresist"] = 0.33,
     ["spellname"] = "Summon Creature",
     ["spellname"] = "Summon Creature",
     ["tometier"] = 4,
     ["creaturepool"] = 4,
     ["spellicon"] = "summoncreature",
     ["spellicon"] = "summoncreature",
     ["necro"] = true,
     ["necro"] = true,
Line 710: Line 769:
}
}


-- Helper function to add comma's between numbers
if type(creature.hits) == "number" then
function FormatInt(int)
  creature.unformattedhits = creature.hits
    int = string.reverse(int)
  creature.hits = FormatInt(creature.hits)
end


    if string.len(int) > 3 and string.len(int) < 6 then
if creature.armormin then
        int = string.gsub(int, "(%d%d%d)", "%1,")
  creature.armormin = "<br>(" .. creature.armormin .. " min)"
    elseif string.len(int) == 6 then
end
        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)
if creature.magicresistmin then
  creature.magicresistmin = "<br>(" .. creature.magicresistmin .. " min)"
end


    return int
if creature.poisonresistmin then
  creature.poisonresistmin = "<br>(" .. creature.poisonresistmin .. " min)"
end
end


for index, creature in pairs(p) do
if creature.poisonresist then
    local defaultStatArray = {
  creature.poisonresist = (creature.poisonresist * 100) .. "%"
        ["hits"] = "?",
end
        ["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
if creature.specialresist then
        creature.unformattedhits = creature.hits
  creature.specialresist = (creature.specialresist * 100) .. "%"
        creature.hits = FormatInt(creature.hits)
end
    end


    if creature.armormin then
if creature.creaturepool then
        creature.armormin = "<br>(" .. creature.armormin .. " min)"
  creature.creaturepool = " (: Pool " .. creature.creaturepool .. ")"
    end
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
for stat, defaultValue in pairs(defaultStatArray) do
        if creature[stat] == nil then
  if creature[stat] == nil then
            creature[stat] = defaultValue
      creature[stat] = defaultValue
        end
  end
    end
end
end


return p
return p

Revision as of 02:16, 18 December 2024

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

local p = {
  ["Daemon"] = {
    ["slots"] = 2,
    ["combat"] = "Spell",
    ["hits"] = 600,
    ["mindmg"] = 26,
    ["maxdmg"] = 32,
    ["wrestling"] = 95,
    ["armor"] = 50,
    ["magicresist"] = 100,
    ["innateability"] = "Fury",
    ["spellname"] = "Summon Daemon",
    ["spellicon"] = "summondaemon1",
  },
  ["Air Elemental"] = {
    ["slots"] = 2,
    ["combat"] = "Melee",
    ["hits"] = 500,
    ["mindmg"] = 34,
    ["maxdmg"] = 40,
    ["wrestling"] = 100,
    ["armor"] = 50,
    ["magicresist"] = 100,
    ["innateability"] = "Cleave",
    ["spellname"] = "Summon Air Elemental",
    ["spellicon"] = "summonairele1",
  },
  ["Earth Elemental"] = {
    ["slots"] = 2,
    ["combat"] = "Melee",
    ["hits"] = 600,
    ["mindmg"] = 30,
    ["maxdmg"] = 36,
    ["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"] = 50,
    ["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"] = 100,
    ["cooldownability"] = "Epic Barrage",
    ["spellname"] = "Summon Fire Elemental",
    ["spellicon"] = "summonfireele1",
  },
  ["Energy Vortex"] = {
    ["slots"] = 2,
    ["combat"] = "Melee",
    ["hits"] = 600,
    ["mindmg"] = 38,
    ["maxdmg"] = 46,
    ["wrestling"] = 105,
    ["armor"] = 50,
    ["magicresist"] = 100,
    ["poisonresist"] = 0.33,
    ["specialresist"] = 0.33,
    ["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,
    ["poisonresist"] = 0.33,
    ["specialresist"] = 0.33,
    ["innateability"] = "Diversion",
    ["spellname"] = "Blade Spirits",
    ["spellicon"] = "bladespirit1",
  },
  ["Vampire Thrall"] = {
    ["slots"] = 2,
    ["combat"] = "Spell",
    ["hits"] = 600,
    ["mindmg"] = 26,
    ["maxdmg"] = 32,
    ["wrestling"] = 95,
    ["armor"] = 50,
    ["magicresist"] = 100,
    ["innateability"] = "Fury",
    ["spellname"] = "Summon Daemon",
    ["spellicon"] = "summondaemon1",
    ["necro"] = true,
  },
  ["Skeletal Fiend"] = {
    ["slots"] = 2,
    ["combat"] = "Melee",
    ["hits"] = 500,
    ["mindmg"] = 34,
    ["maxdmg"] = 40,
    ["wrestling"] = 100,
    ["armor"] = 50,
    ["magicresist"] = 100,
    ["innateability"] = "Cleave",
    ["spellname"] = "Summon Air Elemental",
    ["spellicon"] = "summonairele1",
    ["necro"] = true,
  },
  ["Ancient Mummy"] = {
    ["slots"] = 2,
    ["combat"] = "Melee",
    ["hits"] = 600,
    ["mindmg"] = 30,
    ["maxdmg"] = 36,
    ["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"] = 50,
    ["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"] = 100,
    ["cooldownability"] = "Epic Barrage",
    ["spellname"] = "Summon Fire Elemental",
    ["spellicon"] = "summonfireele1",
    ["necro"] = true,
  },
  ["Jackel Spirit"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 300,
    ["mindmg"] = 18,
    ["maxdmg"] = 22,
    ["wrestling"] = 90,
    ["armor"] = 50,
    ["magicresist"] = 50,
    ["poisonresist"] = 0.33,
    ["specialresist"] = 0.33,
    ["innateability"] = "Diversion",
    ["spellname"] = "Blade Spirits",
    ["spellicon"] = "bladespirit1",
  },
  ["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,
  },
  ["Muck"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 100,
    ["mindmg"] = 12,
    ["maxdmg"] = 16,
    ["wrestling"] = 55,
    ["armor"] = 50,
    ["magicresist"] = 100,
    ["poisonresist"] = 0.33,
    ["specialresist"] = 0.33,
    ["poisontype"] = "Greater",
    ["poisoning"] = 20,
    ["passiveability"] = "Regeneration",
    ["innateability"] = "Elusive Form",
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
    ["creaturepool"] = 1,
  },
  ["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",
    ["creaturepool"] = 1,
  },
  ["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",
    ["creaturepool"] = 1,
  },
  ["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",
    ["creaturepool"] = 1,
  },
  ["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",
    ["creaturepool"] = 1,
  },
  ["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",
    ["creaturepool"] = 1,
  },
  ["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",
    ["creaturepool"] = 1,
  },
  ["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",
  },
  ["Scorpion"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 125,
    ["mindmg"] = 14,
    ["maxdmg"] = 18,
    ["wrestling"] = 55,
    ["armor"] = 75,
    ["magicresist"] = 50,
    ["poisonresist"] = 0.33,
    ["poisontype"] = "Greater",
    ["poisoning"] = 20,
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
    ["creaturepool"] = 1,
  },
  ["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",
    ["creaturepool"] = 1,
  },
  ["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",
    ["creaturepool"] = 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",
    ["creaturepool"] = 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",
    ["creaturepool"] = 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",
    ["creaturepool"] = 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",
    ["creaturepool"] = 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",
    ["creaturepool"] = 2,
    ["spellicon"] = "summoncreature",
  },
  ["Minion"] = {
    ["slots"] = 1,
    ["combat"] = "Spell",
    ["hits"] = 150,
    ["mindmg"] = 9,
    ["maxdmg"] = 13,
    ["wrestling"] = 50,
    ["armor"] = 25,
    ["magicresist"] = 75,
    ["spellname"] = "Summon Creature",
    ["creaturepool"] = 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",
    ["creaturepool"] = 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",
    ["creaturepool"] = 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",
    ["creaturepool"] = 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",
    ["creaturepool"] = 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",
    ["creaturepool"] = 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",
    ["creaturepool"] = 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",
    ["creaturepool"] = 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",
    ["creaturepool"] = 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",
    ["creaturepool"] = 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",
    ["creaturepool"] = 1,
    ["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",
    ["creaturepool"] = 1,
    ["necro"] = true,
  },
  ["Skeletal Knight"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 200,
    ["mindmg"] = 14,
    ["maxdmg"] = 18,
    ["wrestling"] = 50,
    ["armor"] = 25,
    ["magicresist"] = 50,
    ["spellname"] = "Summon Creature",
    ["creaturepool"] = 2,
    ["spellicon"] = "summoncreature",
    ["passiveability"] = "Enrage",
    ["necro"] = true,
  },
  ["Ghoul"] = {
    ["slots"] = 1,
    ["combat"] = "Spell",
    ["hits"] = 100,
    ["mindmg"] = 5,
    ["maxdmg"] = 7,
    ["wrestling"] = 40,
    ["armor"] = 25,
    ["magicresist"] = 75,
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
    ["creaturepool"] = 2,
    ["necro"] = true,
  },
  ["Skeletal Mage"] = {
    ["slots"] = 1,
    ["combat"] = "Spell",
    ["hits"] = 150,
    ["mindmg"] = 7,
    ["maxdmg"] = 9,
    ["wrestling"] = 50,
    ["armor"] = 25,
    ["magicresist"] = 75,
    ["spellname"] = "Summon Creature",
    ["creaturepool"] = 3,
    ["spellicon"] = "summoncreature",
    ["necro"] = true,
  },
  ["Ghost"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 200,
    ["mindmg"] = 16,
    ["maxdmg"] = 20,
    ["wrestling"] = 80,
    ["armor"] = 25,
    ["magicresist"] = 50,
    ["spellname"] = "Summon Creature",
    ["spellicon"] = "summoncreature",
    ["creaturepool"] = 3,
    ["necro"] = true,
  },
  ["Skeletal Marksman"] = {
    ["slots"] = 1,
    ["combat"] = "Melee",
    ["hits"] = 175,
    ["mindmg"] = 12,
    ["maxdmg"] = 16,
    ["wrestling"] = 70,
    ["armor"] = 25,
    ["magicresist"] = 50,
    ["spellname"] = "Summon Creature",
    ["creaturepool"] = 4,
    ["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",
    ["creaturepool"] = 4,
    ["spellicon"] = "summoncreature",
    ["necro"] = true,
  },
}

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.creaturepool then
  creature.creaturepool = " (: Pool " .. creature.creaturepool .. ")"
end

for stat, defaultValue in pairs(defaultStatArray) do
  if creature[stat] == nil then
      creature[stat] = defaultValue
  end
end

return p