isaacscript-common 1.0.532 → 1.0.533

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.
@@ -311,7 +311,8 @@ function ____exports.getPlayerNumAllHearts(self, player)
311
311
  local soulHearts = player:GetSoulHearts()
312
312
  local boneHearts = player:GetBoneHearts()
313
313
  local eternalHearts = player:GetEternalHearts()
314
- return ((hearts + soulHearts) + boneHearts) + eternalHearts
314
+ local rottenHearts = player:GetRottenHearts()
315
+ return (((hearts + soulHearts) + boneHearts) + eternalHearts) - rottenHearts
315
316
  end
316
317
  function ____exports.getPlayersOfType(self, playerType)
317
318
  local players = {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.0.532",
3
+ "version": "1.0.533",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",
@@ -25,7 +25,7 @@
25
25
  "dist/**/*.d.ts"
26
26
  ],
27
27
  "devDependencies": {
28
- "isaac-typescript-definitions": "^1.0.297",
28
+ "isaac-typescript-definitions": "^1.0.298",
29
29
  "isaacscript-lint": "^1.0.72",
30
30
  "typedoc": "^0.22.10",
31
31
  "typescript": "4.4.4",