eve-fit-engine 0.2.26 → 0.2.28
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/README.md +1 -1
- package/data/.build +1 -1
- package/dist/index.cjs +7 -2
- package/dist/index.js +7 -2
- package/dist/node.cjs +7 -2
- package/dist/node.js +7 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,7 +54,7 @@ const { fit, warnings, computed } = await computeFromEft(`
|
|
|
54
54
|
Gyrostabilizer II
|
|
55
55
|
`)
|
|
56
56
|
|
|
57
|
-
console.log(computed.derived.offense.totalDps) //
|
|
57
|
+
console.log(computed.derived.offense.totalDps) // 110.1
|
|
58
58
|
console.log(computed.derived.defense.ehpTotalAgainstProfile)
|
|
59
59
|
console.log(computed.derived.navigation.maxVelocity)
|
|
60
60
|
```
|
package/data/.build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3724492
|
package/dist/index.cjs
CHANGED
|
@@ -495,7 +495,7 @@ var BOOSTER_SIDE_EFFECT_IDS = /* @__PURE__ */ new Set([
|
|
|
495
495
|
var OUT_OF_SCOPE_EFFECT_IDS = [
|
|
496
496
|
// ---- Hardpoint / slot dispatch markers consumed via fitChecks (not a modifier dispatch path). ----
|
|
497
497
|
{ id: 40, name: null, handler: "fitChecks::isMissileLauncher (hardpoint marker)" },
|
|
498
|
-
{ id: 42, name: null, handler: "fitChecks::isTurretWeapon (hardpoint marker, also on miners)" },
|
|
498
|
+
{ id: 42, name: null, handler: "fitChecks::isTurretWeapon + derived/capacitor no-stagger (hardpoint marker, also on miners)" },
|
|
499
499
|
{ id: 263, name: null, handler: "fitChecks::reload-cycle marker (barrage)" },
|
|
500
500
|
// ---- Targeting-only behaviours: do not modify ship stats ----
|
|
501
501
|
{ id: 54, name: null, handler: "OUT-OF-SCOPE :: targetPassively (passive lock, no stat impact)" },
|
|
@@ -4379,6 +4379,7 @@ function computeTotalEhp(shield, armor, hull, useProfile) {
|
|
|
4379
4379
|
}
|
|
4380
4380
|
|
|
4381
4381
|
// src/derived/capacitor.ts
|
|
4382
|
+
var EFFECT_TURRET_FITTED = 42;
|
|
4382
4383
|
function computeCapacitor(ctx, dataset) {
|
|
4383
4384
|
const ship = ctx.ship;
|
|
4384
4385
|
const capacity = ship.getFinal(ATTR.CAPACITOR_CAPACITY, 0);
|
|
@@ -4511,7 +4512,11 @@ function drainEntryFromEffect(effect, mod) {
|
|
|
4511
4512
|
// shared cycle); everything else is staggered evenly across its cycle.
|
|
4512
4513
|
// Without this, N turrets were staggered (one drain at cycle/N) instead
|
|
4513
4514
|
// of N together, shifting the cap timeline (time-to-empty off ~5-10 %).
|
|
4514
|
-
|
|
4515
|
+
// pyfa's hardpoint is the `turretFitted` effect (Module.__calculateHardpoint),
|
|
4516
|
+
// which every turret weapon carries but so do mining lasers and other
|
|
4517
|
+
// turret-slot utilities: two Citizen Miners on a Deacon read 42.30 % cap
|
|
4518
|
+
// stable against pyfa's 41.88 % while they were staggered.
|
|
4519
|
+
disableStagger: mod.type.effects.some((e) => e.id === EFFECT_TURRET_FITTED)
|
|
4515
4520
|
};
|
|
4516
4521
|
}
|
|
4517
4522
|
function boosterDrainEntry(mod) {
|
package/dist/index.js
CHANGED
|
@@ -493,7 +493,7 @@ var BOOSTER_SIDE_EFFECT_IDS = /* @__PURE__ */ new Set([
|
|
|
493
493
|
var OUT_OF_SCOPE_EFFECT_IDS = [
|
|
494
494
|
// ---- Hardpoint / slot dispatch markers consumed via fitChecks (not a modifier dispatch path). ----
|
|
495
495
|
{ id: 40, name: null, handler: "fitChecks::isMissileLauncher (hardpoint marker)" },
|
|
496
|
-
{ id: 42, name: null, handler: "fitChecks::isTurretWeapon (hardpoint marker, also on miners)" },
|
|
496
|
+
{ id: 42, name: null, handler: "fitChecks::isTurretWeapon + derived/capacitor no-stagger (hardpoint marker, also on miners)" },
|
|
497
497
|
{ id: 263, name: null, handler: "fitChecks::reload-cycle marker (barrage)" },
|
|
498
498
|
// ---- Targeting-only behaviours: do not modify ship stats ----
|
|
499
499
|
{ id: 54, name: null, handler: "OUT-OF-SCOPE :: targetPassively (passive lock, no stat impact)" },
|
|
@@ -4377,6 +4377,7 @@ function computeTotalEhp(shield, armor, hull, useProfile) {
|
|
|
4377
4377
|
}
|
|
4378
4378
|
|
|
4379
4379
|
// src/derived/capacitor.ts
|
|
4380
|
+
var EFFECT_TURRET_FITTED = 42;
|
|
4380
4381
|
function computeCapacitor(ctx, dataset) {
|
|
4381
4382
|
const ship = ctx.ship;
|
|
4382
4383
|
const capacity = ship.getFinal(ATTR.CAPACITOR_CAPACITY, 0);
|
|
@@ -4509,7 +4510,11 @@ function drainEntryFromEffect(effect, mod) {
|
|
|
4509
4510
|
// shared cycle); everything else is staggered evenly across its cycle.
|
|
4510
4511
|
// Without this, N turrets were staggered (one drain at cycle/N) instead
|
|
4511
4512
|
// of N together, shifting the cap timeline (time-to-empty off ~5-10 %).
|
|
4512
|
-
|
|
4513
|
+
// pyfa's hardpoint is the `turretFitted` effect (Module.__calculateHardpoint),
|
|
4514
|
+
// which every turret weapon carries but so do mining lasers and other
|
|
4515
|
+
// turret-slot utilities: two Citizen Miners on a Deacon read 42.30 % cap
|
|
4516
|
+
// stable against pyfa's 41.88 % while they were staggered.
|
|
4517
|
+
disableStagger: mod.type.effects.some((e) => e.id === EFFECT_TURRET_FITTED)
|
|
4513
4518
|
};
|
|
4514
4519
|
}
|
|
4515
4520
|
function boosterDrainEntry(mod) {
|
package/dist/node.cjs
CHANGED
|
@@ -523,7 +523,7 @@ var BOOSTER_SIDE_EFFECT_IDS = /* @__PURE__ */ new Set([
|
|
|
523
523
|
var OUT_OF_SCOPE_EFFECT_IDS = [
|
|
524
524
|
// ---- Hardpoint / slot dispatch markers consumed via fitChecks (not a modifier dispatch path). ----
|
|
525
525
|
{ id: 40, name: null, handler: "fitChecks::isMissileLauncher (hardpoint marker)" },
|
|
526
|
-
{ id: 42, name: null, handler: "fitChecks::isTurretWeapon (hardpoint marker, also on miners)" },
|
|
526
|
+
{ id: 42, name: null, handler: "fitChecks::isTurretWeapon + derived/capacitor no-stagger (hardpoint marker, also on miners)" },
|
|
527
527
|
{ id: 263, name: null, handler: "fitChecks::reload-cycle marker (barrage)" },
|
|
528
528
|
// ---- Targeting-only behaviours: do not modify ship stats ----
|
|
529
529
|
{ id: 54, name: null, handler: "OUT-OF-SCOPE :: targetPassively (passive lock, no stat impact)" },
|
|
@@ -4407,6 +4407,7 @@ function computeTotalEhp(shield, armor, hull, useProfile) {
|
|
|
4407
4407
|
}
|
|
4408
4408
|
|
|
4409
4409
|
// src/derived/capacitor.ts
|
|
4410
|
+
var EFFECT_TURRET_FITTED = 42;
|
|
4410
4411
|
function computeCapacitor(ctx, dataset) {
|
|
4411
4412
|
const ship = ctx.ship;
|
|
4412
4413
|
const capacity = ship.getFinal(ATTR.CAPACITOR_CAPACITY, 0);
|
|
@@ -4539,7 +4540,11 @@ function drainEntryFromEffect(effect, mod) {
|
|
|
4539
4540
|
// shared cycle); everything else is staggered evenly across its cycle.
|
|
4540
4541
|
// Without this, N turrets were staggered (one drain at cycle/N) instead
|
|
4541
4542
|
// of N together, shifting the cap timeline (time-to-empty off ~5-10 %).
|
|
4542
|
-
|
|
4543
|
+
// pyfa's hardpoint is the `turretFitted` effect (Module.__calculateHardpoint),
|
|
4544
|
+
// which every turret weapon carries but so do mining lasers and other
|
|
4545
|
+
// turret-slot utilities: two Citizen Miners on a Deacon read 42.30 % cap
|
|
4546
|
+
// stable against pyfa's 41.88 % while they were staggered.
|
|
4547
|
+
disableStagger: mod.type.effects.some((e) => e.id === EFFECT_TURRET_FITTED)
|
|
4543
4548
|
};
|
|
4544
4549
|
}
|
|
4545
4550
|
function boosterDrainEntry(mod) {
|
package/dist/node.js
CHANGED
|
@@ -499,7 +499,7 @@ var BOOSTER_SIDE_EFFECT_IDS = /* @__PURE__ */ new Set([
|
|
|
499
499
|
var OUT_OF_SCOPE_EFFECT_IDS = [
|
|
500
500
|
// ---- Hardpoint / slot dispatch markers consumed via fitChecks (not a modifier dispatch path). ----
|
|
501
501
|
{ id: 40, name: null, handler: "fitChecks::isMissileLauncher (hardpoint marker)" },
|
|
502
|
-
{ id: 42, name: null, handler: "fitChecks::isTurretWeapon (hardpoint marker, also on miners)" },
|
|
502
|
+
{ id: 42, name: null, handler: "fitChecks::isTurretWeapon + derived/capacitor no-stagger (hardpoint marker, also on miners)" },
|
|
503
503
|
{ id: 263, name: null, handler: "fitChecks::reload-cycle marker (barrage)" },
|
|
504
504
|
// ---- Targeting-only behaviours: do not modify ship stats ----
|
|
505
505
|
{ id: 54, name: null, handler: "OUT-OF-SCOPE :: targetPassively (passive lock, no stat impact)" },
|
|
@@ -4383,6 +4383,7 @@ function computeTotalEhp(shield, armor, hull, useProfile) {
|
|
|
4383
4383
|
}
|
|
4384
4384
|
|
|
4385
4385
|
// src/derived/capacitor.ts
|
|
4386
|
+
var EFFECT_TURRET_FITTED = 42;
|
|
4386
4387
|
function computeCapacitor(ctx, dataset) {
|
|
4387
4388
|
const ship = ctx.ship;
|
|
4388
4389
|
const capacity = ship.getFinal(ATTR.CAPACITOR_CAPACITY, 0);
|
|
@@ -4515,7 +4516,11 @@ function drainEntryFromEffect(effect, mod) {
|
|
|
4515
4516
|
// shared cycle); everything else is staggered evenly across its cycle.
|
|
4516
4517
|
// Without this, N turrets were staggered (one drain at cycle/N) instead
|
|
4517
4518
|
// of N together, shifting the cap timeline (time-to-empty off ~5-10 %).
|
|
4518
|
-
|
|
4519
|
+
// pyfa's hardpoint is the `turretFitted` effect (Module.__calculateHardpoint),
|
|
4520
|
+
// which every turret weapon carries but so do mining lasers and other
|
|
4521
|
+
// turret-slot utilities: two Citizen Miners on a Deacon read 42.30 % cap
|
|
4522
|
+
// stable against pyfa's 41.88 % while they were staggered.
|
|
4523
|
+
disableStagger: mod.type.effects.some((e) => e.id === EFFECT_TURRET_FITTED)
|
|
4519
4524
|
};
|
|
4520
4525
|
}
|
|
4521
4526
|
function boosterDrainEntry(mod) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eve-fit-engine",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.28",
|
|
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",
|