The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Headless Horsemini
玩家1’ 2018 年 11 月 26 日 下午 11:54
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
最后由 玩家1’ 编辑于; 2018 年 11 月 26 日 下午 11:56
< >
正在显示第 1 - 1 条,共 1 条留言
玩家1’ 2018 年 11 月 26 日 下午 11:55 
The original code idea came from the rebirth mod's compatibility patch.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50