Page 1 of 1

Ice fiends in ice cave portals: gone?

PostPosted: Wednesday, 11th December 2013, 17:56
by asdu
Just a little curiosity: I haven't seen an Ice fiend inside an ice cave in a long while, including in those maps where I'm sure they could be found. Have they been removed for good? If that's the case, I applaud the change.

Re: Ice fiends in ice cave portals: gone?

PostPosted: Wednesday, 11th December 2013, 18:04
by BlackSheep
The ice cave file was modified a lot in 0.13, and I think one of the effects was fewer ice fiends, but I don't understand the vault code well enough to tell exactly what changed. They definitely weren't removed entirely.

Re: Ice fiends in ice cave portals: gone?

PostPosted: Thursday, 12th December 2013, 17:57
by claws
Ice caves have an innate difficulty counter based on depth of the entrance, which can change monster sets. I made "hard" (currently D:15-, Elf, Vaults) ice caves with demons (nearly all of them at that depth) have a 1/3 chance for two blizzard demons instead of a singular ice fiend, for the sake of variety and randomization (though depending on the character two can be argued to be a comparable threat):

  Code:
  [from the most used version of the monster set code, function ice_cave_caverns_undead_demon_monster_set(e)]
  [six monster definitions beforehand] 
  e.mons("patrolling ice fiend")
  e.kmons("8 = blizzard demon")
  e.shuffle("7` / 7` / `8")


With six MONS: (or, e.mons()) definitions beforehand, the ice fiend is a 7, and since that is where the default assignment of MONS stops, the next line defines 8 as a blizzard demon. The vaults in question are all set up to start with two `s and one 7, and the shuffle here swap positions based on glyph to thus put two 8s where the `s were and one ` where the 7 is, followed by defining ` back as . (floor), later on. With SHUFFLE (or e.shuffle()), /s serve as set dividers of equal weighting: with two of one arrangement and one of another arrangement, Crawl will choose the 7s arrangement 2/3 times and 8s 1/3 times. Thus, to reiterate simply enough, the vault will place a singular ice fiend 2/3s of the time and two blizzard demons 1/3 of the time. (Thus concludes today's convoluted vault syntax lesson.)

You've probably just gotten lucky in not getting any ice fiends, unless I've somehow completely screwed things up.
Arguments could probably be made over needing more blizzard demons to equate or it being more fun to fight an ice fiend instead of two blizzard demons in an ice cave, whatever, ice caves are limited in capacities as stands without massive cheats like volcanoes.

Re: Ice fiends in ice cave portals: gone?

PostPosted: Thursday, 12th December 2013, 18:00
by Sar
Fiend caves are cool. We need more fiend caves.

Re: Ice fiends in ice cave portals: gone?

PostPosted: Thursday, 12th December 2013, 19:47
by asdu
claws wrote:You've probably just gotten lucky in not getting any ice fiends, unless I've somehow completely screwed things up.


It's more that I haven't seen an ice cave in Vaults, Elf or deep dungeon in a really long time, to the point that I forgot those even existed. I only see them in Lair or at a comparable depth in the dungeon. And yeah, I'm ok with ice fiends in "deep" ice caves, but an ice fiend on Lair:2 is definitely not cool in my book :P