@scm-js/plugin-api 1.57.0 → 1.58.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.
Files changed (2) hide show
  1. package/index.d.ts +6 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -167,7 +167,7 @@ export interface UnitSettings {
167
167
  hitPoints: Uint32Array;
168
168
  shields: Uint16Array;
169
169
  armor: Uint8Array;
170
- /** Game frames (15 per second at Fastest). */
170
+ /** Game frames (about 24 per second at Fastest, 15 at Normal). */
171
171
  buildTime: Uint16Array;
172
172
  mineralCost: Uint16Array;
173
173
  gasCost: Uint16Array;
@@ -516,7 +516,11 @@ declare const ActionFlag: {
516
516
  declare const TriggerFlag: {
517
517
  /** Game bookkeeping: every condition was met this cycle. */
518
518
  readonly ConditionsMet: 1;
519
- /** Ignore Defeat / Draw for this trigger. */
519
+ /**
520
+ * Not what the name says: each time the trigger's actions run, the player counts as won
521
+ * without winning, so every other player in the game with no result is defeated, and a
522
+ * Defeat or Draw of this trigger stalls (docs/triggers.md). The name stays for plugins.
523
+ */
520
524
  readonly IgnoreGameEnd: 2;
521
525
  /** Same as a Preserve Trigger action. */
522
526
  readonly Preserve: 4;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scm-js/plugin-api",
3
- "version": "1.57.0",
3
+ "version": "1.58.0",
4
4
  "description": "Type declarations for the scmJS plugin API",
5
5
  "license": "MIT",
6
6
  "types": "index.d.ts",