REPENTOGON icon indicating copy to clipboard operation
REPENTOGON copied to clipboard

EntityPlayer:GetNumFamiliars()

Open Foks256 opened this issue 1 year ago • 0 comments

Returns the current amount of said familiar, would be something like this piece of code:

function mod.GetExpectedFamiliarNum(player, collectible)
	local pEffects = player:GetEffects()
	
	return player:GetCollectibleNum(collectible) + pEffects:GetCollectibleEffectNum(collectible)
end

Foks256 avatar Feb 16 '24 09:02 Foks256