level.MobsGen
level.MobsGen
Fields
| Name | Type | |
|---|---|---|
user | User | |
lInfos | Virtual[baseLootLevel, biome, bonusTripleScrollAfterBC, cellBonus, dlc, doubleUps, eliteRoomChance, eliteWanderChance, flagsProps, group, icon, id, index, loreDescriptions, mapDepth, minGold, mobDensity, mobs, name, nextLevels, parallax, props, quarterUpsBC3, quarterUpsBC4, specificLoots, specificSubBiome, transitionTo, tripleUps, worldDepth] | |
maps | hl.types.ArrayObj | |
rooms | hl.types.ArrayObj | |
rseed | libs.Rand | |
minMobs | F64 | |
totalMobCount | F64 | |
bonusTotalMobCount | I32 | |
platforms | hl.types.ArrayObj | |
pfPerMob | Virtual[toString, set, remove, keys, iterator, get, exists] | |
roomMaxMobs | haxe.ds.ObjectMap | |
pfMaxMobs | haxe.ds.IntMap | |
inStone | Bool | |
ltick | Fun | |
| static | LAST_LOG | hl.types.ArrayObj |
| static | LAST_MIN | I32 |
| static | LAST_TOTAL | I32 |
| static | LAST_ELITES | I32 |
| static | MIN_PLATFORM_WIDTH | I32 |
| static | parsePlatforms | Fun |
Protos
f@31866init(level.MobsGen) → Voidf@31867filterAvailableMobs(level.MobsGen, Virtual[maxCombatRoomsBefore, maxDifficulty, maxSpawn, minCombatRoomsBefore, minDifficulty, mob, packSize, props, quantityFactor, requiredDepth, requiredLevel, singleRoom, singleRoomRatio, spawnWith]) → Boolf@31868getAvailableMobs(level.MobsGen, hl.types.ArrayObj) → hl.types.ArrayObjf@31869placeSingleRoomMobs(level.MobsGen, level.MobGenInfos, haxe.ds.IntMap) → Boolf@31870placeClassicMobs(level.MobsGen, level.MobGenInfos, F64) → Boolf@31871placeMobsOnPlatforms(level.MobsGen, hl.types.ArrayObj) → Voidf@31872getLevelMaxDist(level.MobsGen) → I32f@31873fillPlacementData(level.MobsGen, hl.types.ArrayObj, I32) → I32f@31874addBosses(level.MobsGen, hl.types.ArrayObj, I32) → I32f@31875eliteTransform(level.MobsGen, hl.types.ArrayObj, Bool) → Voidf@31876addElites(level.MobsGen, hl.types.ArrayObj) → Voidf@31877processRoomMarkers(level.MobsGen, I32) → Voidf@31878generate(level.MobsGen, hl.types.ArrayObj) → Voidf@31879hasRequiredDepth(level.MobsGen, I32, hl.types.ArrayDyn) → Boolf@31880getDmgTier(level.MobsGen, level.LevelMap, level.Room, I32) → I32f@31881getLifeTier(level.MobsGen, level.LevelMap, level.Room, I32) → I32f@31882pickBestPlatform(level.MobsGen, level.MobGenInfos, level.Room) → level.MobPlatformf@31883testMobConstraint(level.MobsGen, level.MobPlatform, level.MobGenInfos) → Boolf@31884countTotal(level.MobsGen, level.Room, level.MobPlatform) → F64f@31885countKind(level.MobsGen, String, level.Room, level.MobPlatform) → I32
Bindings
- static
f@31864__constructor__(level.MobsGen, User, libs.Rand, hl.types.ArrayObj, Ref, Fun, Ref) → Void - static
f@31863parsePlatforms(level.LevelMap, level.Room) → hl.types.ArrayObj