isaacscript-common 1.2.189 → 1.2.190

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.
@@ -4,4 +4,4 @@
4
4
  *
5
5
  * For example, if you pass this function `CacheFlag.CACHE_DAMAGE`, it will return 3.5.
6
6
  */
7
- export declare function getDefaultPlayerStat(cacheFlag: CacheFlag): float | boolean | undefined;
7
+ export declare function getDefaultPlayerStat(cacheFlag: CacheFlag): number | undefined;
@@ -1,5 +1,4 @@
1
- local ____lualib = require("lualib_bundle")
2
- local Map = ____lualib.Map
1
+ --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
3
2
  local ____exports = {}
4
3
  local ____defaultPlayerStatMap = require("maps.defaultPlayerStatMap")
5
4
  local DEFAULT_PLAYER_STAT_MAP = ____defaultPlayerStatMap.DEFAULT_PLAYER_STAT_MAP
@@ -1,2 +1,2 @@
1
1
  /// <reference types="isaac-typescript-definitions" />
2
- export declare const DEFAULT_PLAYER_STAT_MAP: Map<CacheFlag, number | boolean>;
2
+ export declare const DEFAULT_PLAYER_STAT_MAP: ReadonlyMap<CacheFlag, number>;
@@ -8,7 +8,6 @@ ____exports.DEFAULT_PLAYER_STAT_MAP = __TS__New(Map, {
8
8
  {CacheFlag.CACHE_SHOTSPEED, 1},
9
9
  {CacheFlag.CACHE_RANGE, 6.5},
10
10
  {CacheFlag.CACHE_SPEED, 1},
11
- {CacheFlag.CACHE_FLYING, false},
12
11
  {CacheFlag.CACHE_LUCK, 0}
13
12
  })
14
13
  return ____exports
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.2.189",
3
+ "version": "1.2.190",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",