feat: calculate velocity boost for AB / MWD correctly (#11)
For this the dataset is modified to add effects and modifier. Additionally, some bugs in dogma-engine resulted in wrong numbers, so we bump that while at it.
This commit is contained in:
@@ -84,8 +84,7 @@ export const fullFit = {
|
||||
{
|
||||
"flag": 21,
|
||||
"quantity": 1,
|
||||
"type_id": 2281,
|
||||
"state": "Active"
|
||||
"type_id": 2281
|
||||
},
|
||||
{
|
||||
"flag": 22,
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"author": "Patric Stout <eveshipfit@truebrain.nl>",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@eveshipfit/dogma-engine": "^2.0.1",
|
||||
"@eveshipfit/dogma-engine": "^2.1.0",
|
||||
"clsx": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -43,6 +43,11 @@ export interface DogmaEngineProps {
|
||||
* console.log(stats);
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* Due to how the EVE SDE is constructed, a skill is by default
|
||||
* assumed to be Level 1. This means that you most likely want
|
||||
* to give all the skills to the calculate() function, even those
|
||||
* that are not trained.
|
||||
*/
|
||||
export const DogmaEngineProvider = (props: DogmaEngineProps) => {
|
||||
const [dogmaEngine, setDogmaEngine] = React.useState<DogmaEngine>({});
|
||||
|
||||
@@ -7,7 +7,7 @@ import { DogmaAttribute, DogmaEffect, TypeDogma, TypeID } from "./DataTypes";
|
||||
// eslint-disable-next-line import/extensions
|
||||
import * as esf_pb2 from "./esf_pb2.js";
|
||||
|
||||
const defaultDataUrl = "https://data.eveship.fit/20231023-3/";
|
||||
const defaultDataUrl = "https://data.eveship.fit/20231023-4/";
|
||||
|
||||
interface DogmaData {
|
||||
loaded?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user