Exemple #1
0
    def importRequiredDefaults(cls):
        damageProfileList = [["Uniform", "25", "25", "25", "25"]]

        for damageProfileRow in damageProfileList:
            name, em, therm, kin, exp = damageProfileRow
            damageProfile = eos.db.getDamagePattern(name)
            if damageProfile is None:
                damageProfile = es_DamagePattern(em, therm, kin, exp)
                damageProfile.name = name
                eos.db.save(damageProfile)
    def importRequiredDefaults(cls):
        damageProfileList = [["Uniform", "25", "25", "25", "25"]]

        for damageProfileRow in damageProfileList:
            name, em, therm, kin, exp = damageProfileRow
            damageProfile = eos.db.getDamagePattern(name)
            if damageProfile is None:
                damageProfile = es_DamagePattern(em, therm, kin, exp)
                damageProfile.name = name
                eos.db.save(damageProfile)
Exemple #3
0
    def importRequiredDefaults(cls):
        damageProfileList = [["Uniform", 25, 25, 25, 25]]

        for damageProfileRow in damageProfileList:
            name, em, therm, kin, exp = damageProfileRow
            damageProfile = eos.db.getDamagePattern(name)
            if damageProfile is None:
                damageProfile = es_DamagePattern(em, therm, kin, exp)
                damageProfile.name = name
                eos.db.add(damageProfile)
            else:
                damageProfile.emAmount = em
                damageProfile.thermalAmount = therm
                damageProfile.kineticAmount = kin
                damageProfile.explosiveAmount = exp
        eos.db.commit()
Exemple #4
0
    def setAsPattern(self, fitID, ammo):
        if fitID is None:
            return

        sDP = DamagePattern.getInstance()
        dp = sDP.getDamagePattern("Selected Ammo")
        if dp is None:
            dp = es_DamagePattern()
            dp.name = "Selected Ammo"

        fit = eos.db.getFit(fitID)
        for attr in ("em", "thermal", "kinetic", "explosive"):
            setattr(dp, "%sAmount" % attr, ammo.getAttribute("%sDamage" % attr) or 0)

        fit.damagePattern = dp
        self.recalc(fit)
Exemple #5
0
    def setAsPattern(self, fitID, ammo):
        if fitID is None:
            return

        sDP = s_DamagePattern.getInstance()
        dp = sDP.getDamagePattern("Selected Ammo")
        if dp is None:
            dp = es_DamagePattern()
            dp.name = "Selected Ammo"

        fit = getFit(fitID)
        for attr in ("em", "thermal", "kinetic", "explosive"):
            setattr(dp, "%sAmount" % attr,
                    ammo.getAttribute("%sDamage" % attr) or 0)

        fit.damagePattern = dp
        self.recalc(fit)
Exemple #6
0
 def newPattern(self, name):
     p = es_DamagePattern(0, 0, 0, 0)
     p.name = name
     eds_queries.save(p)
     return p
Exemple #7
0
 def newPattern(name):
     p = es_DamagePattern(0, 0, 0, 0)
     p.name = name
     eos.db.save(p)
     return p
Exemple #8
0
    def importDamageProfileDefaults(cls):
        damageProfileList = [
            ["Uniform", "25", "25", "25", "25"],
            ["[Generic]EM", "100", "0", "0", "0"],
            ["[Generic]Thermal", "0", "100", "0", "0"],
            ["[Generic]Kinetic", "0", "0", "100", "0"],
            ["[Generic]Explosive", "0", "0", "0", "100"],
            ["[NPC][Asteroid] Blood Raiders", "5067", "4214", "0", "0"],
            ["[Bombs]Concussion Bomb", "0", "0", "6400", "0"],
            ["[Bombs]Electron Bomb", "6400", "0", "0", "0"],
            ["[Bombs]Scorch Bomb", "0", "6400", "0", "0"],
            ["[Bombs]Shrapnel Bomb", "0", "0", "0", "6400"],
            ["[Frequency Crystals][T2] Gleam", "56", "56", "0", "0"],
            ["[Frequency Crystals][T2] Aurora", "40", "24", "0", "0"],
            ["[Frequency Crystals][T2] Scorch", "72", "16", "0", "0"],
            [
                "[Frequency Crystals][T2] Conflagration", "61.6", "61.6", "0",
                "0"
            ], ["[Frequency Crystals]Gamma", "61.6", "35.2", "0", "0"],
            ["[Frequency Crystals]Infrared", "44", "17.6", "0", "0"],
            ["[Frequency Crystals]Microwave", "35.2", "17.6", "0", "0"],
            ["[Frequency Crystals]Multifrequency", "61.6", "44", "0", "0"],
            ["[Frequency Crystals]Radio", "44", "0", "0", "0"],
            ["[Frequency Crystals]Standard", "44", "26.4", "0", "0"],
            ["[Frequency Crystals]Ultraviolet", "52.8", "26.4", "0", "0"],
            ["[Frequency Crystals]Xray", "52.8", "35.2", "0", "0"],
            ["[Hybrid Charges][T2] Void", "0", "61.6", "61.6", "0"],
            ["[Hybrid Charges][T2] Null", "0", "48", "40", "0"],
            ["[Hybrid Charges][T2] Javelin", "0", "64", "48", "0"],
            ["[Hybrid Charges][T2] Spike", "0", "32", "32", "0"],
            ["[Hybrid Charges]Antimatter", "0", "48", "67.2", "0"],
            ["[Hybrid Charges]Iridium", "0", "28.8", "38.4", "0"],
            ["[Hybrid Charges]Iron", "0", "19.2", "28.8", "0"],
            ["[Hybrid Charges]Lead", "0", "28.8", "48", "0"],
            ["[Hybrid Charges]Plutonium", "0", "48", "57.6", "0"],
            ["[Hybrid Charges]Thorium", "0", "38.4", "48", "0"],
            ["[Hybrid Charges]Tungsten", "0", "19.2", "38.4", "0"],
            ["[Hybrid Charges]Uranium", "0", "38.4", "57.6", "0"],
            ["[Missiles]Mjolnir", "100", "0", "0", "0"],
            ["[Missiles]Inferno", "0", "100", "0", "0"],
            ["[Missiles]Scourge", "0", "0", "100", "0"],
            ["[Missiles]Nova", "0", "0", "0", "100"],
            [
                "[Missiles][Structure) Standup Missile", "100", "100", "100",
                "100"
            ], ["[Projectile Ammo][T2] Tremor", "0", "0", "24", "40"],
            ["[Projectile Ammo][T2] Quake", "0", "0", "40", "72"],
            ["[Projectile Ammo][T2] Hail", "0", "0", "26.4", "96.8"],
            ["[Projectile Ammo][T2] Barrage", "0", "0", "40", "48"],
            ["[Projectile Ammo]Carbonized Lead", "0", "0", "35.2", "8.8"],
            ["[Projectile Ammo]Depleted Uranium", "0", "26.4", "17.6", "26.4"],
            ["[Projectile Ammo]EMP", "79.2", "0", "8.8", "17.6"],
            ["[Projectile Ammo]Fusion", "0", "0", "17.6", "88"],
            ["[Projectile Ammo]Nuclear", "0", "0", "8.8", "35.2"],
            ["[Projectile Ammo]Phased Plasma", "0", "88", "17.6", "0"],
            ["[Projectile Ammo]Proton", "26.4", "0", "17.6", "0"],
            ["[Projectile Ammo]Titanium Sabot", "0", "0", "52.8", "176"],
            ["[NPC][Burner] Cruor (Blood Raiders)", "90", "90", "0", "0"],
            ["[NPC][Burner] Dramiel (Angel)", "55", "0", "20", "96"],
            ["[NPC][Burner] Daredevil (Serpentis)", "0", "110", "154", "0"],
            ["[NPC][Burner] Succubus (Sanshas Nation)", "135", "30", "0", "0"],
            ["[NPC][Burner] Worm (Guristas)", "0", "0", "228", "0"],
            ["[NPC][Burner] Enyo", "0", "147", "147", "0"],
            ["[NPC][Burner] Hawk", "0", "0", "247", "0"],
            ["[NPC][Burner] Jaguar", "36", "0", "50", "182"],
            ["[NPC][Burner] Vengeance", "232", "0", "0", "0"],
            ["[NPC][Burner] Ashimmu (Blood Raiders)", "260", "100", "0", "0"],
            ["[NPC][Burner] Talos", "0", "413", "413", "0"],
            ["[NPC][Burner] Sentinel", "0", "75", "0", "90"],
            ["[NPC][Asteroid] Angel Cartel", "1838", "562", "2215", "3838"],
            ["[NPC][Deadspace] Angel Cartel", "369", "533", "1395", "3302"],
            ["[NPC][Deadspace] Blood Raiders", "6040", "5052", "10", "15"],
            ["[NPC][Asteroid] Guristas", "0", "1828", "7413", "0"],
            ["[NPC][Deadspace] Guristas", "0", "1531", "9680", "0"],
            ["[NPC][Asteroid] Rogue Drone", "394", "666", "1090", "1687"],
            ["[NPC][Deadspace] Rogue Drone", "276", "1071", "1069", "871"],
            ["[NPC][Asteroid] Sanshas Nation", "5586", "4112", "0", "0"],
            ["[NPC][Deadspace] Sanshas Nation", "3009", "2237", "0", "0"],
            ["[NPC][Asteroid] Serpentis", "0", "5373", "4813", "0"],
            ["[NPC][Deadspace] Serpentis", "0", "3110", "1929", "0"],
            ["[NPC][Mission] Amarr Empire", "4464", "3546", "97", "0"],
            ["[NPC][Mission] Caldari State", "0", "2139", "4867", "0"],
            ["[NPC][Mission] CONCORD", "336", "134", "212", "412"],
            ["[NPC][Mission] Gallente Federation", "9", "3712", "2758", "0"],
            ["[NPC][Mission] Khanid", "612", "483", "43", "6"],
            [
                "[NPC][Mission] Minmatar Republic", "1024", "388", "1655",
                "4285"
            ], ["[NPC][Mission] Mordus Legion", "25", "262", "625", "0"],
            ["[NPC][Mission] Thukker", "0", "52", "10", "79"],
            ["[NPC][Other] Sleepers", "1472", "1472", "1384", "1384"],
            ["[NPC][Other] Sansha Incursion", "1682", "1347", "3678", "3678"]
        ]

        for damageProfileRow in damageProfileList:
            name, em, therm, kin, exp = damageProfileRow
            damageProfile = eos.db.getDamagePattern(name)
            if damageProfile is None:
                damageProfile = es_DamagePattern(em, therm, kin, exp)
                damageProfile.name = name
                eos.db.save(damageProfile)
    def importDamageProfileDefaults(cls):
        damageProfileList = [["Uniform", "25", "25", "25", "25"], ["[Generic]EM", "100", "0", "0", "0"],
                             ["[Generic]Thermal", "0", "100", "0", "0"], ["[Generic]Kinetic", "0", "0", "100", "0"],
                             ["[Generic]Explosive", "0", "0", "0", "100"],
                             ["[NPC][Asteroid] Blood Raiders", "5067", "4214", "0", "0"],
                             ["[Bombs]Electron Bomb", "6400", "0", "0", "0"],
                             ["[Bombs]Scorch Bomb", "0", "6400", "0", "0"],
                             ["[Bombs]Concussion Bomb", "0", "0", "6400", "0"],
                             ["[Bombs]Shrapnel Bomb", "0", "0", "0", "6400"],
                             ["[Frequency Crystals][T2] Conflagration", "61.6", "61.6", "0", "0"],
                             ["[Frequency Crystals][T2] Scorch", "72", "16", "0", "0"],
                             ["[Frequency Crystals][T2] Gleam", "56", "56", "0", "0"],
                             ["[Frequency Crystals][T2] Aurora", "40", "24", "0", "0"],
                             ["[Frequency Crystals]Multifrequency", "61.6", "44", "0", "0"],
                             ["[Frequency Crystals]Gamma", "61.6", "35.2", "0", "0"],
                             ["[Frequency Crystals]Xray", "52.8", "35.2", "0", "0"],
                             ["[Frequency Crystals]Ultraviolet", "52.8", "26.4", "0", "0"],
                             ["[Frequency Crystals]Standard", "44", "26.4", "0", "0"],
                             ["[Frequency Crystals]Infrared", "44", "17.6", "0", "0"],
                             ["[Frequency Crystals]Microwave", "35.2", "17.6", "0", "0"],
                             ["[Frequency Crystals]Radio", "44", "0", "0", "0"],
                             ["[Hybrid Charges][T2] Void", "0", "61.6", "61.6", "0"],
                             ["[Hybrid Charges][T2] Null", "0", "48", "40", "0"],
                             ["[Hybrid Charges][T2] Javelin", "0", "64", "48", "0"],
                             ["[Hybrid Charges][T2] Spike", "0", "32", "32", "0"],
                             ["[Hybrid Charges]Antimatter", "0", "48", "67.2", "0"],
                             ["[Hybrid Charges]Plutonium", "0", "48", "57.6", "0"],
                             ["[Hybrid Charges]Uranium", "0", "38.4", "57.6", "0"],
                             ["[Hybrid Charges]Thorium", "0", "38.4", "48", "0"],
                             ["[Hybrid Charges]Lead", "0", "28.8", "48", "0"],
                             ["[Hybrid Charges]Iridium", "0", "28.8", "38.4", "0"],
                             ["[Hybrid Charges]Tungsten", "0", "19.2", "38.4", "0"],
                             ["[Hybrid Charges]Iron", "0", "19.2", "28.8", "0"],
                             ["[Missiles]Mjolnir", "100", "0", "0", "0"],
                             ["[Missiles]Inferno", "0", "100", "0", "0"],
                             ["[Missiles]Scourge", "0", "0", "100", "0"],
                             ["[Missiles]Nova", "0", "0", "0", "100"],
                             ["[Missiles][Structure] Standup Missile", "100", "100", "100", "100"],
                             ["[Projectile Ammo][T2] Hail", "0", "0", "26.4", "96.8"],
                             ["[Projectile Ammo][T2] Barrage", "0", "0", "40", "48"],
                             ["[Projectile Ammo][T2] Quake", "0", "0", "40", "72"],
                             ["[Projectile Ammo][T2] Tremor", "0", "0", "24", "40"],
                             ["[Projectile Ammo]EMP", "79.2", "0", "8.8", "17.6"],
                             ["[Projectile Ammo]Phased Plasma", "0", "88", "17.6", "0"],
                             ["[Projectile Ammo]Fusion", "0", "0", "17.6", "88"],
                             ["[Projectile Ammo]Depleted Uranium", "0", "26.4", "17.6", "26.4"],
                             ["[Projectile Ammo]Titanium Sabot", "0", "0", "52.8", "176"],
                             ["[Projectile Ammo]Proton", "26.4", "0", "17.6", "0"],
                             ["[Projectile Ammo]Carbonized Lead", "0", "0", "35.2", "8.8"],
                             ["[Projectile Ammo]Nuclear", "0", "0", "8.8", "35.2"],
                             # Different sizes of plasma do different damage, the values here are
                             # average of proportions across sizes
                             ["[Exotic Plasma][T2] Occult", "0", "55863", "0", "44137"],
                             ["[Exotic Plasma][T2] Mystic", "0", "66319", "0", "33681"],
                             ["[Exotic Plasma]Tetryon", "0", "69208", "0", "30792"],
                             ["[Exotic Plasma]Baryon", "0", "59737", "0", "40263"],
                             ["[Exotic Plasma]Meson", "0", "60519", "0", "39481"],
                             ["[NPC][Burner] Cruor (Blood Raiders)", "90", "90", "0", "0"],
                             ["[NPC][Burner] Dramiel (Angel)", "55", "0", "20", "96"],
                             ["[NPC][Burner] Daredevil (Serpentis)", "0", "110", "154", "0"],
                             ["[NPC][Burner] Succubus (Sanshas Nation)", "135", "30", "0", "0"],
                             ["[NPC][Burner] Worm (Guristas)", "0", "0", "228", "0"],
                             ["[NPC][Burner] Enyo", "0", "147", "147", "0"],
                             ["[NPC][Burner] Hawk", "0", "0", "247", "0"],
                             ["[NPC][Burner] Jaguar", "36", "0", "50", "182"],
                             ["[NPC][Burner] Vengeance", "232", "0", "0", "0"],
                             ["[NPC][Burner] Ashimmu (Blood Raiders)", "260", "100", "0", "0"],
                             ["[NPC][Burner] Talos", "0", "413", "413", "0"],
                             ["[NPC][Burner] Sentinel", "0", "75", "0", "90"],
                             ["[NPC][Asteroid] Angel Cartel", "1838", "562", "2215", "3838"],
                             ["[NPC][Deadspace] Angel Cartel", "369", "533", "1395", "3302"],
                             ["[NPC][Deadspace] Blood Raiders", "6040", "5052", "10", "15"],
                             ["[NPC][Asteroid] Guristas", "0", "1828", "7413", "0"],
                             ["[NPC][Deadspace] Guristas", "0", "1531", "9680", "0"],
                             ["[NPC][Asteroid] Rogue Drone", "394", "666", "1090", "1687"],
                             ["[NPC][Deadspace] Rogue Drone", "276", "1071", "1069", "871"],
                             ["[NPC][Asteroid] Sanshas Nation", "5586", "4112", "0", "0"],
                             ["[NPC][Deadspace] Sanshas Nation", "3009", "2237", "0", "0"],
                             ["[NPC][Asteroid] Serpentis", "0", "5373", "4813", "0"],
                             ["[NPC][Deadspace] Serpentis", "0", "3110", "1929", "0"],
                             ["[NPC][Mission] Amarr Empire", "4464", "3546", "97", "0"],
                             ["[NPC][Mission] Caldari State", "0", "2139", "4867", "0"],
                             ["[NPC][Mission] CONCORD", "336", "134", "212", "412"],
                             ["[NPC][Mission] Gallente Federation", "9", "3712", "2758", "0"],
                             ["[NPC][Mission] Khanid", "612", "483", "43", "6"],
                             ["[NPC][Mission] Minmatar Republic", "1024", "388", "1655", "4285"],
                             ["[NPC][Mission] Mordus Legion", "25", "262", "625", "0"],
                             ["[NPC][Mission] Thukker", "0", "52", "10", "79"],
                             ["[NPC][Other] Sleepers", "1472", "1472", "1384", "1384"],
                             ["[NPC][Other] Sansha Incursion", "1682", "1347", "3678", "3678"]]

        for damageProfileRow in damageProfileList:
            name, em, therm, kin, exp = damageProfileRow
            damageProfile = eos.db.getDamagePattern(name)
            if damageProfile is None:
                damageProfile = es_DamagePattern(em, therm, kin, exp)
                damageProfile.name = name
                eos.db.save(damageProfile)
Exemple #10
0
    def importDamageProfileDefaults(cls):
        damageProfileList = [
            ["Uniform", 25, 25, 25, 25],
            ["[Generic]EM", 1, 0, 0, 0],
            ["[Generic]Thermal", 0, 1, 0, 0],
            ["[Generic]Kinetic", 0, 0, 1, 0],
            ["[Generic]Explosive", 0, 0, 0, 1],
            ["[NPC][Asteroid] Blood Raiders", 5067, 4214, 0, 0],
            ["[Bombs]Electron Bomb", 6400, 0, 0, 0],
            ["[Bombs]Scorch Bomb", 0, 6400, 0, 0],
            ["[Bombs]Concussion Bomb", 0, 0, 6400, 0],
            ["[Bombs]Shrapnel Bomb", 0, 0, 0, 6400],
            ["[Frequency Crystals][T2] Conflagration", 7.7, 7.7, 0, 0],
            ["[Frequency Crystals][T2] Scorch", 9, 2, 0, 0],
            ["[Frequency Crystals][T2] Gleam", 7, 7, 0, 0],
            ["[Frequency Crystals][T2] Aurora", 5, 3, 0, 0],
            ["[Frequency Crystals]Multifrequency", 7, 5, 0, 0],
            ["[Frequency Crystals]Gamma", 7, 4, 0, 0],
            ["[Frequency Crystals]Xray", 6, 4, 0, 0],
            ["[Frequency Crystals]Ultraviolet", 6, 3, 0, 0],
            ["[Frequency Crystals]Standard", 5, 3, 0, 0],
            ["[Frequency Crystals]Infrared", 5, 2, 0, 0],
            ["[Frequency Crystals]Microwave", 4, 2, 0, 0],
            ["[Frequency Crystals]Radio", 5, 0, 0, 0],
            ["[Hybrid Charges][T2] Void", 0, 7.7, 7.7, 0],
            ["[Hybrid Charges][T2] Null", 0, 6, 5, 0],
            ["[Hybrid Charges][T2] Javelin", 0, 8, 6, 0],
            ["[Hybrid Charges][T2] Spike", 0, 4, 4, 0],
            ["[Hybrid Charges]Antimatter", 0, 5, 7, 0],
            ["[Hybrid Charges]Plutonium", 0, 5, 6, 0],
            ["[Hybrid Charges]Uranium", 0, 4, 6, 0],
            ["[Hybrid Charges]Thorium", 0, 4, 5, 0],
            ["[Hybrid Charges]Lead", 0, 3, 5, 0],
            ["[Hybrid Charges]Iridium", 0, 3, 4, 0],
            ["[Hybrid Charges]Tungsten", 0, 2, 4, 0],
            ["[Hybrid Charges]Iron", 0, 2, 3, 0],
            ["[Missiles]Mjolnir", 1, 0, 0, 0],
            ["[Missiles]Inferno", 0, 1, 0, 0],
            ["[Missiles]Scourge", 0, 0, 1, 0],
            ["[Missiles]Nova", 0, 0, 0, 1],
            ["[Missiles][Structure] Standup Missile", 1, 1, 1, 1],
            ["[Projectile Ammo][T2] Hail", 0, 0, 3.3, 12.1],
            ["[Projectile Ammo][T2] Barrage", 0, 0, 5, 6],
            ["[Projectile Ammo][T2] Quake", 0, 0, 5, 9],
            ["[Projectile Ammo][T2] Tremor", 0, 0, 3, 5],
            ["[Projectile Ammo]EMP", 9, 0, 1, 2],
            ["[Projectile Ammo]Phased Plasma", 0, 10, 2, 0],
            ["[Projectile Ammo]Fusion", 0, 0, 2, 10],
            ["[Projectile Ammo]Depleted Uranium", 0, 3, 2, 3],
            ["[Projectile Ammo]Titanium Sabot", 0, 0, 6, 2],
            ["[Projectile Ammo]Proton", 3, 0, 2, 0],
            ["[Projectile Ammo]Carbonized Lead", 0, 0, 4, 1],
            ["[Projectile Ammo]Nuclear", 0, 0, 1, 4],
            # Different sizes of plasma do different damage, the values here are
            # average of proportions across sizes
            ["[Exotic Plasma][T2] Occult", 0, 55863, 0, 44137],
            ["[Exotic Plasma][T2] Mystic", 0, 66319, 0, 33681],
            ["[Exotic Plasma]Tetryon", 0, 69208, 0, 30792],
            ["[Exotic Plasma]Baryon", 0, 59737, 0, 40263],
            ["[Exotic Plasma]Meson", 0, 60519, 0, 39481],
            ["[NPC][Burner] Cruor (Blood Raiders)", 90, 90, 0, 0],
            ["[NPC][Burner] Dramiel (Angel)", 55, 0, 20, 96],
            ["[NPC][Burner] Daredevil (Serpentis)", 0, 110, 154, 0],
            ["[NPC][Burner] Succubus (Sanshas Nation)", 135, 30, 0, 0],
            ["[NPC][Burner] Worm (Guristas)", 0, 0, 228, 0],
            ["[NPC][Burner] Enyo", 0, 147, 147, 0],
            ["[NPC][Burner] Hawk", 0, 0, 247, 0],
            ["[NPC][Burner] Jaguar", 36, 0, 50, 182],
            ["[NPC][Burner] Vengeance", 232, 0, 0, 0],
            ["[NPC][Burner] Ashimmu (Blood Raiders)", 260, 100, 0, 0],
            ["[NPC][Burner] Talos", 0, 413, 413, 0],
            ["[NPC][Burner] Sentinel", 0, 75, 0, 90],
            ["[NPC][Asteroid] Angel Cartel", 1838, 562, 2215, 3838],
            ["[NPC][Deadspace] Angel Cartel", 369, 533, 1395, 3302],
            ["[NPC][Deadspace] Blood Raiders", 6040, 5052, 10, 15],
            ["[NPC][Asteroid] Guristas", 0, 1828, 7413, 0],
            ["[NPC][Deadspace] Guristas", 0, 1531, 9680, 0],
            ["[NPC][Asteroid] Rogue Drone", 394, 666, 1090, 1687],
            ["[NPC][Deadspace] Rogue Drone", 276, 1071, 1069, 871],
            ["[NPC][Asteroid] Sanshas Nation", 5586, 4112, 0, 0],
            ["[NPC][Deadspace] Sanshas Nation", 3009, 2237, 0, 0],
            ["[NPC][Asteroid] Serpentis", 0, 5373, 4813, 0],
            ["[NPC][Deadspace] Serpentis", 0, 3110, 1929, 0],
            ["[NPC][Mission] Amarr Empire", 4464, 3546, 97, 0],
            ["[NPC][Mission] Caldari State", 0, 2139, 4867, 0],
            ["[NPC][Mission] CONCORD", 336, 134, 212, 412],
            ["[NPC][Mission] Gallente Federation", 9, 3712, 2758, 0],
            ["[NPC][Mission] Khanid", 612, 483, 43, 6],
            ["[NPC][Mission] Minmatar Republic", 1024, 388, 1655, 4285],
            ["[NPC][Mission] Mordus Legion", 25, 262, 625, 0],
            ["[NPC][Mission] Thukker", 0, 52, 10, 79],
            ["[NPC][Other] Sleepers", 1472, 1472, 1384, 1384],
            ["[NPC][Other] Sansha Incursion", 1682, 1347, 3678, 3678]
        ]

        for damageProfileRow in damageProfileList:
            name, em, therm, kin, exp = damageProfileRow
            damageProfile = eos.db.getDamagePattern(name)
            if damageProfile is None:
                damageProfile = es_DamagePattern(em, therm, kin, exp)
                damageProfile.name = name
                eos.db.add(damageProfile)
            else:
                damageProfile.emAmount = em
                damageProfile.thermalAmount = therm
                damageProfile.kineticAmount = kin
                damageProfile.explosiveAmount = exp
        eos.db.commit()