isaacscript-common 12.4.0 → 12.5.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.
package/dist/index.d.ts CHANGED
@@ -3424,7 +3424,7 @@ export declare function getHorsePillColors(): PillColor[];
3424
3424
  *
3425
3425
  * For example:
3426
3426
  * - If the user does not have a HUD offset configured, this function will return `Vector(0, 0)`.
3427
- * - If the user has a HUD offset of 1.0 configured, this function will return 10
3427
+ * - If the user has a HUD offset of 1.0 configured, this function will return `Vector(20, 12)`.
3428
3428
  */
3429
3429
  export declare function getHUDOffsetVector(): Vector;
3430
3430
 
@@ -5409,6 +5409,14 @@ export declare function gridIndexToGridPosition(gridIndex: int, roomShape: RoomS
5409
5409
  */
5410
5410
  export declare function gridPositionToWorldPosition(gridPosition: Vector): Vector;
5411
5411
 
5412
+ /**
5413
+ * Helper function to see if a particular entity has armor. In this context, armor refers to the
5414
+ * damage scaling mechanic. For example, Ultra Greed has armor, but a Gaper does not.
5415
+ *
5416
+ * For more on armor, see the wiki: https://bindingofisaacrebirth.fandom.com/wiki/Damage_Scaling
5417
+ */
5418
+ export declare function hasArmor(entity: Entity): boolean;
5419
+
5412
5420
  export declare function hasCurse(curse: LevelCurse): boolean;
5413
5421
 
5414
5422
  /**
@@ -1,6 +1,6 @@
1
1
  --[[
2
2
 
3
- isaacscript-common 12.4.0
3
+ isaacscript-common 12.5.0
4
4
 
5
5
  This is the "isaacscript-common" library, which was created with the IsaacScript tool.
6
6
 
@@ -19289,6 +19289,81 @@ return ____exports
19289
19289
  end,
19290
19290
  ["src.types.AnyGridEntity"] = function(...)
19291
19291
  local ____exports = {}
19292
+ return ____exports
19293
+ end,
19294
+ ["src.sets.entitiesWithArmorSet"] = function(...)
19295
+ local ____lualib = require("lualib_bundle")
19296
+ local Set = ____lualib.Set
19297
+ local __TS__New = ____lualib.__TS__New
19298
+ local ____exports = {}
19299
+ local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
19300
+ local BeastVariant = ____isaac_2Dtypescript_2Ddefinitions.BeastVariant
19301
+ local BloodPuppyVariant = ____isaac_2Dtypescript_2Ddefinitions.BloodPuppyVariant
19302
+ local BoomFlyVariant = ____isaac_2Dtypescript_2Ddefinitions.BoomFlyVariant
19303
+ local Charger2Variant = ____isaac_2Dtypescript_2Ddefinitions.Charger2Variant
19304
+ local DogmaVariant = ____isaac_2Dtypescript_2Ddefinitions.DogmaVariant
19305
+ local EntityType = ____isaac_2Dtypescript_2Ddefinitions.EntityType
19306
+ local FacelessVariant = ____isaac_2Dtypescript_2Ddefinitions.FacelessVariant
19307
+ local Gaper2Variant = ____isaac_2Dtypescript_2Ddefinitions.Gaper2Variant
19308
+ local GuttyFattyVariant = ____isaac_2Dtypescript_2Ddefinitions.GuttyFattyVariant
19309
+ local HiveVariant = ____isaac_2Dtypescript_2Ddefinitions.HiveVariant
19310
+ local HopperVariant = ____isaac_2Dtypescript_2Ddefinitions.HopperVariant
19311
+ local IsaacVariant = ____isaac_2Dtypescript_2Ddefinitions.IsaacVariant
19312
+ local MegaSatanVariant = ____isaac_2Dtypescript_2Ddefinitions.MegaSatanVariant
19313
+ local MoleVariant = ____isaac_2Dtypescript_2Ddefinitions.MoleVariant
19314
+ local MotherVariant = ____isaac_2Dtypescript_2Ddefinitions.MotherVariant
19315
+ local PooterVariant = ____isaac_2Dtypescript_2Ddefinitions.PooterVariant
19316
+ local RoundWormVariant = ____isaac_2Dtypescript_2Ddefinitions.RoundWormVariant
19317
+ local SubHorfVariant = ____isaac_2Dtypescript_2Ddefinitions.SubHorfVariant
19318
+ local SuckerVariant = ____isaac_2Dtypescript_2Ddefinitions.SuckerVariant
19319
+ local UltraGreedVariant = ____isaac_2Dtypescript_2Ddefinitions.UltraGreedVariant
19320
+ local WallCreepVariant = ____isaac_2Dtypescript_2Ddefinitions.WallCreepVariant
19321
+ ____exports.ENTITIES_WITH_ARMOR_SET = __TS__New(
19322
+ Set,
19323
+ {
19324
+ (tostring(EntityType.POOTER) .. ".") .. tostring(PooterVariant.TAINTED_POOTER),
19325
+ (tostring(EntityType.HIVE) .. ".") .. tostring(HiveVariant.TAINTED_MULLIGAN),
19326
+ (tostring(EntityType.BOOM_FLY) .. ".") .. tostring(BoomFlyVariant.TAINTED_BOOM_FLY),
19327
+ (tostring(EntityType.HOPPER) .. ".") .. tostring(HopperVariant.TAINTED_HOPPER),
19328
+ tostring(EntityType.SPITTY),
19329
+ (tostring(EntityType.SUCKER) .. ".") .. tostring(SuckerVariant.TAINTED_SUCKER),
19330
+ (tostring(EntityType.ISAAC) .. ".") .. tostring(IsaacVariant.BLUE_BABY_HUSH),
19331
+ (tostring(EntityType.WALL_CREEP) .. ".") .. tostring(WallCreepVariant.TAINTED_SOY_CREEP),
19332
+ (tostring(EntityType.ROUND_WORM) .. ".") .. tostring(RoundWormVariant.TAINTED_ROUND_WORM),
19333
+ (tostring(EntityType.ROUND_WORM) .. ".") .. tostring(RoundWormVariant.TAINTED_TUBE_WORM),
19334
+ (tostring(EntityType.MEGA_SATAN) .. ".") .. tostring(MegaSatanVariant.MEGA_SATAN),
19335
+ (tostring(EntityType.MEGA_SATAN) .. ".") .. tostring(MegaSatanVariant.MEGA_SATAN_RIGHT_HAND),
19336
+ (tostring(EntityType.MEGA_SATAN) .. ".") .. tostring(MegaSatanVariant.MEGA_SATAN_LEFT_HAND),
19337
+ (tostring(EntityType.MEGA_SATAN_2) .. ".") .. tostring(MegaSatanVariant.MEGA_SATAN),
19338
+ (tostring(EntityType.MEGA_SATAN_2) .. ".") .. tostring(MegaSatanVariant.MEGA_SATAN_RIGHT_HAND),
19339
+ (tostring(EntityType.MEGA_SATAN_2) .. ".") .. tostring(MegaSatanVariant.MEGA_SATAN_LEFT_HAND),
19340
+ (tostring(EntityType.ULTRA_GREED) .. ".") .. tostring(UltraGreedVariant.ULTRA_GREED),
19341
+ (tostring(EntityType.ULTRA_GREED) .. ".") .. tostring(UltraGreedVariant.ULTRA_GREEDIER),
19342
+ tostring(EntityType.HUSH) .. ".0",
19343
+ tostring(EntityType.DELIRIUM) .. ".0",
19344
+ (tostring(EntityType.BLOOD_PUPPY) .. ".") .. tostring(BloodPuppyVariant.SMALL),
19345
+ (tostring(EntityType.BLOOD_PUPPY) .. ".") .. tostring(BloodPuppyVariant.LARGE),
19346
+ (tostring(EntityType.SUB_HORF) .. ".") .. tostring(SubHorfVariant.TAINTED_SUB_HORF),
19347
+ (tostring(EntityType.FACELESS) .. ".") .. tostring(FacelessVariant.TAINTED_FACELESS),
19348
+ (tostring(EntityType.MOLE) .. ".") .. tostring(MoleVariant.TAINTED_MOLE),
19349
+ (tostring(EntityType.GUTTED_FATTY) .. ".") .. tostring(GuttyFattyVariant.GUTTED_FATTY),
19350
+ (tostring(EntityType.GAPER_L2) .. ".") .. tostring(Gaper2Variant.GAPER),
19351
+ (tostring(EntityType.GAPER_L2) .. ".") .. tostring(Gaper2Variant.HORF),
19352
+ (tostring(EntityType.GAPER_L2) .. ".") .. tostring(Gaper2Variant.GUSHER),
19353
+ (tostring(EntityType.CHARGER_L2) .. ".") .. tostring(Charger2Variant.CHARGER),
19354
+ (tostring(EntityType.CHARGER_L2) .. ".") .. tostring(Charger2Variant.ELLEECH),
19355
+ tostring(EntityType.SHADY) .. ".0",
19356
+ (tostring(EntityType.MOTHER) .. ".") .. tostring(MotherVariant.MOTHER_1),
19357
+ (tostring(EntityType.MOTHER) .. ".") .. tostring(MotherVariant.MOTHER_2),
19358
+ (tostring(EntityType.DOGMA) .. ".") .. tostring(DogmaVariant.TV),
19359
+ (tostring(EntityType.DOGMA) .. ".") .. tostring(DogmaVariant.ANGEL_PHASE_2),
19360
+ (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.BEAST),
19361
+ (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.ULTRA_FAMINE),
19362
+ (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.ULTRA_PESTILENCE),
19363
+ (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.ULTRA_WAR),
19364
+ (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.ULTRA_DEATH)
19365
+ }
19366
+ )
19292
19367
  return ____exports
19293
19368
  end,
19294
19369
  ["src.sets.storyBossesSet"] = function(...)
@@ -19499,8 +19574,8 @@ return ____exports
19499
19574
  end,
19500
19575
  ["src.functions.entities"] = function(...)
19501
19576
  local ____lualib = require("lualib_bundle")
19502
- local __TS__ArrayFind = ____lualib.__TS__ArrayFind
19503
19577
  local Set = ____lualib.Set
19578
+ local __TS__ArrayFind = ____lualib.__TS__ArrayFind
19504
19579
  local __TS__New = ____lualib.__TS__New
19505
19580
  local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
19506
19581
  local __TS__StringSplit = ____lualib.__TS__StringSplit
@@ -19510,6 +19585,8 @@ local ____cachedClasses = require("src.core.cachedClasses")
19510
19585
  local game = ____cachedClasses.game
19511
19586
  local ____constants = require("src.core.constants")
19512
19587
  local VectorZero = ____constants.VectorZero
19588
+ local ____entitiesWithArmorSet = require("src.sets.entitiesWithArmorSet")
19589
+ local ENTITIES_WITH_ARMOR_SET = ____entitiesWithArmorSet.ENTITIES_WITH_ARMOR_SET
19513
19590
  local ____storyBossesSet = require("src.sets.storyBossesSet")
19514
19591
  local STORY_BOSSES_SET = ____storyBossesSet.STORY_BOSSES_SET
19515
19592
  local ____isaacAPIClass = require("src.functions.isaacAPIClass")
@@ -19685,6 +19762,10 @@ function ____exports.getFilteredNewEntities(self, oldEntities, newEntities)
19685
19762
  end
19686
19763
  )
19687
19764
  end
19765
+ function ____exports.hasArmor(self, entity)
19766
+ local typeVariantString = (tostring(entity.Type) .. ".") .. tostring(entity.Variant)
19767
+ return ENTITIES_WITH_ARMOR_SET:has(typeVariantString)
19768
+ end
19688
19769
  function ____exports.isEntityMoving(self, entity, threshold)
19689
19770
  if threshold == nil then
19690
19771
  threshold = 0.01
@@ -52207,40 +52288,6 @@ do
52207
52288
  end
52208
52289
  end
52209
52290
  end
52210
- return ____exports
52211
- end,
52212
- ["src.sets.entitiesWithArmorSet"] = function(...)
52213
- local ____lualib = require("lualib_bundle")
52214
- local Set = ____lualib.Set
52215
- local __TS__New = ____lualib.__TS__New
52216
- local ____exports = {}
52217
- local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
52218
- local BeastVariant = ____isaac_2Dtypescript_2Ddefinitions.BeastVariant
52219
- local BoomFlyVariant = ____isaac_2Dtypescript_2Ddefinitions.BoomFlyVariant
52220
- local DogmaVariant = ____isaac_2Dtypescript_2Ddefinitions.DogmaVariant
52221
- local EntityType = ____isaac_2Dtypescript_2Ddefinitions.EntityType
52222
- local HiveVariant = ____isaac_2Dtypescript_2Ddefinitions.HiveVariant
52223
- local HopperVariant = ____isaac_2Dtypescript_2Ddefinitions.HopperVariant
52224
- local MotherVariant = ____isaac_2Dtypescript_2Ddefinitions.MotherVariant
52225
- local PooterVariant = ____isaac_2Dtypescript_2Ddefinitions.PooterVariant
52226
- ____exports.ENTITIES_WITH_ARMOR_SET = __TS__New(
52227
- Set,
52228
- {
52229
- (tostring(EntityType.POOTER) .. ".") .. tostring(PooterVariant.TAINTED_POOTER),
52230
- (tostring(EntityType.HIVE) .. ".") .. tostring(HiveVariant.TAINTED_MULLIGAN),
52231
- (tostring(EntityType.BOOM_FLY) .. ".") .. tostring(BoomFlyVariant.TAINTED_BOOM_FLY),
52232
- (tostring(EntityType.HOPPER) .. ".") .. tostring(HopperVariant.TAINTED_HOPPER),
52233
- tostring(EntityType.SPITTY),
52234
- (tostring(EntityType.MOTHER) .. ".") .. tostring(MotherVariant.MOTHER_1),
52235
- (tostring(EntityType.MOTHER) .. ".") .. tostring(MotherVariant.MOTHER_2),
52236
- (tostring(EntityType.DOGMA) .. ".") .. tostring(DogmaVariant.DOGMA_PHASE_1),
52237
- (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.BEAST),
52238
- (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.ULTRA_FAMINE),
52239
- (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.ULTRA_PESTILENCE),
52240
- (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.ULTRA_WAR),
52241
- (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.ULTRA_DEATH)
52242
- }
52243
- )
52244
52291
  return ____exports
52245
52292
  end,
52246
52293
  }
@@ -88,6 +88,13 @@ export declare function getEntityIDFromConstituents(entityType: EntityType, vari
88
88
  * second array but not in the first array.
89
89
  */
90
90
  export declare function getFilteredNewEntities<T extends AnyEntity>(oldEntities: T[], newEntities: T[]): T[];
91
+ /**
92
+ * Helper function to see if a particular entity has armor. In this context, armor refers to the
93
+ * damage scaling mechanic. For example, Ultra Greed has armor, but a Gaper does not.
94
+ *
95
+ * For more on armor, see the wiki: https://bindingofisaacrebirth.fandom.com/wiki/Damage_Scaling
96
+ */
97
+ export declare function hasArmor(entity: Entity): boolean;
91
98
  /**
92
99
  * Helper function to measure an entity's velocity to see if it is moving.
93
100
  *
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/functions/entities.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAI1D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAkB/C;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAC3B,UAAU,GAAE,UAAe,EAC3B,OAAO,SAAK,EACZ,OAAO,SAAK,EACZ,cAAc,UAAQ,GACrB,GAAG,CAcL;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC7B,UAAU,GAAE,UAAe,EAC3B,OAAO,SAAK,EACZ,OAAO,SAAK,EACZ,cAAc,UAAQ,GACrB,OAAO,CAGT;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,SAAS,EACpD,eAAe,EAAE,MAAM,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QAAQ,EAAE,MAAM,EAChB,QAAQ,GAAE,MAAmB,EAC7B,OAAO,GAAE,MAAM,GAAG,SAAqB,EACvC,SAAS,GAAE,IAAI,GAAG,GAAG,GAAG,SAAqB,GAC5C,MAAM,CAsCR;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAC3B,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,GAAG,EACZ,OAAO,EAAE,GAAG,EACZ,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,IAAI,GAAG,GAAG,EACrB,QAAQ,GAAE,MAAmB,EAC7B,OAAO,GAAE,MAAM,GAAG,SAAqB,GACtC,MAAM,CAUR"}
@@ -1,6 +1,6 @@
1
1
  local ____lualib = require("lualib_bundle")
2
- local __TS__ArrayFind = ____lualib.__TS__ArrayFind
3
2
  local Set = ____lualib.Set
3
+ local __TS__ArrayFind = ____lualib.__TS__ArrayFind
4
4
  local __TS__New = ____lualib.__TS__New
5
5
  local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
6
6
  local __TS__StringSplit = ____lualib.__TS__StringSplit
@@ -10,6 +10,8 @@ local ____cachedClasses = require("src.core.cachedClasses")
10
10
  local game = ____cachedClasses.game
11
11
  local ____constants = require("src.core.constants")
12
12
  local VectorZero = ____constants.VectorZero
13
+ local ____entitiesWithArmorSet = require("src.sets.entitiesWithArmorSet")
14
+ local ENTITIES_WITH_ARMOR_SET = ____entitiesWithArmorSet.ENTITIES_WITH_ARMOR_SET
13
15
  local ____storyBossesSet = require("src.sets.storyBossesSet")
14
16
  local STORY_BOSSES_SET = ____storyBossesSet.STORY_BOSSES_SET
15
17
  local ____isaacAPIClass = require("src.functions.isaacAPIClass")
@@ -253,6 +255,14 @@ function ____exports.getFilteredNewEntities(self, oldEntities, newEntities)
253
255
  end
254
256
  )
255
257
  end
258
+ --- Helper function to see if a particular entity has armor. In this context, armor refers to the
259
+ -- damage scaling mechanic. For example, Ultra Greed has armor, but a Gaper does not.
260
+ --
261
+ -- For more on armor, see the wiki: https://bindingofisaacrebirth.fandom.com/wiki/Damage_Scaling
262
+ function ____exports.hasArmor(self, entity)
263
+ local typeVariantString = (tostring(entity.Type) .. ".") .. tostring(entity.Variant)
264
+ return ENTITIES_WITH_ARMOR_SET:has(typeVariantString)
265
+ end
256
266
  --- Helper function to measure an entity's velocity to see if it is moving.
257
267
  --
258
268
  -- Use this helper function over checking if the velocity length is equal to 0 because entities can
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * For example:
10
10
  * - If the user does not have a HUD offset configured, this function will return `Vector(0, 0)`.
11
- * - If the user has a HUD offset of 1.0 configured, this function will return 10
11
+ * - If the user has a HUD offset of 1.0 configured, this function will return `Vector(20, 12)`.
12
12
  */
13
13
  export declare function getHUDOffsetVector(): Vector;
14
14
  /**
@@ -20,7 +20,7 @@ end
20
20
  --
21
21
  -- For example:
22
22
  -- - If the user does not have a HUD offset configured, this function will return `Vector(0, 0)`.
23
- -- - If the user has a HUD offset of 1.0 configured, this function will return 10
23
+ -- - If the user has a HUD offset of 1.0 configured, this function will return `Vector(20, 12)`.
24
24
  function ____exports.getHUDOffsetVector(self)
25
25
  local hudOffset = math.floor(Options.HUDOffset * 10)
26
26
  if hudOffset < 1 or hudOffset > 10 then
@@ -1,8 +1,13 @@
1
1
  /**
2
- * Corresponds to:
2
+ * "Armor" refers to the damage scaling mechanic. The following list corresponds to the entities
3
+ * that have the "shieldStrength" field in the "entities2.xml" file, with some exceptions.
4
+ * (Invulnerable enemies are not included. Furthermore, Ultra Greed, Ultra Greedier, and Delirium
5
+ * all have damage scaling, but do not have a corresponding "shieldStrength" field.)
6
+ *
7
+ * Also see:
3
8
  * https://bindingofisaacrebirth.fandom.com/wiki/Damage_Scaling#Entities_with_Armor_Values
4
9
  *
5
- * We use the entity ID instead of type + variant tuple so that we can have O(1) lookups.
10
+ * We use strings instead of a type + variant tuple so that we can have O(1) lookups.
6
11
  */
7
12
  export declare const ENTITIES_WITH_ARMOR_SET: Set<string>;
8
13
  //# sourceMappingURL=entitiesWithArmorSet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entitiesWithArmorSet.d.ts","sourceRoot":"","sources":["../../../src/sets/entitiesWithArmorSet.ts"],"names":[],"mappings":"AAWA;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,aAwClC,CAAC"}
1
+ {"version":3,"file":"entitiesWithArmorSet.d.ts","sourceRoot":"","sources":["../../../src/sets/entitiesWithArmorSet.ts"],"names":[],"mappings":"AAwBA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,uBAAuB,aA0ClC,CAAC"}
@@ -4,17 +4,35 @@ local __TS__New = ____lualib.__TS__New
4
4
  local ____exports = {}
5
5
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
6
6
  local BeastVariant = ____isaac_2Dtypescript_2Ddefinitions.BeastVariant
7
+ local BloodPuppyVariant = ____isaac_2Dtypescript_2Ddefinitions.BloodPuppyVariant
7
8
  local BoomFlyVariant = ____isaac_2Dtypescript_2Ddefinitions.BoomFlyVariant
9
+ local Charger2Variant = ____isaac_2Dtypescript_2Ddefinitions.Charger2Variant
8
10
  local DogmaVariant = ____isaac_2Dtypescript_2Ddefinitions.DogmaVariant
9
11
  local EntityType = ____isaac_2Dtypescript_2Ddefinitions.EntityType
12
+ local FacelessVariant = ____isaac_2Dtypescript_2Ddefinitions.FacelessVariant
13
+ local Gaper2Variant = ____isaac_2Dtypescript_2Ddefinitions.Gaper2Variant
14
+ local GuttyFattyVariant = ____isaac_2Dtypescript_2Ddefinitions.GuttyFattyVariant
10
15
  local HiveVariant = ____isaac_2Dtypescript_2Ddefinitions.HiveVariant
11
16
  local HopperVariant = ____isaac_2Dtypescript_2Ddefinitions.HopperVariant
17
+ local IsaacVariant = ____isaac_2Dtypescript_2Ddefinitions.IsaacVariant
18
+ local MegaSatanVariant = ____isaac_2Dtypescript_2Ddefinitions.MegaSatanVariant
19
+ local MoleVariant = ____isaac_2Dtypescript_2Ddefinitions.MoleVariant
12
20
  local MotherVariant = ____isaac_2Dtypescript_2Ddefinitions.MotherVariant
13
21
  local PooterVariant = ____isaac_2Dtypescript_2Ddefinitions.PooterVariant
14
- --- Corresponds to:
22
+ local RoundWormVariant = ____isaac_2Dtypescript_2Ddefinitions.RoundWormVariant
23
+ local SubHorfVariant = ____isaac_2Dtypescript_2Ddefinitions.SubHorfVariant
24
+ local SuckerVariant = ____isaac_2Dtypescript_2Ddefinitions.SuckerVariant
25
+ local UltraGreedVariant = ____isaac_2Dtypescript_2Ddefinitions.UltraGreedVariant
26
+ local WallCreepVariant = ____isaac_2Dtypescript_2Ddefinitions.WallCreepVariant
27
+ --- "Armor" refers to the damage scaling mechanic. The following list corresponds to the entities
28
+ -- that have the "shieldStrength" field in the "entities2.xml" file, with some exceptions.
29
+ -- (Invulnerable enemies are not included. Furthermore, Ultra Greed, Ultra Greedier, and Delirium
30
+ -- all have damage scaling, but do not have a corresponding "shieldStrength" field.)
31
+ --
32
+ -- Also see:
15
33
  -- https://bindingofisaacrebirth.fandom.com/wiki/Damage_Scaling#Entities_with_Armor_Values
16
34
  --
17
- -- We use the entity ID instead of type + variant tuple so that we can have O(1) lookups.
35
+ -- We use strings instead of a type + variant tuple so that we can have O(1) lookups.
18
36
  ____exports.ENTITIES_WITH_ARMOR_SET = __TS__New(
19
37
  Set,
20
38
  {
@@ -23,9 +41,37 @@ ____exports.ENTITIES_WITH_ARMOR_SET = __TS__New(
23
41
  (tostring(EntityType.BOOM_FLY) .. ".") .. tostring(BoomFlyVariant.TAINTED_BOOM_FLY),
24
42
  (tostring(EntityType.HOPPER) .. ".") .. tostring(HopperVariant.TAINTED_HOPPER),
25
43
  tostring(EntityType.SPITTY),
44
+ (tostring(EntityType.SUCKER) .. ".") .. tostring(SuckerVariant.TAINTED_SUCKER),
45
+ (tostring(EntityType.ISAAC) .. ".") .. tostring(IsaacVariant.BLUE_BABY_HUSH),
46
+ (tostring(EntityType.WALL_CREEP) .. ".") .. tostring(WallCreepVariant.TAINTED_SOY_CREEP),
47
+ (tostring(EntityType.ROUND_WORM) .. ".") .. tostring(RoundWormVariant.TAINTED_ROUND_WORM),
48
+ (tostring(EntityType.ROUND_WORM) .. ".") .. tostring(RoundWormVariant.TAINTED_TUBE_WORM),
49
+ (tostring(EntityType.MEGA_SATAN) .. ".") .. tostring(MegaSatanVariant.MEGA_SATAN),
50
+ (tostring(EntityType.MEGA_SATAN) .. ".") .. tostring(MegaSatanVariant.MEGA_SATAN_RIGHT_HAND),
51
+ (tostring(EntityType.MEGA_SATAN) .. ".") .. tostring(MegaSatanVariant.MEGA_SATAN_LEFT_HAND),
52
+ (tostring(EntityType.MEGA_SATAN_2) .. ".") .. tostring(MegaSatanVariant.MEGA_SATAN),
53
+ (tostring(EntityType.MEGA_SATAN_2) .. ".") .. tostring(MegaSatanVariant.MEGA_SATAN_RIGHT_HAND),
54
+ (tostring(EntityType.MEGA_SATAN_2) .. ".") .. tostring(MegaSatanVariant.MEGA_SATAN_LEFT_HAND),
55
+ (tostring(EntityType.ULTRA_GREED) .. ".") .. tostring(UltraGreedVariant.ULTRA_GREED),
56
+ (tostring(EntityType.ULTRA_GREED) .. ".") .. tostring(UltraGreedVariant.ULTRA_GREEDIER),
57
+ tostring(EntityType.HUSH) .. ".0",
58
+ tostring(EntityType.DELIRIUM) .. ".0",
59
+ (tostring(EntityType.BLOOD_PUPPY) .. ".") .. tostring(BloodPuppyVariant.SMALL),
60
+ (tostring(EntityType.BLOOD_PUPPY) .. ".") .. tostring(BloodPuppyVariant.LARGE),
61
+ (tostring(EntityType.SUB_HORF) .. ".") .. tostring(SubHorfVariant.TAINTED_SUB_HORF),
62
+ (tostring(EntityType.FACELESS) .. ".") .. tostring(FacelessVariant.TAINTED_FACELESS),
63
+ (tostring(EntityType.MOLE) .. ".") .. tostring(MoleVariant.TAINTED_MOLE),
64
+ (tostring(EntityType.GUTTED_FATTY) .. ".") .. tostring(GuttyFattyVariant.GUTTED_FATTY),
65
+ (tostring(EntityType.GAPER_L2) .. ".") .. tostring(Gaper2Variant.GAPER),
66
+ (tostring(EntityType.GAPER_L2) .. ".") .. tostring(Gaper2Variant.HORF),
67
+ (tostring(EntityType.GAPER_L2) .. ".") .. tostring(Gaper2Variant.GUSHER),
68
+ (tostring(EntityType.CHARGER_L2) .. ".") .. tostring(Charger2Variant.CHARGER),
69
+ (tostring(EntityType.CHARGER_L2) .. ".") .. tostring(Charger2Variant.ELLEECH),
70
+ tostring(EntityType.SHADY) .. ".0",
26
71
  (tostring(EntityType.MOTHER) .. ".") .. tostring(MotherVariant.MOTHER_1),
27
72
  (tostring(EntityType.MOTHER) .. ".") .. tostring(MotherVariant.MOTHER_2),
28
- (tostring(EntityType.DOGMA) .. ".") .. tostring(DogmaVariant.DOGMA_PHASE_1),
73
+ (tostring(EntityType.DOGMA) .. ".") .. tostring(DogmaVariant.TV),
74
+ (tostring(EntityType.DOGMA) .. ".") .. tostring(DogmaVariant.ANGEL_PHASE_2),
29
75
  (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.BEAST),
30
76
  (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.ULTRA_FAMINE),
31
77
  (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.ULTRA_PESTILENCE),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "12.4.0",
3
+ "version": "12.5.0",
4
4
  "description": "Helper functions and features for IsaacScript mods.",
5
5
  "keywords": [
6
6
  "isaac",
@@ -1,6 +1,7 @@
1
1
  import { EntityType } from "isaac-typescript-definitions";
2
2
  import { game } from "../core/cachedClasses";
3
3
  import { VectorZero } from "../core/constants";
4
+ import { ENTITIES_WITH_ARMOR_SET } from "../sets/entitiesWithArmorSet";
4
5
  import { STORY_BOSSES_SET } from "../sets/storyBossesSet";
5
6
  import { AnyEntity } from "../types/AnyEntity";
6
7
  import { getIsaacAPIClassName } from "./isaacAPIClass";
@@ -251,6 +252,17 @@ export function getFilteredNewEntities<T extends AnyEntity>(
251
252
  });
252
253
  }
253
254
 
255
+ /**
256
+ * Helper function to see if a particular entity has armor. In this context, armor refers to the
257
+ * damage scaling mechanic. For example, Ultra Greed has armor, but a Gaper does not.
258
+ *
259
+ * For more on armor, see the wiki: https://bindingofisaacrebirth.fandom.com/wiki/Damage_Scaling
260
+ */
261
+ export function hasArmor(entity: Entity): boolean {
262
+ const typeVariantString = `${entity.Type}.${entity.Variant}`;
263
+ return ENTITIES_WITH_ARMOR_SET.has(typeVariantString);
264
+ }
265
+
254
266
  /**
255
267
  * Helper function to measure an entity's velocity to see if it is moving.
256
268
  *
@@ -10,7 +10,7 @@ import { copyVector } from "./vector";
10
10
  *
11
11
  * For example:
12
12
  * - If the user does not have a HUD offset configured, this function will return `Vector(0, 0)`.
13
- * - If the user has a HUD offset of 1.0 configured, this function will return 10
13
+ * - If the user has a HUD offset of 1.0 configured, this function will return `Vector(20, 12)`.
14
14
  */
15
15
  export function getHUDOffsetVector(): Vector {
16
16
  // Convert e.g. 0.4 to 4.
@@ -1,55 +1,75 @@
1
1
  import {
2
2
  BeastVariant,
3
+ BloodPuppyVariant,
3
4
  BoomFlyVariant,
5
+ Charger2Variant,
4
6
  DogmaVariant,
5
7
  EntityType,
8
+ FacelessVariant,
9
+ Gaper2Variant,
10
+ GuttyFattyVariant,
6
11
  HiveVariant,
7
12
  HopperVariant,
13
+ IsaacVariant,
14
+ MegaSatanVariant,
15
+ MoleVariant,
8
16
  MotherVariant,
9
17
  PooterVariant,
18
+ RoundWormVariant,
19
+ SubHorfVariant,
20
+ SuckerVariant,
21
+ UltraGreedVariant,
22
+ WallCreepVariant,
10
23
  } from "isaac-typescript-definitions";
11
24
 
12
25
  /**
13
- * Corresponds to:
26
+ * "Armor" refers to the damage scaling mechanic. The following list corresponds to the entities
27
+ * that have the "shieldStrength" field in the "entities2.xml" file, with some exceptions.
28
+ * (Invulnerable enemies are not included. Furthermore, Ultra Greed, Ultra Greedier, and Delirium
29
+ * all have damage scaling, but do not have a corresponding "shieldStrength" field.)
30
+ *
31
+ * Also see:
14
32
  * https://bindingofisaacrebirth.fandom.com/wiki/Damage_Scaling#Entities_with_Armor_Values
15
33
  *
16
- * We use the entity ID instead of type + variant tuple so that we can have O(1) lookups.
34
+ * We use strings instead of a type + variant tuple so that we can have O(1) lookups.
17
35
  */
18
36
  export const ENTITIES_WITH_ARMOR_SET = new Set([
19
37
  `${EntityType.POOTER}.${PooterVariant.TAINTED_POOTER}`, // 14.2
20
38
  `${EntityType.HIVE}.${HiveVariant.TAINTED_MULLIGAN}`, // 22.3
21
- `${EntityType.BOOM_FLY}.${BoomFlyVariant.TAINTED_BOOM_FLY}`, // 22.6
39
+ `${EntityType.BOOM_FLY}.${BoomFlyVariant.TAINTED_BOOM_FLY}`, // 25.6
22
40
  `${EntityType.HOPPER}.${HopperVariant.TAINTED_HOPPER}`, // 29.3
23
41
  `${EntityType.SPITTY}`, // 31.1
24
- // 61.7
25
- // 102.2
26
- // 240.3
27
- // 244.2
28
- // 244.3
29
- // 274.0
30
- // 274.1
31
- // 274.2
32
- // 275.0
33
- // 275.1
34
- // 275.2
35
- // 406.0
36
- // 407.0
37
- // 412.0
38
- // 802.0
39
- // 802.1
40
- // 812.1
41
- // 827.1
42
- // 829.1
43
- // 831.0
44
- // 850.0
45
- // 850.1
46
- // 850.2
47
- // 855.0
48
- // 855.1
49
- // 888.0
42
+ `${EntityType.SUCKER}.${SuckerVariant.TAINTED_SUCKER}`, // 61.7
43
+ `${EntityType.ISAAC}.${IsaacVariant.BLUE_BABY_HUSH}`, // 102.2
44
+ `${EntityType.WALL_CREEP}.${WallCreepVariant.TAINTED_SOY_CREEP}`, // 240.3
45
+ `${EntityType.ROUND_WORM}.${RoundWormVariant.TAINTED_ROUND_WORM}`, // 244.2
46
+ `${EntityType.ROUND_WORM}.${RoundWormVariant.TAINTED_TUBE_WORM}`, // 244.3
47
+ `${EntityType.MEGA_SATAN}.${MegaSatanVariant.MEGA_SATAN}`, // 274.0
48
+ `${EntityType.MEGA_SATAN}.${MegaSatanVariant.MEGA_SATAN_RIGHT_HAND}`, // 274.1
49
+ `${EntityType.MEGA_SATAN}.${MegaSatanVariant.MEGA_SATAN_LEFT_HAND}`, // 274.2
50
+ `${EntityType.MEGA_SATAN_2}.${MegaSatanVariant.MEGA_SATAN}`, // 275.0
51
+ `${EntityType.MEGA_SATAN_2}.${MegaSatanVariant.MEGA_SATAN_RIGHT_HAND}`, // 275.1
52
+ `${EntityType.MEGA_SATAN_2}.${MegaSatanVariant.MEGA_SATAN_LEFT_HAND}`, // 275.2
53
+ `${EntityType.ULTRA_GREED}.${UltraGreedVariant.ULTRA_GREED}`, // 406.0
54
+ `${EntityType.ULTRA_GREED}.${UltraGreedVariant.ULTRA_GREEDIER}`, // 406.1
55
+ `${EntityType.HUSH}.0`, // 407.0
56
+ `${EntityType.DELIRIUM}.0`, // 412.0
57
+ `${EntityType.BLOOD_PUPPY}.${BloodPuppyVariant.SMALL}`, // 802.0
58
+ `${EntityType.BLOOD_PUPPY}.${BloodPuppyVariant.LARGE}`, // 802.1
59
+ `${EntityType.SUB_HORF}.${SubHorfVariant.TAINTED_SUB_HORF}`, // 812.1
60
+ `${EntityType.FACELESS}.${FacelessVariant.TAINTED_FACELESS}`, // 827.1
61
+ `${EntityType.MOLE}.${MoleVariant.TAINTED_MOLE}`, // 829.1
62
+ `${EntityType.GUTTED_FATTY}.${GuttyFattyVariant.GUTTED_FATTY}`, // 831.0
63
+ `${EntityType.GAPER_L2}.${Gaper2Variant.GAPER}`, // 850.0
64
+ `${EntityType.GAPER_L2}.${Gaper2Variant.HORF}`, // 850.1
65
+ `${EntityType.GAPER_L2}.${Gaper2Variant.GUSHER}`, // 850.2
66
+ `${EntityType.CHARGER_L2}.${Charger2Variant.CHARGER}`, // 855.0
67
+ `${EntityType.CHARGER_L2}.${Charger2Variant.ELLEECH}`, // 855.1
68
+ `${EntityType.SHADY}.0`, // 888.0
50
69
  `${EntityType.MOTHER}.${MotherVariant.MOTHER_1}`, // 912.0
51
70
  `${EntityType.MOTHER}.${MotherVariant.MOTHER_2}`, // 912.10
52
- `${EntityType.DOGMA}.${DogmaVariant.DOGMA_PHASE_1}`, // 950.0
71
+ `${EntityType.DOGMA}.${DogmaVariant.TV}`, // 950.1
72
+ `${EntityType.DOGMA}.${DogmaVariant.ANGEL_PHASE_2}`, // 950.2
53
73
  `${EntityType.BEAST}.${BeastVariant.BEAST}`, // 951.0
54
74
  `${EntityType.BEAST}.${BeastVariant.ULTRA_FAMINE}`, // 951.10
55
75
  `${EntityType.BEAST}.${BeastVariant.ULTRA_PESTILENCE}`, // 951.20