Merge remote-tracking branch 'origin/master' into i18n
# Conflicts: # staticdata/fsd_binary/marketgroups.json # staticdata/fsd_binary/typedogma.json # staticdata/fsd_lite/evegroups.json # staticdata/fsd_lite/evetypes.json # staticdata/phobos/metadata.0.json
This commit is contained in:
18
eos/db/migrations/upgrade40.py
Normal file
18
eos/db/migrations/upgrade40.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""
|
||||
Migration 40
|
||||
|
||||
Imports all item conversions since Migration 28 and runs them against module.baseItemID. This column seems to have been
|
||||
forgotten about since it's been added.
|
||||
|
||||
"""
|
||||
from .upgrade36 import CONVERSIONS as u36
|
||||
from .upgrade37 import CONVERSIONS as u37
|
||||
from .upgrade38 import CONVERSIONS as u38
|
||||
from .upgrade39 import CONVERSIONS as u39
|
||||
|
||||
def upgrade(saveddata_engine):
|
||||
for conversions in [u36, u37, u38, u39]:
|
||||
for replacement_item, list in conversions.items():
|
||||
for retired_item in list:
|
||||
saveddata_engine.execute('UPDATE "modules" SET "baseItemID" = ? WHERE "baseItemID" = ?',
|
||||
(replacement_item, retired_item))
|
||||
50
eos/db/migrations/upgrade41.py
Normal file
50
eos/db/migrations/upgrade41.py
Normal file
@@ -0,0 +1,50 @@
|
||||
"""
|
||||
Migration 41
|
||||
|
||||
- Resistance plating tiericide
|
||||
"""
|
||||
|
||||
CONVERSIONS = {
|
||||
16345: ( # Upgraded Layered Coating I
|
||||
16347, # Limited Layered Plating I
|
||||
16349, # 'Scarab' Layered Plating I
|
||||
16351, # 'Grail' Layered Plating I
|
||||
),
|
||||
16305: ( # Upgraded Multispectrum Coating I
|
||||
16307, # Limited Adaptive Nano Plating I
|
||||
16309, # 'Collateral' Adaptive Nano Plating I
|
||||
16311, # 'Refuge' Adaptive Nano Plating I
|
||||
),
|
||||
16329: ( # Upgraded EM Coating I
|
||||
16331, # Limited EM Plating I
|
||||
16333, # 'Contour' EM Plating I
|
||||
16335, # 'Spiegel' EM Plating I
|
||||
),
|
||||
16321: ( # Upgraded Explosive Coating I
|
||||
16323, # Limited Explosive Plating I
|
||||
16325, # Experimental Explosive Plating I
|
||||
16319, # 'Aegis' Explosive Plating I
|
||||
),
|
||||
16313: ( # Upgraded Kinetic Coating I
|
||||
16315, # Limited Kinetic Plating I
|
||||
16317, # Experimental Kinetic Plating I
|
||||
16327, # 'Element' Kinetic Plating I
|
||||
),
|
||||
16337: ( # Upgraded Thermal Coating I
|
||||
16339, # Limited Thermal Plating I
|
||||
16341, # Experimental Thermal Plating I
|
||||
16343, # Prototype Thermal Plating I
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
def upgrade(saveddata_engine):
|
||||
# Convert modules
|
||||
for replacement_item, list in CONVERSIONS.items():
|
||||
for retired_item in list:
|
||||
saveddata_engine.execute('UPDATE "modules" SET "itemID" = ? WHERE "itemID" = ?',
|
||||
(replacement_item, retired_item))
|
||||
saveddata_engine.execute('UPDATE "modules" SET "baseItemID" = ? WHERE "baseItemID" = ?',
|
||||
(replacement_item, retired_item))
|
||||
saveddata_engine.execute('UPDATE "cargo" SET "itemID" = ? WHERE "itemID" = ?',
|
||||
(replacement_item, retired_item))
|
||||
@@ -440,7 +440,7 @@ class Effect63(BaseEffect):
|
||||
armorHPMultiply
|
||||
|
||||
Used by:
|
||||
Modules from group: Armor Coating (202 of 202)
|
||||
Modules from group: Armor Coating (184 of 184)
|
||||
Modules from group: Armor Plating Energized (187 of 187)
|
||||
"""
|
||||
|
||||
@@ -2335,7 +2335,8 @@ class Effect763(BaseEffect):
|
||||
@staticmethod
|
||||
def handler(fit, container, context, projectionRange, **kwargs):
|
||||
for dmgType in ('em', 'kinetic', 'explosive', 'thermal'):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill('Missile Launcher Operation'),
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill('Missile Launcher Operation') or
|
||||
mod.charge.requiresSkill('Defender Missiles'),
|
||||
'%sDamage' % dmgType,
|
||||
container.getModifiedItemAttr('missileDamageMultiplierBonus'),
|
||||
stackingPenalties=True, **kwargs)
|
||||
@@ -6077,7 +6078,7 @@ class Effect2041(BaseEffect):
|
||||
modifyArmorResonancePostPercent
|
||||
|
||||
Used by:
|
||||
Modules from group: Armor Coating (202 of 202)
|
||||
Modules from group: Armor Coating (184 of 184)
|
||||
Modules from group: Armor Plating Energized (187 of 187)
|
||||
"""
|
||||
|
||||
@@ -36112,7 +36113,7 @@ class Effect7232(BaseEffect):
|
||||
modifyDamageMultiplierBonusMax
|
||||
|
||||
Used by:
|
||||
Implants named like: Grade Mimesis (15 of 18)
|
||||
Implants named like: grade Mimesis (15 of 18)
|
||||
"""
|
||||
|
||||
type = 'passive'
|
||||
@@ -36129,7 +36130,7 @@ class Effect7233(BaseEffect):
|
||||
modifyDamageMultiplierBonusPerCycle
|
||||
|
||||
Used by:
|
||||
Implants named like: Grade Mimesis (15 of 18)
|
||||
Implants named like: grade Mimesis (15 of 18)
|
||||
"""
|
||||
|
||||
type = 'passive'
|
||||
@@ -36146,7 +36147,7 @@ class Effect7234(BaseEffect):
|
||||
implantSetMimesis
|
||||
|
||||
Used by:
|
||||
Implants named like: Grade Mimesis (18 of 18)
|
||||
Implants named like: grade Mimesis (18 of 18)
|
||||
"""
|
||||
|
||||
runTime = 'early'
|
||||
|
||||
Reference in New Issue
Block a user