isaacscript-common 1.2.187 → 1.2.188

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.
@@ -1,2 +1,7 @@
1
1
  /// <reference types="isaac-typescript-definitions" />
2
+ /**
3
+ * Returns the starting stat that Isaac (the default character) starts with.
4
+ *
5
+ * For example, if you pass this function `CacheFlag.CACHE_DAMAGE`, it will return 3.5.
6
+ */
2
7
  export declare function getDefaultPlayerStat(cacheFlag: CacheFlag): float | boolean | undefined;
@@ -9,4 +9,4 @@ export declare function onSetSeed(): boolean;
9
9
  * Helper function to restart the game using the console command of "restart". You can optionally
10
10
  * specify a `PlayerType` to restart the game as that character.
11
11
  */
12
- export declare function restart(character?: PlayerType): void;
12
+ export declare function restart(character?: PlayerType | int): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.2.187",
3
+ "version": "1.2.188",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",