The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

The Goat (Character, REPENTOGON)
29 条留言
MrSoup678 2024 年 10 月 2 日 上午 4:24 
Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TAROTCARD,
Game():GetItemPool():GetCard(
sacrificeRng:Next(),
true,
true,
false),
Game():GetRoom():FindFreePickupSpawnPosition(CurrentPlayer.Position + Vector(-50, 50)),
Vector(0,0),
nil)
Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TAROTCARD,
Game():GetItemPool():GetCard(
sacrificeRng:Next(),
true,
true,
false),
Game():GetRoom():FindFreePickupSpawnPosition(CurrentPlayer.Position + Vector(50, 50)),
Vector(0,0),
nil)
```
Now with 100% more randomness!
(2/2)
MrSoup678 2024 年 10 月 2 日 上午 4:24 
With that in in mind, here's the fixed snippet:
```
local sacrificeRng = CurrentPlayer:GetCollectibleRNG(items.Sacrifice);
Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE,
Game():GetItemPool():GetCollectible(
Game():GetItemPool():GetPoolForRoom(Game():GetRoom():GetType(), 0),
true,
sacrificeRng:Next()
),
Game():GetRoom():FindFreePickupSpawnPosition(CurrentPlayer.Position + Vector(0, 50)),
Vector(0,0),
nil)

(1/2)
MrSoup678 2024 年 10 月 2 日 上午 4:08 
And finally `GetCard` and `GetCollectible` already roll a valid item, no need to roll an int here.
MrSoup678 2024 年 10 月 2 日 上午 4:03 
Also we have erroneous use here:
```
Game():GetItemPool():GetCard(
CurrentPlayer:GetCollectibleRNG(items.Sacrifice):RandomInt(999),
true,
true,
false),
```
We roll a very low int... only to put it to the Seed param. We likely need to use RNG:Next() here. That one returns proper seed for GetCard use.
MrSoup678 2024 年 10 月 2 日 上午 3:57 
Nevermind there's chaos... Do we still want to spawn with current room pool with chaos active?
MrSoup678 2024 年 10 月 2 日 上午 3:53 
Seems to be case, it looks like for some reason it will pick items from one mod. I'll try to make fixes for mega modded.
Also
```
Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE,
Game():GetItemPool():GetCollectible(
Game():GetItemPool():GetPoolForRoom(Game():GetRoom():GetType(), 0),
true,
CurrentPlayer:GetCollectibleRNG(items.Sacrifice):Next():RandomInt(999)
),
Game():GetRoom():FindFreePickupSpawnPosition(CurrentPlayer.Position + Vector(0, 50)),
Vector(0,0),
nil)
```
Isn't this `CurrentPlayer:GetCollectibleRNG(items.Sacrifice):Next():RandomInt(999)` kinda redundant? Since what you want here is already handled by entity `5.100.0`?
MrSoup678 2024 年 10 月 2 日 上午 3:34 
Doubtful, but I'll test with solo Goat.
Psina  [作者] 2024 年 9 月 30 日 上午 11:40 
@MrSoup678 its probably problems with other mods bc i dont have that
MrSoup678 2024 年 9 月 30 日 上午 11:37 
I found a bit of an issue: Using Sacrifice will get two identical cards every time I sac an Item.
The items themselves are fine.
HEAVYSTYLES 2024 年 9 月 29 日 下午 3:45 
Bro added messi
super m 2024 年 9 月 29 日 上午 2:54 
goamt
arandomexican_ 2024 年 9 月 28 日 下午 2:46 
thank you for not including any old data pieces
this will help me with the arg
Taild_TSLTSKE 2024 年 9 月 27 日 下午 8:58 
this character is goated
. 2024 年 9 月 27 日 上午 11:27 
the GOAT
tomfool 2024 年 9 月 26 日 下午 2:37 
he truly is the goat
pikaperson0921 2024 年 9 月 26 日 上午 11:04 
(I thought it'd be funny to copy paste Turtlemelons comment, but I'll also upload on the 1st because it's funny)
pikaperson0921 2024 年 9 月 26 日 上午 11:04 
hey, i recorded a showcase video of your character for my channel, i have a bit of a backlog so it will be uploaded on 1st Oct
Psina  [作者] 2024 年 9 月 26 日 上午 1:28 
@TheTurtleMelon thanks!
TheTurtleMelon 2024 年 9 月 26 日 上午 1:24 
hey, i recorded a showcase video of your character for my channel, i have a bit of a backlog so it will be uploaded on 1st Oct
Psina  [作者] 2024 年 9 月 25 日 上午 8:10 
@Mr.Crow ok, i dont want it to gulp extra trinket tho
Mr.Crow 2024 年 9 月 25 日 上午 8:08 
It will gulp 2 trinket at worst case
Psina  [作者] 2024 年 9 月 25 日 上午 7:55 
@Mr.Crow no, it wont work here. Bc as how i understand it works only on trinkets you picked up, and here it needs to happen not at start of the run but in any point of it instead. So if i would use that, everytime you buy something from devil your trinket will get dropped to give your soul to instantly gulp it, which is ultra annoying.
Mr.Crow 2024 年 9 月 25 日 上午 7:50 
you can just use "Smelter" item (NoAnim)
I use that
Psina  [作者] 2024 年 9 月 25 日 上午 7:46 
@Mr.Crow just checked, it actually does require it. Thing for giving smelted trinkets i used here exists only in Repentogon
Psina  [作者] 2024 年 9 月 25 日 上午 7:43 
@Mr.Crow i remember using it, but maybe its stuff was cut as i said in description. Also, tbh i dont rly remember what is repentogon and what not at this point, so i will better leave it like this
Mr.Crow 2024 年 9 月 25 日 上午 7:32 
This character doesn't need REPENTOGON to work
Ultimate 2024 年 9 月 25 日 上午 7:04 
I SAID HES THE GOAT, THE GOOAATTT!!!!!
Winkwing 2024 年 9 月 25 日 上午 12:54 
Goober. <3
Flavz 2024 年 9 月 24 日 下午 1:52 
I am gonna be the first one to give a review, the character is great but I would have loved a tainted version of him