The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Headless Horsemini
I made a compatability patch for The Box of Friends:
local headstate = 0 local clones = 0 local headfam= nil function LilHH:UPDATE() local game = Game() local room = game:GetRoom() local player = Isaac.GetPlayer(0) if player:HasCollectible(familiarItem) then if had == false then --local f = nil headfam = Isaac.Spawn(3,HeadlessHorsemanHead,0,player.Position,Vector(0,0),player) --headfam = f Isaac.Spawn(3,HeadlessHorsemanBody,0,player.Position,Vector(0,0),player) had = true end if (player:GetEffects():GetCollectibleEffectNum(CollectibleType.COLLECTIBLE_BOX_OF_FRIENDS) > clones) then clones = clones + 1 headfam = Isaac.Spawn(3,HeadlessHorsemanHead,0,player.Position,Vector(0,0),player) Isaac.Spawn(3,HeadlessHorsemanBody,0,player.Position,Vector(0,0),player) end end end
Sidst redigeret af 玩家1’; 26. nov. 2018 kl. 23:56
< >
Viser 1-1 af 1 kommentarer
玩家1’ 26. nov. 2018 kl. 23:55 
The original code idea came from the rebirth mod's compatibility patch.
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50