The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

61 个评价
The Goat (Character, REPENTOGON)
3
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
438.077 KB
2024 年 9 月 22 日 上午 6:53
2024 年 9 月 23 日 上午 3:06
3 项改动说明 ( 查看 )

订阅以下载
The Goat (Character, REPENTOGON)

描述
Adds a new character, The Goat, based on the game Inscryption and specifically on the Black Goat card from it.
---------------------------------------------------------------------------------------------------
Gets a one use active item each floor, that lets you reroll last picked item into new one from current room pool and also gives 2 random cards. Buying an item in devil deal will let you get another one for free in current room. Buying something from devil will also make your active give you 1 broken heart after each use.

Birthright: active item wont give you broken hearts anymore, even if you bought something from devil
---------------------------------------------------------------------------------------------------
Initially, the mod also contained a custom attack and was almost ready six months ago, but just a few days before the release of the mod, another mod was released with almost the same attack (Baphomet). That made me ultra sad and cancel the mod. But recently I decided to release this mod after all, cutting out the custom attack from it, leaving only the remaining features so that the efforts would not be in vain.

This is also my first ever character for Isaac and second ever content mod, so dont be too harsh please :>



contains 0 old data pieces
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