public override float SpawnChance(NPCSpawnInfo spawnInfo) { return((CheezeMod.NormalSpawn(spawnInfo) && NPC.downedBoss2 && (spawnInfo.spawnTileY > CheezeMod.HellLayer)) ? Main.hardMode ? 0.0325f : 0.0475f : 0f); }
public override float SpawnChance(NPCSpawnInfo spawnInfo) { Player player = spawnInfo.player; return((CheezeMod.NormalSpawn(spawnInfo) && NPC.downedBoss1 && player.ZoneJungle && !Main.dayTime) ? spawnInfo.spawnTileY > Main.worldSurface ? 0.05f : 0.105f : 0f); }
public override float SpawnChance(NPCSpawnInfo spawnInfo) { return((CheezeMod.NormalSpawn(spawnInfo)) && (spawnInfo.granite) ? 0.25f : 0f); }