In-Game DefinitionsGlobalsScripting FunctionsRoomLogicCalcTotalSpawnsOn this pageCalcTotalSpawns Function name in RoomLogic.lua Usage CalcTotalSpawns(currentRun, currentRoom, currentEncounter, spawnInfo) Parameters currentRun, currentRoom, currentEncounter, spawnInfo Returns any