isaacscript-common 2.0.9 → 2.0.10

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.
@@ -14,6 +14,6 @@ export declare const MAX_VANILLA_PILL_EFFECT: number;
14
14
  export declare const NUM_TRINKET_TYPES: number;
15
15
  export declare const MAX_TRINKET_TYPE: number;
16
16
  export declare const NUM_VANILLA_TRINKET_TYPES: number;
17
- export declare const MAX_VANILLA_TRINKET_TYPE: CollectibleType;
17
+ export declare const MAX_VANILLA_TRINKET_TYPE: number;
18
18
  export declare const MAX_VANILLA_PLAYER_TYPE: PlayerType;
19
19
  export declare const MAX_NORMAL_PILL_COLOR = PillColor.WHITE_YELLOW;
@@ -16,7 +16,7 @@ ____exports.MAX_CARD = ____exports.NUM_CARDS
16
16
  ____exports.NUM_VANILLA_CARDS = getEnumLength(nil, Card) - 1
17
17
  ____exports.MAX_VANILLA_CARD = ____exports.NUM_VANILLA_CARDS
18
18
  ____exports.NUM_COLLECTIBLE_TYPES = itemConfig:GetCollectibles().Size - 1
19
- ____exports.MAX_COLLECTIBLE_TYPE = ____exports.NUM_COLLECTIBLE_TYPES - 1
19
+ ____exports.MAX_COLLECTIBLE_TYPE = ____exports.NUM_COLLECTIBLE_TYPES
20
20
  ____exports.NUM_VANILLA_COLLECTIBLE_TYPES = getLastEnumValue(nil, CollectibleType)
21
21
  ____exports.MAX_VANILLA_COLLECTIBLE_TYPE = ____exports.NUM_VANILLA_COLLECTIBLE_TYPES
22
22
  ____exports.NUM_PILL_EFFECTS = itemConfig:GetPillEffects().Size - 1
@@ -24,9 +24,9 @@ ____exports.MAX_PILL_EFFECT = ____exports.NUM_PILL_EFFECTS
24
24
  ____exports.NUM_VANILLA_PILL_EFFECTS = getEnumLength(nil, PillEffect)
25
25
  ____exports.MAX_VANILLA_PILL_EFFECT = ____exports.NUM_VANILLA_PILL_EFFECTS
26
26
  ____exports.NUM_TRINKET_TYPES = itemConfig:GetTrinkets().Size - 1
27
- ____exports.MAX_TRINKET_TYPE = ____exports.NUM_COLLECTIBLE_TYPES - 1
27
+ ____exports.MAX_TRINKET_TYPE = ____exports.NUM_TRINKET_TYPES
28
28
  ____exports.NUM_VANILLA_TRINKET_TYPES = getEnumLength(nil, TrinketType) - 1
29
- ____exports.MAX_VANILLA_TRINKET_TYPE = ____exports.NUM_VANILLA_COLLECTIBLE_TYPES
29
+ ____exports.MAX_VANILLA_TRINKET_TYPE = ____exports.NUM_VANILLA_TRINKET_TYPES
30
30
  ____exports.MAX_VANILLA_PLAYER_TYPE = getLastEnumValue(nil, PlayerType)
31
31
  ____exports.MAX_NORMAL_PILL_COLOR = PillColor.WHITE_YELLOW
32
32
  return ____exports
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",