FIQHack/Monster spellcasting

From NetHackWiki
< FIQHack
Revision as of 22:01, 17 January 2018 by FIQ (talk | contribs) (Remove redundant text)
Jump to navigation Jump to search

In FIQHack, instead of having their own dedicated spellcast list, monster spellcasting instead use the same spellcasting rules as the player. Monsters have energy (Pw), just like players do. They gain or lose Pw as they level up, in an approximation of the player formula:

  • Start with a minimum: 0 for dwarves, 2 for nymphs, humans, gnomes or dedicated casters, 3 for elves and dragons, 1 for everyone else
  • Add a random number between 0 and Wisdom/2 + 1 (+ 1 for dedicated casters)
    • Base wisdom before helm of brilliance is 20 for Wizard of Yendor, 18 for dedicated casters, 11 otherwise
  • Multiply the result by 1/2 for mindless creatures, 3/4 for Barbarians, Valkyries or animals, 3/2 for healers and knights, 2 for Priests, Wizards or dedicated casters, 5/2 for Wizard of Yendor

Spellcast failure uses the vanilla formula with these values:

Who                 Base   Emergency   Shield   Suit   Stat
 Wizard of Yendor      1          -3        1     10    Int
 nurses                8          -3        1     10    Int
 dedicated casters     3          -1        1     10    Int
 everyone else         8          -1        1     10    Int

Monsters always use their intelligence with casting (whose base rate before helms of brilliance is always 20 for Wizard of Yendor, 18 for dedicated casters, 11 for everyone else).

Whenever a monster is generated, it is assigned a list of spells. This is done by rolling a spell with equal probability for each of them, potentially rolling the same spell more than once, a certain amount of times: 10 + rn2(XL+5) for dedicated casters, rn2(XL/3) for everyone else. This spell is then added to the monster's spell roster with a probability of (2 + Spell level + Skill level) / 6. Skill level is 0 (unskilled), 1 (basic), 2 (skilled), 3 (expert). In addition, monsters with at least Basic skill in attack spells are guranteed force bolt.

Some monsters, mainly uniques, but also some additional ones, are generated with a fixed spell list. Those are listed below.

Monster spell lists

Minotaurs

  • Dig (20% of the time)

Nazgul

  • Slow monster
  • Sleep

Barrow wights

  • Sleep

Nurses

In 4.3.0, nurses used the normal monster spell generation. After 4.3.0, this was changed, and they now have these spells.

  • Healing
  • Extra healing

Shopkeepers

  • Force bolt (2/3 of the time)
  • Magic missile (if they didn't get force bolt)
  • Identify
  • Knock

Aligned priests

  • Healing
  • Identify
  • Confuse monster (3/4 of the time)
  • Slow monster (if they didn't get confuse monster)
  • Protection
  • Create monster
  • Remove curse
  • Create familiar
  • Turn undead

High priests

In addition to aligned priests, these also get a few arcane spells

  • Healing
  • Identify
  • Confuse monster (3/4 of the time)
  • Slow monster (if they didn't get confuse monster)
  • Protection
  • Create monster
  • Remove curse
  • Create familiar
  • Turn undead
  • Summon nasties
  • Haste self
  • Invisibility

High priests also include Grand Master and Arch Priest

Angels

  • Magic missile

Yeenoghu

  • Magic missile

Asmodeus

  • Cone of cold

Orcus

Orcus mostly have utility spells in couple with his other attacks, and can charge his wand of death

  • Drain life
  • Healing
  • Detect monsters
  • Slow monster
  • Charging
  • Create monster
  • Turn undead
  • Summon nasties

Dispater

Mainly a spellcaster and have both offensive, defensive and utility spells

  • Force bolt
  • Drain life
  • Magic missile
  • Healing
  • Extra healing
  • Cure sickness
  • Stone to flesh
  • Sleep
  • Protection
  • Create monster
  • Jumping
  • Haste self
  • Invisibility
  • Teleport away
  • Phase
  • Dig
  • Cancellation
  • Polymorph

Demogorgon

Primarly an attacker, but has a few spells to aid his attacks and to heal himself

  • Extra healing
  • Slow monster
  • Create monster
  • Haste self

Minion of Huhetotl

Primarly an attacker, but has buff spells and can incapacitate their foes with sleep

  • Healing
  • Sleep
  • Protection
  • Invisibility

Thoth Amon/Dark One

Both share the same list. Being primarly spellcasters, they have a wide list of spells

  • Force bolt
  • Magic missile
  • Fireball
  • Cone of cold
  • Healing
  • Detect monsters
  • Sleep
  • Slow monster
  • Protection
  • Turn undead
  • Summon nasties
  • Haste self
  • Invisibility
  • Cancellation

Chromatic Dragon

A dragon. Learned a few spells to improve its fighting speed and slowing their foes, and to heal

  • Healing
  • Slow monster
  • Haste self

Ixoth

  • Detect monsters
  • Protection
  • Summon nasties
  • Haste self

Master Kaen

Aside from being an excellent fighter, Kaen mastered spells to speed himself up, and to find and destroy those who tries to flee

  • Healing
  • Detect monsters
  • Slow monster
  • Haste self
  • Phase

Nalzok

  • Healing
  • Protection
  • Haste self
  • Phase

Wizard of Yendor

The Wizard of Yendor is, similarly to other general spellcasters, generated with a random list of spells. However, he has one guranteed spell.

  • Double Trouble