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
Last edited by 玩家1’; 26 Nov, 2018 @ 11:56pm
< >
Showing 1-1 of 1 comments
玩家1’ 26 Nov, 2018 @ 11:55pm 
The original code idea came from the rebirth mod's compatibility patch.
< >
Showing 1-1 of 1 comments
Per page: 1530 50