data = { } data.gems = { } data.gems["_default"] = { attack = true, melee = true, base = { }, quality = { }, levels = { [1] = { } }, } LoadModule("Gems/act_str", data.gems) LoadModule("Gems/act_dex", data.gems) LoadModule("Gems/act_int", data.gems) LoadModule("Gems/sup_str", data.gems) LoadModule("Gems/sup_dex", data.gems) LoadModule("Gems/sup_int", data.gems) data.colorCodes = { NORMAL = "^xC8C8C8", MAGIC = "^x8888FF", RARE = "^xFFFF77", UNIQUE = "^xAF6025", FIRE = "^x960000", COLD = "^x366492", LIGHT = "^xFFD700", CHAOS = "^xD02090", } data.jewelRadius = { { rad = 800, col = "^xFFBB33", label = "Small" }, { rad = 1200, col = "^x33FF66", label = "Medium" }, { rad = 1500, col = "^x3333FF", label = "Large" } } data.evasionTable = { 36, 42, 49, 56, 64, 72, 80, 89, 98, 108, 118, 128, 140, 151, 164, 177, 190, 204, 219, 235, 251, 268, 286, 305, 325, 345, 367, 389, 412, 437, 463, 489, 517, 546, 577, 609, 642, 676, 713, 750, 790, 831, 873, 918, 964, 1013, 1063, 1116, 1170, 1227, 1287, 1349, 1413, 1480, 1550, 1623, 1698, 1777, 1859, 1944, 2033, 2125, 2221, 2321, 2425, 2533, 2645, 2761, 2883, 3009, 3140, 3276, 3418, 3565, 3717, 3876, 4041, 4213, 4391, 4574, 4767, 4969, 5179, 5398 } data.weaponTypeInfo = { ["None"] = { oneHand = true, melee = true, space = "unarmed" }, ["Bow"] = { oneHand = false, melee = false, space = "bow" }, ["Claw"] = { oneHand = true, melee = true, space = "claw" }, ["Dagger"] = { oneHand = true, melee = true, space = "dagger" }, ["Staff"] = { oneHand = false, melee = true, space = "staff" }, ["Wand"] = { oneHand = true, melee = false, space = "wand" }, ["One Handed Axe"] = { oneHand = true, melee = true, space = "axe" }, ["One Handed Mace"] = { oneHand = true, melee = true, space = "mace" }, ["One Handed Sword"] = { oneHand = true, melee = true, space = "sword" }, ["Two Handed Axe"] = { oneHand = false, melee = true, space = "axe" }, ["Two Handed Mace"] = { oneHand = false, melee = true, space = "mace" }, ["Two Handed Sword"] = { oneHand = false, melee = true, space = "sword" }, } data.unarmedWeap = { [0] = { attackRate = 1.2, critChanceBase = 0, physicalMin = 2, physicalMax = 6 }, -- Scion [1] = { attackRate = 1.2, critChanceBase = 0, physicalMin = 2, physicalMax = 8 }, -- Marauder [2] = { attackRate = 1.2, critChanceBase = 0, physicalMin = 2, physicalMax = 5 }, -- Ranger [3] = { attackRate = 1.2, critChanceBase = 0, physicalMin = 2, physicalMax = 5 }, -- Witch [4] = { attackRate = 1.2, critChanceBase = 0, physicalMin = 2, physicalMax = 6 }, -- Duelist [5] = { attackRate = 1.2, critChanceBase = 0, physicalMin = 2, physicalMax = 6 }, -- Templar [6] = { attackRate = 1.2, critChanceBase = 0, physicalMin = 2, physicalMax = 5 }, -- Shadow } data.itemBases = { } local itemTypes = { "axe", "bow", "claw", "dagger", "mace", "staff", "sword", "wand", "helm", "body", "glove", "boots", "shield", "misc" } for _, type in pairs(itemTypes) do LoadModule("items/"..type, data.itemBases) end