In-Game DefinitionsGlobalsScripting FunctionsEncounterLogicCalculateActiveEnemyCapOn this pageCalculateActiveEnemyCap Function name in EncounterLogic.lua Usage CalculateActiveEnemyCap(currentRun, currentRoom, currentEncounter) Parameters currentRun, currentRoom, currentEncounter Returns any