@eveshipfit/dogma-engine 10.2.0 → 10.3.0
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 +4 -1
- package/esf_dogma_engine_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,6 +31,8 @@ All identifiers are those from the SDE.
|
|
|
31
31
|
- `name` (optional): name of the fit.
|
|
32
32
|
- `ship`: the ship being fitted.
|
|
33
33
|
- `type_id`: its type.
|
|
34
|
+
- `mode` (optional): type ID of the active mode, for ships that have modes.
|
|
35
|
+
_Whether the mode belongs to the ship is not checked._
|
|
34
36
|
- `items`: everything fitted or carried. Each item has:
|
|
35
37
|
- `type_id`: its type.
|
|
36
38
|
- `slot`: where the item is.
|
|
@@ -52,6 +54,7 @@ All identifiers are those from the SDE.
|
|
|
52
54
|
### Calculation
|
|
53
55
|
|
|
54
56
|
- `ship`: result for the ship.
|
|
57
|
+
- `mode`: result for the mode; absent when the fit has no mode.
|
|
55
58
|
- `items`: one result per item of the fit, in the same order.
|
|
56
59
|
- `character`: result for the character.
|
|
57
60
|
|
|
@@ -59,7 +62,7 @@ Each result has:
|
|
|
59
62
|
|
|
60
63
|
- `attributes`: per attribute ID, its `base` value before effects and its final `value`.
|
|
61
64
|
With the `sources` option, also `sources`: every modifier on it, in the order they were applied. Each has:
|
|
62
|
-
- `from`: where it comes from; `type` is `ship`, `character`, `item` or `charge` (with the `index` into `items`), or `skill` (with its `type_id`).
|
|
65
|
+
- `from`: where it comes from; `type` is `ship`, `mode`, `character`, `item` or `charge` (with the `index` into `items`), or `skill` (with its `type_id`).
|
|
63
66
|
- `effect_id`: the effect that modifies.
|
|
64
67
|
- `source_attribute_id`: the attribute on the source that holds `value`.
|
|
65
68
|
- `operator`: `pre_assign`, `pre_mul`, `pre_div`, `mod_add`, `mod_sub`, `post_mul`, `post_div`, `post_percent` or `post_assign`.
|
package/esf_dogma_engine_bg.wasm
CHANGED
|
Binary file
|