isaacscript-common 77.3.0 → 77.4.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModdedElementDetection.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/ModdedElementDetection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,eAAe,EACf,UAAU,EACV,WAAW,EACZ,MAAM,8BAA8B,CAAC;AAqBtC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD;;;;;;;;;GASG;AACH,qBAAa,sBAAuB,SAAQ,OAAO;IACjD,OAAO,CAAC,uBAAuB,CAAS;IAaxC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAE7B;IAEF,OAAO,CAAC,uBAAuB;IAY/B;;;;;;;;;;;OAWG;IAEI,6BAA6B,IAAI,eAAe,GAAG,SAAS;IAenE;;;;;;;;;;;;;;;;;OAiBG;IAEI,sBAAsB,IAAI,eAAe;IAKhD;;;;;;;;;;;;;OAaG;IAEI,sBAAsB,IAAI,GAAG;IAOpC;;;;;;;;;;;OAWG;IAEI,4BAA4B,IAAI,GAAG;IAW1C;;;;;;;;;;OAUG;IAEI,yBAAyB,IAAI,WAAW,GAAG,SAAS;IAU3D;;;;;;;;;;;;;;;;OAgBG;IAEI,kBAAkB,IAAI,WAAW;IAKxC;;;;;;;;;;;;OAYG;IAEI,kBAAkB,IAAI,GAAG;IAOhC;;;;;;;;;;OAUG;IAEI,wBAAwB,IAAI,GAAG;IAWtC;;;;;;;;;;OAUG;IAEI,sBAAsB,IAAI,QAAQ,GAAG,SAAS;IAWrD;;;;;;;;;;;;;OAaG;IAEI,eAAe,IAAI,QAAQ;IAOlC;;;;;;;;;;;;OAYG;IAEI,eAAe,IAAI,GAAG;IAK7B;;;;;;;;OAQG;IAEI,qBAAqB,IAAI,GAAG;IAWnC;;;;;;;;;;;OAWG;IAEI,wBAAwB,IAAI,UAAU,GAAG,SAAS;IAezD;;;;;;;;;;;;;;OAcG;IAEI,iBAAiB,IAAI,UAAU;
|
|
1
|
+
{"version":3,"file":"ModdedElementDetection.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/ModdedElementDetection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,eAAe,EACf,UAAU,EACV,WAAW,EACZ,MAAM,8BAA8B,CAAC;AAqBtC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD;;;;;;;;;GASG;AACH,qBAAa,sBAAuB,SAAQ,OAAO;IACjD,OAAO,CAAC,uBAAuB,CAAS;IAaxC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAE7B;IAEF,OAAO,CAAC,uBAAuB;IAY/B;;;;;;;;;;;OAWG;IAEI,6BAA6B,IAAI,eAAe,GAAG,SAAS;IAenE;;;;;;;;;;;;;;;;;OAiBG;IAEI,sBAAsB,IAAI,eAAe;IAKhD;;;;;;;;;;;;;OAaG;IAEI,sBAAsB,IAAI,GAAG;IAOpC;;;;;;;;;;;OAWG;IAEI,4BAA4B,IAAI,GAAG;IAW1C;;;;;;;;;;OAUG;IAEI,yBAAyB,IAAI,WAAW,GAAG,SAAS;IAU3D;;;;;;;;;;;;;;;;OAgBG;IAEI,kBAAkB,IAAI,WAAW;IAKxC;;;;;;;;;;;;OAYG;IAEI,kBAAkB,IAAI,GAAG;IAOhC;;;;;;;;;;OAUG;IAEI,wBAAwB,IAAI,GAAG;IAWtC;;;;;;;;;;OAUG;IAEI,sBAAsB,IAAI,QAAQ,GAAG,SAAS;IAWrD;;;;;;;;;;;;;OAaG;IAEI,eAAe,IAAI,QAAQ;IAOlC;;;;;;;;;;;;OAYG;IAEI,eAAe,IAAI,GAAG;IAK7B;;;;;;;;OAQG;IAEI,qBAAqB,IAAI,GAAG;IAWnC;;;;;;;;;;;OAWG;IAEI,wBAAwB,IAAI,UAAU,GAAG,SAAS;IAezD;;;;;;;;;;;;;;OAcG;IAEI,iBAAiB,IAAI,UAAU;IAStC;;;;;;;;;;;;;;OAcG;IAEI,iBAAiB,IAAI,GAAG;IAK/B;;;;;;;;;OASG;IAEI,uBAAuB,IAAI,GAAG;CAMtC"}
|
|
@@ -168,7 +168,7 @@ end
|
|
|
168
168
|
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getFirstModdedPillEffect", true)
|
|
169
169
|
function ModdedElementDetection.prototype.getLastPillEffect(self)
|
|
170
170
|
self:errorIfNoCallbacksFired("pill")
|
|
171
|
-
local numPillEffects = self:getNumPillEffects()
|
|
171
|
+
local numPillEffects = self:getNumPillEffects() - 1
|
|
172
172
|
return asPillEffect(nil, numPillEffects)
|
|
173
173
|
end
|
|
174
174
|
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getLastPillEffect", true)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common 77.
|
|
3
|
+
isaacscript-common 77.3.1
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -6476,6 +6476,10 @@ ____exports.MotherVariant.MOTHER_1 = 0
|
|
|
6476
6476
|
____exports.MotherVariant[____exports.MotherVariant.MOTHER_1] = "MOTHER_1"
|
|
6477
6477
|
____exports.MotherVariant.MOTHER_2 = 10
|
|
6478
6478
|
____exports.MotherVariant[____exports.MotherVariant.MOTHER_2] = "MOTHER_2"
|
|
6479
|
+
____exports.MotherVariant.DEAD_ISAAC = 20
|
|
6480
|
+
____exports.MotherVariant[____exports.MotherVariant.DEAD_ISAAC] = "DEAD_ISAAC"
|
|
6481
|
+
____exports.MotherVariant.WORM = 30
|
|
6482
|
+
____exports.MotherVariant[____exports.MotherVariant.WORM] = "WORM"
|
|
6479
6483
|
____exports.MotherVariant.BALL = 100
|
|
6480
6484
|
____exports.MotherVariant[____exports.MotherVariant.BALL] = "BALL"
|
|
6481
6485
|
--- For `EntityType.SINGE` (915).
|
|
@@ -9514,6 +9518,20 @@ ____exports.LaserSubType.RING_FOLLOW_PARENT = 3
|
|
|
9514
9518
|
____exports.LaserSubType[____exports.LaserSubType.RING_FOLLOW_PARENT] = "RING_FOLLOW_PARENT"
|
|
9515
9519
|
____exports.LaserSubType.NO_IMPACT = 4
|
|
9516
9520
|
____exports.LaserSubType[____exports.LaserSubType.NO_IMPACT] = "NO_IMPACT"
|
|
9521
|
+
--- For `EntityType.GAPER` (10), `GaperVariant.ROTTEN_GAPER` (3).
|
|
9522
|
+
____exports.RottenGaperSubType = {}
|
|
9523
|
+
____exports.RottenGaperSubType.V1 = 0
|
|
9524
|
+
____exports.RottenGaperSubType[____exports.RottenGaperSubType.V1] = "V1"
|
|
9525
|
+
____exports.RottenGaperSubType.V2 = 1
|
|
9526
|
+
____exports.RottenGaperSubType[____exports.RottenGaperSubType.V2] = "V2"
|
|
9527
|
+
____exports.RottenGaperSubType.V3 = 2
|
|
9528
|
+
____exports.RottenGaperSubType[____exports.RottenGaperSubType.V3] = "V3"
|
|
9529
|
+
____exports.RottenGaperSubType.V4 = 3
|
|
9530
|
+
____exports.RottenGaperSubType[____exports.RottenGaperSubType.V4] = "V4"
|
|
9531
|
+
____exports.RottenGaperSubType.V5 = 4
|
|
9532
|
+
____exports.RottenGaperSubType[____exports.RottenGaperSubType.V5] = "V5"
|
|
9533
|
+
____exports.RottenGaperSubType.V6 = 5
|
|
9534
|
+
____exports.RottenGaperSubType[____exports.RottenGaperSubType.V6] = "V6"
|
|
9517
9535
|
--- For `EntityType.LARRY_JR` (19), `LarryJrVariant.LARRY_JR` (0).
|
|
9518
9536
|
____exports.LarryJrSubType = {}
|
|
9519
9537
|
____exports.LarryJrSubType.NORMAL = 0
|
|
@@ -9546,6 +9564,12 @@ ____exports.ChargerSubType.CHARGER = 0
|
|
|
9546
9564
|
____exports.ChargerSubType[____exports.ChargerSubType.CHARGER] = "CHARGER"
|
|
9547
9565
|
____exports.ChargerSubType.MY_SHADOW = 1
|
|
9548
9566
|
____exports.ChargerSubType[____exports.ChargerSubType.MY_SHADOW] = "MY_SHADOW"
|
|
9567
|
+
--- For `EntityType.BOOM_FLY` (25), `BoomFlyVariant.DRAGON_FLY` (3).
|
|
9568
|
+
____exports.DragonFlySubType = {}
|
|
9569
|
+
____exports.DragonFlySubType.NORMAL = 0
|
|
9570
|
+
____exports.DragonFlySubType[____exports.DragonFlySubType.NORMAL] = "NORMAL"
|
|
9571
|
+
____exports.DragonFlySubType.X = 1
|
|
9572
|
+
____exports.DragonFlySubType[____exports.DragonFlySubType.X] = "X"
|
|
9549
9573
|
--- For `EntityType.CHUB` (28), `ChubVariant.CHUB (0)`.
|
|
9550
9574
|
____exports.ChubSubType = {}
|
|
9551
9575
|
____exports.ChubSubType.NORMAL = 0
|
|
@@ -9566,6 +9590,12 @@ ____exports.GurdySubType.NORMAL = 0
|
|
|
9566
9590
|
____exports.GurdySubType[____exports.GurdySubType.NORMAL] = "NORMAL"
|
|
9567
9591
|
____exports.GurdySubType.GREEN = 1
|
|
9568
9592
|
____exports.GurdySubType[____exports.GurdySubType.GREEN] = "GREEN"
|
|
9593
|
+
--- For `EntityType.BABY` (37), variant `BabyVariant.ANGELIC_BABY`.
|
|
9594
|
+
____exports.AngelicBabySubType = {}
|
|
9595
|
+
____exports.AngelicBabySubType.NORMAL = 0
|
|
9596
|
+
____exports.AngelicBabySubType[____exports.AngelicBabySubType.NORMAL] = "NORMAL"
|
|
9597
|
+
____exports.AngelicBabySubType.SMALL = 1
|
|
9598
|
+
____exports.AngelicBabySubType[____exports.AngelicBabySubType.SMALL] = "SMALL"
|
|
9569
9599
|
--- For `EntityType.MONSTRO_2` (43), `Monstro2Variant.MONSTRO_2` (0).
|
|
9570
9600
|
____exports.Monstro2SubType = {}
|
|
9571
9601
|
____exports.Monstro2SubType.NORMAL = 0
|
|
@@ -9685,6 +9715,19 @@ ____exports.GurglingSubType.YELLOW = 1
|
|
|
9685
9715
|
____exports.GurglingSubType[____exports.GurglingSubType.YELLOW] = "YELLOW"
|
|
9686
9716
|
____exports.GurglingSubType.BLACK = 2
|
|
9687
9717
|
____exports.GurglingSubType[____exports.GurglingSubType.BLACK] = "BLACK"
|
|
9718
|
+
--- For `EntityType.CONSTANT_STONE_SHOOTER` (202),
|
|
9719
|
+
-- `ConstantStoneShooterVariant.CONSTANT_STONE_SHOOTER` (0).
|
|
9720
|
+
--
|
|
9721
|
+
-- This is the same as the `Direction` enum.
|
|
9722
|
+
____exports.ConstantStoneShooterSubType = {}
|
|
9723
|
+
____exports.ConstantStoneShooterSubType.LEFT = 0
|
|
9724
|
+
____exports.ConstantStoneShooterSubType[____exports.ConstantStoneShooterSubType.LEFT] = "LEFT"
|
|
9725
|
+
____exports.ConstantStoneShooterSubType.UP = 1
|
|
9726
|
+
____exports.ConstantStoneShooterSubType[____exports.ConstantStoneShooterSubType.UP] = "UP"
|
|
9727
|
+
____exports.ConstantStoneShooterSubType.RIGHT = 2
|
|
9728
|
+
____exports.ConstantStoneShooterSubType[____exports.ConstantStoneShooterSubType.RIGHT] = "RIGHT"
|
|
9729
|
+
____exports.ConstantStoneShooterSubType.DOWN = 3
|
|
9730
|
+
____exports.ConstantStoneShooterSubType[____exports.ConstantStoneShooterSubType.DOWN] = "DOWN"
|
|
9688
9731
|
--- For `EntityType.HAUNT` (260), `HauntVariant.HAUNT` (0).
|
|
9689
9732
|
____exports.HauntSubType = {}
|
|
9690
9733
|
____exports.HauntSubType.NORMAL = 0
|
|
@@ -9741,6 +9784,16 @@ ____exports.PolycephalusSubType.RED = 1
|
|
|
9741
9784
|
____exports.PolycephalusSubType[____exports.PolycephalusSubType.RED] = "RED"
|
|
9742
9785
|
____exports.PolycephalusSubType.PINK = 2
|
|
9743
9786
|
____exports.PolycephalusSubType[____exports.PolycephalusSubType.PINK] = "PINK"
|
|
9787
|
+
--- For `EntityType.LEPER` (310), variant 0.
|
|
9788
|
+
____exports.LeperSubType = {}
|
|
9789
|
+
____exports.LeperSubType.STAGE_1 = 0
|
|
9790
|
+
____exports.LeperSubType[____exports.LeperSubType.STAGE_1] = "STAGE_1"
|
|
9791
|
+
____exports.LeperSubType.STAGE_2 = 1
|
|
9792
|
+
____exports.LeperSubType[____exports.LeperSubType.STAGE_2] = "STAGE_2"
|
|
9793
|
+
____exports.LeperSubType.STAGE_3 = 2
|
|
9794
|
+
____exports.LeperSubType[____exports.LeperSubType.STAGE_3] = "STAGE_3"
|
|
9795
|
+
____exports.LeperSubType.STAGE_4 = 3
|
|
9796
|
+
____exports.LeperSubType[____exports.LeperSubType.STAGE_4] = "STAGE_4"
|
|
9744
9797
|
--- For `EntityType.STAIN` (401), variant 0.
|
|
9745
9798
|
____exports.StainSubType = {}
|
|
9746
9799
|
____exports.StainSubType.NORMAL = 0
|
|
@@ -9775,25 +9828,74 @@ ____exports.RagManSubType.RED = 1
|
|
|
9775
9828
|
____exports.RagManSubType[____exports.RagManSubType.RED] = "RED"
|
|
9776
9829
|
____exports.RagManSubType.BLACK = 2
|
|
9777
9830
|
____exports.RagManSubType[____exports.RagManSubType.BLACK] = "BLACK"
|
|
9778
|
-
--- For `EntityType.
|
|
9779
|
-
-- `ConstantStoneShooterVariant.CONSTANT_STONE_SHOOTER` (0).
|
|
9831
|
+
--- For `EntityType.QUAKE_GRIMACE` (804), variant 0.
|
|
9780
9832
|
--
|
|
9781
9833
|
-- This is the same as the `Direction` enum.
|
|
9782
|
-
____exports.
|
|
9783
|
-
____exports.
|
|
9784
|
-
____exports.
|
|
9785
|
-
____exports.
|
|
9786
|
-
____exports.
|
|
9787
|
-
____exports.
|
|
9788
|
-
____exports.
|
|
9789
|
-
____exports.
|
|
9790
|
-
____exports.
|
|
9834
|
+
____exports.QuakeGrimaceSubType = {}
|
|
9835
|
+
____exports.QuakeGrimaceSubType.LEFT = 0
|
|
9836
|
+
____exports.QuakeGrimaceSubType[____exports.QuakeGrimaceSubType.LEFT] = "LEFT"
|
|
9837
|
+
____exports.QuakeGrimaceSubType.UP = 1
|
|
9838
|
+
____exports.QuakeGrimaceSubType[____exports.QuakeGrimaceSubType.UP] = "UP"
|
|
9839
|
+
____exports.QuakeGrimaceSubType.RIGHT = 2
|
|
9840
|
+
____exports.QuakeGrimaceSubType[____exports.QuakeGrimaceSubType.RIGHT] = "RIGHT"
|
|
9841
|
+
____exports.QuakeGrimaceSubType.DOWN = 3
|
|
9842
|
+
____exports.QuakeGrimaceSubType[____exports.QuakeGrimaceSubType.DOWN] = "DOWN"
|
|
9843
|
+
--- For `EntityType.DEEP_GAPER` (811), variant 0.
|
|
9844
|
+
____exports.DeepGaperSubType = {}
|
|
9845
|
+
____exports.DeepGaperSubType.V1 = 0
|
|
9846
|
+
____exports.DeepGaperSubType[____exports.DeepGaperSubType.V1] = "V1"
|
|
9847
|
+
____exports.DeepGaperSubType.V2 = 1
|
|
9848
|
+
____exports.DeepGaperSubType[____exports.DeepGaperSubType.V2] = "V2"
|
|
9849
|
+
____exports.DeepGaperSubType.V3 = 2
|
|
9850
|
+
____exports.DeepGaperSubType[____exports.DeepGaperSubType.V3] = "V3"
|
|
9851
|
+
____exports.DeepGaperSubType.V4 = 3
|
|
9852
|
+
____exports.DeepGaperSubType[____exports.DeepGaperSubType.V4] = "V4"
|
|
9853
|
+
____exports.DeepGaperSubType.V5 = 4
|
|
9854
|
+
____exports.DeepGaperSubType[____exports.DeepGaperSubType.V5] = "V5"
|
|
9855
|
+
____exports.DeepGaperSubType.V6 = 5
|
|
9856
|
+
____exports.DeepGaperSubType[____exports.DeepGaperSubType.V6] = "V6"
|
|
9857
|
+
____exports.DeepGaperSubType.V7 = 6
|
|
9858
|
+
____exports.DeepGaperSubType[____exports.DeepGaperSubType.V7] = "V7"
|
|
9859
|
+
--- For `EntityType.MORNINGSTAR` (863), variant 0.
|
|
9860
|
+
____exports.MorningStarSubType = {}
|
|
9861
|
+
____exports.MorningStarSubType.RANDOM = 0
|
|
9862
|
+
____exports.MorningStarSubType[____exports.MorningStarSubType.RANDOM] = "RANDOM"
|
|
9863
|
+
____exports.MorningStarSubType.NORMAL = 1
|
|
9864
|
+
____exports.MorningStarSubType[____exports.MorningStarSubType.NORMAL] = "NORMAL"
|
|
9865
|
+
____exports.MorningStarSubType.ALTERNATE = 2
|
|
9866
|
+
____exports.MorningStarSubType[____exports.MorningStarSubType.ALTERNATE] = "ALTERNATE"
|
|
9867
|
+
--- For `EntityType.DARK_ESAU` (866), variant 0.
|
|
9868
|
+
____exports.DarkEsauSubType = {}
|
|
9869
|
+
____exports.DarkEsauSubType.DARK = 0
|
|
9870
|
+
____exports.DarkEsauSubType[____exports.DarkEsauSubType.DARK] = "DARK"
|
|
9871
|
+
____exports.DarkEsauSubType.DARKER = 1
|
|
9872
|
+
____exports.DarkEsauSubType[____exports.DarkEsauSubType.DARKER] = "DARKER"
|
|
9873
|
+
--- For `EntityType.MAZE_ROAMER` (890), variant 0.
|
|
9874
|
+
____exports.MazeRoamerSubType = {}
|
|
9875
|
+
____exports.MazeRoamerSubType.NORMAL = 0
|
|
9876
|
+
____exports.MazeRoamerSubType[____exports.MazeRoamerSubType.NORMAL] = "NORMAL"
|
|
9877
|
+
____exports.MazeRoamerSubType.MIRRORED = 1
|
|
9878
|
+
____exports.MazeRoamerSubType[____exports.MazeRoamerSubType.MIRRORED] = "MIRRORED"
|
|
9791
9879
|
--- For `EntityType.MOTHER` (912), `MotherVariant.MOTHER_1` (0).
|
|
9792
9880
|
____exports.MotherSubType = {}
|
|
9793
9881
|
____exports.MotherSubType.PHASE_1 = 0
|
|
9794
9882
|
____exports.MotherSubType[____exports.MotherSubType.PHASE_1] = "PHASE_1"
|
|
9795
9883
|
____exports.MotherSubType.PHASE_2 = 1
|
|
9796
9884
|
____exports.MotherSubType[____exports.MotherSubType.PHASE_2] = "PHASE_2"
|
|
9885
|
+
____exports.MotherSubType.LEFT_ARM = 2
|
|
9886
|
+
____exports.MotherSubType[____exports.MotherSubType.LEFT_ARM] = "LEFT_ARM"
|
|
9887
|
+
____exports.MotherSubType.RIGHT_ARM = 3
|
|
9888
|
+
____exports.MotherSubType[____exports.MotherSubType.RIGHT_ARM] = "RIGHT_ARM"
|
|
9889
|
+
____exports.MotherSubType.DISAPPEAR = 4
|
|
9890
|
+
____exports.MotherSubType[____exports.MotherSubType.DISAPPEAR] = "DISAPPEAR"
|
|
9891
|
+
--- For `EntityType.MOTHER` (912), `MotherVariant.BALL` (100).
|
|
9892
|
+
____exports.MotherBallSubType = {}
|
|
9893
|
+
____exports.MotherBallSubType.LARGE = 0
|
|
9894
|
+
____exports.MotherBallSubType[____exports.MotherBallSubType.LARGE] = "LARGE"
|
|
9895
|
+
____exports.MotherBallSubType.MEDIUM = 1
|
|
9896
|
+
____exports.MotherBallSubType[____exports.MotherBallSubType.MEDIUM] = "MEDIUM"
|
|
9897
|
+
____exports.MotherBallSubType.SMALL = 2
|
|
9898
|
+
____exports.MotherBallSubType[____exports.MotherBallSubType.SMALL] = "SMALL"
|
|
9797
9899
|
--- For `EntityType.EFFECT` (1000), `EffectVariant.BLOOD_EXPLOSION` (2).
|
|
9798
9900
|
____exports.BloodExplosionSubType = {}
|
|
9799
9901
|
____exports.BloodExplosionSubType.MEDIUM_WITH_LEFTOVER_BLOOD = 0
|
|
@@ -13678,7 +13780,7 @@ ____exports.NPCID.DADDY_LONG_LEGS = "101.0.0"
|
|
|
13678
13780
|
____exports.NPCID.TRIACHNID = "101.1.0"
|
|
13679
13781
|
____exports.NPCID.ISAAC = "102.0.0"
|
|
13680
13782
|
____exports.NPCID.BLUE_BABY = "102.1.0"
|
|
13681
|
-
____exports.NPCID.
|
|
13783
|
+
____exports.NPCID.BLUE_BABY_HUSH = "102.2.0"
|
|
13682
13784
|
____exports.NPCID.STONE_EYE = "201.0.0"
|
|
13683
13785
|
____exports.NPCID.CONSTANT_STONE_SHOOTER_LEFT = "202.0.0"
|
|
13684
13786
|
____exports.NPCID.CONSTANT_STONE_SHOOTER_UP = "202.0.1"
|
|
@@ -13906,8 +14008,8 @@ ____exports.NPCID.SMALL_HOLE = "411.1.0"
|
|
|
13906
14008
|
____exports.NPCID.BIG_HOLE = "411.2.0"
|
|
13907
14009
|
____exports.NPCID.DELIRIUM = "412.0.0"
|
|
13908
14010
|
____exports.NPCID.THE_MATRIARCH = "413.0.0"
|
|
13909
|
-
____exports.NPCID.
|
|
13910
|
-
____exports.NPCID.
|
|
14011
|
+
____exports.NPCID.BLOOD_PUPPY_SMALL = "802.0.0"
|
|
14012
|
+
____exports.NPCID.BLOOD_PUPPY_LARGE = "802.1.0"
|
|
13911
14013
|
____exports.NPCID.BLIND_BAT = "803.0.0"
|
|
13912
14014
|
____exports.NPCID.QUAKE_GRIMACE_LEFT = "804.0.0"
|
|
13913
14015
|
____exports.NPCID.QUAKE_GRIMACE_UP = "804.0.1"
|
|
@@ -14070,8 +14172,8 @@ ____exports.NPCID.CHIMERA_HEAD = "910.2.0"
|
|
|
14070
14172
|
____exports.NPCID.ROTGUT = "911.0.0"
|
|
14071
14173
|
____exports.NPCID.ROTGUT_MAGGOT = "911.1.0"
|
|
14072
14174
|
____exports.NPCID.ROTGUT_HEART = "911.2.0"
|
|
14073
|
-
____exports.NPCID.
|
|
14074
|
-
____exports.NPCID.
|
|
14175
|
+
____exports.NPCID.MOTHER_PHASE_1 = "912.0.0"
|
|
14176
|
+
____exports.NPCID.MOTHER_PHASE_2 = "912.0.1"
|
|
14075
14177
|
____exports.NPCID.MOTHER_LEFT_ARM = "912.0.2"
|
|
14076
14178
|
____exports.NPCID.MOTHER_RIGHT_ARM = "912.0.3"
|
|
14077
14179
|
____exports.NPCID.MOTHER_DISAPPEAR = "912.0.4"
|
|
@@ -44400,7 +44502,7 @@ end
|
|
|
44400
44502
|
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getFirstModdedPillEffect", true)
|
|
44401
44503
|
function ModdedElementDetection.prototype.getLastPillEffect(self)
|
|
44402
44504
|
self:errorIfNoCallbacksFired("pill")
|
|
44403
|
-
local numPillEffects = self:getNumPillEffects()
|
|
44505
|
+
local numPillEffects = self:getNumPillEffects() - 1
|
|
44404
44506
|
return asPillEffect(nil, numPillEffects)
|
|
44405
44507
|
end
|
|
44406
44508
|
__TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getLastPillEffect", true)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-common",
|
|
3
|
-
"version": "77.
|
|
3
|
+
"version": "77.4.0",
|
|
4
4
|
"description": "Helper functions and features for IsaacScript mods.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
"lint": "tsx --tsconfig ./scripts/tsconfig.json ./scripts/lint.mts"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"isaac-typescript-definitions": "^38.
|
|
40
|
+
"isaac-typescript-definitions": "^38.3.0"
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -385,7 +385,9 @@ export class ModdedElementDetection extends Feature {
|
|
|
385
385
|
public getLastPillEffect(): PillEffect {
|
|
386
386
|
this.errorIfNoCallbacksFired("pill");
|
|
387
387
|
|
|
388
|
-
|
|
388
|
+
// We need to subtract one because Bad Gas is ID 0. In other words, in vanilla Repentance, there
|
|
389
|
+
// are 50 pill effects that have IDs from 0 to 49, so the highest pill effect is 49.
|
|
390
|
+
const numPillEffects = this.getNumPillEffects() - 1;
|
|
389
391
|
return asPillEffect(numPillEffects);
|
|
390
392
|
}
|
|
391
393
|
|