eve-fit-engine 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +45 -2
- package/dist/index.js +45 -2
- package/dist/node.cjs +45 -2
- package/dist/node.js +45 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1713,8 +1713,42 @@ var SUBSYSTEM_BONUS_SCALING_SKILL = /* @__PURE__ */ new Map([
|
|
|
1713
1713
|
// MinmatarDefensive
|
|
1714
1714
|
[1449, 30551],
|
|
1715
1715
|
// MinmatarOffensive
|
|
1716
|
-
[1450, 30554]
|
|
1716
|
+
[1450, 30554],
|
|
1717
1717
|
// MinmatarPropulsion
|
|
1718
|
+
// ----- Authoritative completion: every subsystem-bonus attr that the SDE
|
|
1719
|
+
// ----- scales by a racial subsystem skill, derived verbatim from the
|
|
1720
|
+
// ----- `subsystemSkillLevel*` skill effects (modAttr = bonus attr,
|
|
1721
|
+
// ----- modifying = 280/skillLevel, PreMul). The Amarr/Caldari secondaries
|
|
1722
|
+
// ----- above were hand-added; Gallente + Minmatar secondaries (and the
|
|
1723
|
+
// ----- 2680-2687 defensive/core block) were MISSING, so subsystem-sourced
|
|
1724
|
+
// ----- bonuses on those races (e.g. Loki Propulsion agility 1523, Offensive
|
|
1725
|
+
// ----- RoF 1522 / 1534) fell to the flat path and applied ×1 instead of ×5.
|
|
1726
|
+
// ----- Duplicates of the entries above are harmless (same value).
|
|
1727
|
+
[1517, 30540],
|
|
1728
|
+
[1519, 30546],
|
|
1729
|
+
[1520, 30553],
|
|
1730
|
+
[1521, 30550],
|
|
1731
|
+
// Gallente Def/Core/Prop/Off secondaries
|
|
1732
|
+
[1522, 30551],
|
|
1733
|
+
[1523, 30554],
|
|
1734
|
+
[1525, 30547],
|
|
1735
|
+
[1526, 30545],
|
|
1736
|
+
// Minmatar Off/Prop/Core/Def secondaries
|
|
1737
|
+
[1531, 30537],
|
|
1738
|
+
[1532, 30550],
|
|
1739
|
+
[1533, 30549],
|
|
1740
|
+
[1534, 30551],
|
|
1741
|
+
// Off cross-race tertiaries (Amarr/Gallente/Caldari/Minmatar)
|
|
1742
|
+
[2680, 30532],
|
|
1743
|
+
[2681, 30539],
|
|
1744
|
+
[2682, 30544],
|
|
1745
|
+
[2683, 30548],
|
|
1746
|
+
// Def/Core extra (Amarr/Caldari)
|
|
1747
|
+
[2684, 30540],
|
|
1748
|
+
[2685, 30546],
|
|
1749
|
+
[2686, 30545],
|
|
1750
|
+
[2687, 30547]
|
|
1751
|
+
// Def/Core extra (Gallente/Minmatar)
|
|
1718
1752
|
]);
|
|
1719
1753
|
function computeModifierValue(source, mi, ctx, dataset, op) {
|
|
1720
1754
|
if (mi.modifyingAttributeID === void 0) return null;
|
|
@@ -1793,8 +1827,17 @@ var SHIP_ROLE_BONUS_ATTRS = /* @__PURE__ */ new Set([
|
|
|
1793
1827
|
// shipBonusRole5
|
|
1794
1828
|
2303,
|
|
1795
1829
|
// shipBonusRole6
|
|
1796
|
-
5952
|
|
1830
|
+
5952,
|
|
1797
1831
|
// shipBonusGasCloudDurationRoleBonusOreMiningDestroyer
|
|
1832
|
+
1989
|
|
1833
|
+
// probeLauncherCPUPercentRoleBonusT3 value — effect 6009 on T3C hulls
|
|
1834
|
+
// (Loki/Tengu/…): "-99 % CPU for Scan Probe Launchers". Declared as
|
|
1835
|
+
// LocationRequiredSkillModifier gated on Astrometrics (3412), but
|
|
1836
|
+
// the skill only SELECTS the recipient (probe launchers) — the bonus
|
|
1837
|
+
// is FLAT. Without this entry the ship-domain reader scales it ×
|
|
1838
|
+
// Astrometrics level → -99 % becomes -495 % PostPercent → a Loki
|
|
1839
|
+
// Expanded Probe Launcher's 242 tf CPU flips to -955.9 tf and total
|
|
1840
|
+
// CPU used reads -388 instead of +569.5.
|
|
1798
1841
|
]);
|
|
1799
1842
|
function computeStackingGroup(source, mi, dataset) {
|
|
1800
1843
|
if (NO_PENALTY_KINDS.has(source.kind)) return null;
|
package/dist/index.js
CHANGED
|
@@ -1711,8 +1711,42 @@ var SUBSYSTEM_BONUS_SCALING_SKILL = /* @__PURE__ */ new Map([
|
|
|
1711
1711
|
// MinmatarDefensive
|
|
1712
1712
|
[1449, 30551],
|
|
1713
1713
|
// MinmatarOffensive
|
|
1714
|
-
[1450, 30554]
|
|
1714
|
+
[1450, 30554],
|
|
1715
1715
|
// MinmatarPropulsion
|
|
1716
|
+
// ----- Authoritative completion: every subsystem-bonus attr that the SDE
|
|
1717
|
+
// ----- scales by a racial subsystem skill, derived verbatim from the
|
|
1718
|
+
// ----- `subsystemSkillLevel*` skill effects (modAttr = bonus attr,
|
|
1719
|
+
// ----- modifying = 280/skillLevel, PreMul). The Amarr/Caldari secondaries
|
|
1720
|
+
// ----- above were hand-added; Gallente + Minmatar secondaries (and the
|
|
1721
|
+
// ----- 2680-2687 defensive/core block) were MISSING, so subsystem-sourced
|
|
1722
|
+
// ----- bonuses on those races (e.g. Loki Propulsion agility 1523, Offensive
|
|
1723
|
+
// ----- RoF 1522 / 1534) fell to the flat path and applied ×1 instead of ×5.
|
|
1724
|
+
// ----- Duplicates of the entries above are harmless (same value).
|
|
1725
|
+
[1517, 30540],
|
|
1726
|
+
[1519, 30546],
|
|
1727
|
+
[1520, 30553],
|
|
1728
|
+
[1521, 30550],
|
|
1729
|
+
// Gallente Def/Core/Prop/Off secondaries
|
|
1730
|
+
[1522, 30551],
|
|
1731
|
+
[1523, 30554],
|
|
1732
|
+
[1525, 30547],
|
|
1733
|
+
[1526, 30545],
|
|
1734
|
+
// Minmatar Off/Prop/Core/Def secondaries
|
|
1735
|
+
[1531, 30537],
|
|
1736
|
+
[1532, 30550],
|
|
1737
|
+
[1533, 30549],
|
|
1738
|
+
[1534, 30551],
|
|
1739
|
+
// Off cross-race tertiaries (Amarr/Gallente/Caldari/Minmatar)
|
|
1740
|
+
[2680, 30532],
|
|
1741
|
+
[2681, 30539],
|
|
1742
|
+
[2682, 30544],
|
|
1743
|
+
[2683, 30548],
|
|
1744
|
+
// Def/Core extra (Amarr/Caldari)
|
|
1745
|
+
[2684, 30540],
|
|
1746
|
+
[2685, 30546],
|
|
1747
|
+
[2686, 30545],
|
|
1748
|
+
[2687, 30547]
|
|
1749
|
+
// Def/Core extra (Gallente/Minmatar)
|
|
1716
1750
|
]);
|
|
1717
1751
|
function computeModifierValue(source, mi, ctx, dataset, op) {
|
|
1718
1752
|
if (mi.modifyingAttributeID === void 0) return null;
|
|
@@ -1791,8 +1825,17 @@ var SHIP_ROLE_BONUS_ATTRS = /* @__PURE__ */ new Set([
|
|
|
1791
1825
|
// shipBonusRole5
|
|
1792
1826
|
2303,
|
|
1793
1827
|
// shipBonusRole6
|
|
1794
|
-
5952
|
|
1828
|
+
5952,
|
|
1795
1829
|
// shipBonusGasCloudDurationRoleBonusOreMiningDestroyer
|
|
1830
|
+
1989
|
|
1831
|
+
// probeLauncherCPUPercentRoleBonusT3 value — effect 6009 on T3C hulls
|
|
1832
|
+
// (Loki/Tengu/…): "-99 % CPU for Scan Probe Launchers". Declared as
|
|
1833
|
+
// LocationRequiredSkillModifier gated on Astrometrics (3412), but
|
|
1834
|
+
// the skill only SELECTS the recipient (probe launchers) — the bonus
|
|
1835
|
+
// is FLAT. Without this entry the ship-domain reader scales it ×
|
|
1836
|
+
// Astrometrics level → -99 % becomes -495 % PostPercent → a Loki
|
|
1837
|
+
// Expanded Probe Launcher's 242 tf CPU flips to -955.9 tf and total
|
|
1838
|
+
// CPU used reads -388 instead of +569.5.
|
|
1796
1839
|
]);
|
|
1797
1840
|
function computeStackingGroup(source, mi, dataset) {
|
|
1798
1841
|
if (NO_PENALTY_KINDS.has(source.kind)) return null;
|
package/dist/node.cjs
CHANGED
|
@@ -1741,8 +1741,42 @@ var SUBSYSTEM_BONUS_SCALING_SKILL = /* @__PURE__ */ new Map([
|
|
|
1741
1741
|
// MinmatarDefensive
|
|
1742
1742
|
[1449, 30551],
|
|
1743
1743
|
// MinmatarOffensive
|
|
1744
|
-
[1450, 30554]
|
|
1744
|
+
[1450, 30554],
|
|
1745
1745
|
// MinmatarPropulsion
|
|
1746
|
+
// ----- Authoritative completion: every subsystem-bonus attr that the SDE
|
|
1747
|
+
// ----- scales by a racial subsystem skill, derived verbatim from the
|
|
1748
|
+
// ----- `subsystemSkillLevel*` skill effects (modAttr = bonus attr,
|
|
1749
|
+
// ----- modifying = 280/skillLevel, PreMul). The Amarr/Caldari secondaries
|
|
1750
|
+
// ----- above were hand-added; Gallente + Minmatar secondaries (and the
|
|
1751
|
+
// ----- 2680-2687 defensive/core block) were MISSING, so subsystem-sourced
|
|
1752
|
+
// ----- bonuses on those races (e.g. Loki Propulsion agility 1523, Offensive
|
|
1753
|
+
// ----- RoF 1522 / 1534) fell to the flat path and applied ×1 instead of ×5.
|
|
1754
|
+
// ----- Duplicates of the entries above are harmless (same value).
|
|
1755
|
+
[1517, 30540],
|
|
1756
|
+
[1519, 30546],
|
|
1757
|
+
[1520, 30553],
|
|
1758
|
+
[1521, 30550],
|
|
1759
|
+
// Gallente Def/Core/Prop/Off secondaries
|
|
1760
|
+
[1522, 30551],
|
|
1761
|
+
[1523, 30554],
|
|
1762
|
+
[1525, 30547],
|
|
1763
|
+
[1526, 30545],
|
|
1764
|
+
// Minmatar Off/Prop/Core/Def secondaries
|
|
1765
|
+
[1531, 30537],
|
|
1766
|
+
[1532, 30550],
|
|
1767
|
+
[1533, 30549],
|
|
1768
|
+
[1534, 30551],
|
|
1769
|
+
// Off cross-race tertiaries (Amarr/Gallente/Caldari/Minmatar)
|
|
1770
|
+
[2680, 30532],
|
|
1771
|
+
[2681, 30539],
|
|
1772
|
+
[2682, 30544],
|
|
1773
|
+
[2683, 30548],
|
|
1774
|
+
// Def/Core extra (Amarr/Caldari)
|
|
1775
|
+
[2684, 30540],
|
|
1776
|
+
[2685, 30546],
|
|
1777
|
+
[2686, 30545],
|
|
1778
|
+
[2687, 30547]
|
|
1779
|
+
// Def/Core extra (Gallente/Minmatar)
|
|
1746
1780
|
]);
|
|
1747
1781
|
function computeModifierValue(source, mi, ctx, dataset, op) {
|
|
1748
1782
|
if (mi.modifyingAttributeID === void 0) return null;
|
|
@@ -1821,8 +1855,17 @@ var SHIP_ROLE_BONUS_ATTRS = /* @__PURE__ */ new Set([
|
|
|
1821
1855
|
// shipBonusRole5
|
|
1822
1856
|
2303,
|
|
1823
1857
|
// shipBonusRole6
|
|
1824
|
-
5952
|
|
1858
|
+
5952,
|
|
1825
1859
|
// shipBonusGasCloudDurationRoleBonusOreMiningDestroyer
|
|
1860
|
+
1989
|
|
1861
|
+
// probeLauncherCPUPercentRoleBonusT3 value — effect 6009 on T3C hulls
|
|
1862
|
+
// (Loki/Tengu/…): "-99 % CPU for Scan Probe Launchers". Declared as
|
|
1863
|
+
// LocationRequiredSkillModifier gated on Astrometrics (3412), but
|
|
1864
|
+
// the skill only SELECTS the recipient (probe launchers) — the bonus
|
|
1865
|
+
// is FLAT. Without this entry the ship-domain reader scales it ×
|
|
1866
|
+
// Astrometrics level → -99 % becomes -495 % PostPercent → a Loki
|
|
1867
|
+
// Expanded Probe Launcher's 242 tf CPU flips to -955.9 tf and total
|
|
1868
|
+
// CPU used reads -388 instead of +569.5.
|
|
1826
1869
|
]);
|
|
1827
1870
|
function computeStackingGroup(source, mi, dataset) {
|
|
1828
1871
|
if (NO_PENALTY_KINDS.has(source.kind)) return null;
|
package/dist/node.js
CHANGED
|
@@ -1717,8 +1717,42 @@ var SUBSYSTEM_BONUS_SCALING_SKILL = /* @__PURE__ */ new Map([
|
|
|
1717
1717
|
// MinmatarDefensive
|
|
1718
1718
|
[1449, 30551],
|
|
1719
1719
|
// MinmatarOffensive
|
|
1720
|
-
[1450, 30554]
|
|
1720
|
+
[1450, 30554],
|
|
1721
1721
|
// MinmatarPropulsion
|
|
1722
|
+
// ----- Authoritative completion: every subsystem-bonus attr that the SDE
|
|
1723
|
+
// ----- scales by a racial subsystem skill, derived verbatim from the
|
|
1724
|
+
// ----- `subsystemSkillLevel*` skill effects (modAttr = bonus attr,
|
|
1725
|
+
// ----- modifying = 280/skillLevel, PreMul). The Amarr/Caldari secondaries
|
|
1726
|
+
// ----- above were hand-added; Gallente + Minmatar secondaries (and the
|
|
1727
|
+
// ----- 2680-2687 defensive/core block) were MISSING, so subsystem-sourced
|
|
1728
|
+
// ----- bonuses on those races (e.g. Loki Propulsion agility 1523, Offensive
|
|
1729
|
+
// ----- RoF 1522 / 1534) fell to the flat path and applied ×1 instead of ×5.
|
|
1730
|
+
// ----- Duplicates of the entries above are harmless (same value).
|
|
1731
|
+
[1517, 30540],
|
|
1732
|
+
[1519, 30546],
|
|
1733
|
+
[1520, 30553],
|
|
1734
|
+
[1521, 30550],
|
|
1735
|
+
// Gallente Def/Core/Prop/Off secondaries
|
|
1736
|
+
[1522, 30551],
|
|
1737
|
+
[1523, 30554],
|
|
1738
|
+
[1525, 30547],
|
|
1739
|
+
[1526, 30545],
|
|
1740
|
+
// Minmatar Off/Prop/Core/Def secondaries
|
|
1741
|
+
[1531, 30537],
|
|
1742
|
+
[1532, 30550],
|
|
1743
|
+
[1533, 30549],
|
|
1744
|
+
[1534, 30551],
|
|
1745
|
+
// Off cross-race tertiaries (Amarr/Gallente/Caldari/Minmatar)
|
|
1746
|
+
[2680, 30532],
|
|
1747
|
+
[2681, 30539],
|
|
1748
|
+
[2682, 30544],
|
|
1749
|
+
[2683, 30548],
|
|
1750
|
+
// Def/Core extra (Amarr/Caldari)
|
|
1751
|
+
[2684, 30540],
|
|
1752
|
+
[2685, 30546],
|
|
1753
|
+
[2686, 30545],
|
|
1754
|
+
[2687, 30547]
|
|
1755
|
+
// Def/Core extra (Gallente/Minmatar)
|
|
1722
1756
|
]);
|
|
1723
1757
|
function computeModifierValue(source, mi, ctx, dataset, op) {
|
|
1724
1758
|
if (mi.modifyingAttributeID === void 0) return null;
|
|
@@ -1797,8 +1831,17 @@ var SHIP_ROLE_BONUS_ATTRS = /* @__PURE__ */ new Set([
|
|
|
1797
1831
|
// shipBonusRole5
|
|
1798
1832
|
2303,
|
|
1799
1833
|
// shipBonusRole6
|
|
1800
|
-
5952
|
|
1834
|
+
5952,
|
|
1801
1835
|
// shipBonusGasCloudDurationRoleBonusOreMiningDestroyer
|
|
1836
|
+
1989
|
|
1837
|
+
// probeLauncherCPUPercentRoleBonusT3 value — effect 6009 on T3C hulls
|
|
1838
|
+
// (Loki/Tengu/…): "-99 % CPU for Scan Probe Launchers". Declared as
|
|
1839
|
+
// LocationRequiredSkillModifier gated on Astrometrics (3412), but
|
|
1840
|
+
// the skill only SELECTS the recipient (probe launchers) — the bonus
|
|
1841
|
+
// is FLAT. Without this entry the ship-domain reader scales it ×
|
|
1842
|
+
// Astrometrics level → -99 % becomes -495 % PostPercent → a Loki
|
|
1843
|
+
// Expanded Probe Launcher's 242 tf CPU flips to -955.9 tf and total
|
|
1844
|
+
// CPU used reads -388 instead of +569.5.
|
|
1802
1845
|
]);
|
|
1803
1846
|
function computeStackingGroup(source, mi, dataset) {
|
|
1804
1847
|
if (NO_PENALTY_KINDS.has(source.kind)) return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eve-fit-engine",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Pyfa-parity EVE Online ship & structure fitting calculation engine. Inject an SDE dataset + a fit, get the full derived stat block (offense, defense, capacitor, navigation, targeting, fitting, projected, structure).",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
6
6
|
"type": "module",
|