Temple Termagant
Posts: 10
Joined: Tuesday, 8th September 2015, 04:55
Hexes vs 1 hd Monsters
- Code:
// Evil, evil hack to make weak one hd monsters easier for first level
// characters who have resistable 1st level spells. Six is a very special
// value because mrs = hd * 2 * 3 for most monsters, and the weak, low
// level monsters have been adjusted so that the "3" is typically a 1.
// There are some notable one hd monsters that shouldn't fall under this,
// so we do < 6, instead of <= 6... or checking mons->hit_dice. The
// goal here is to make the first level easier for these classes and give
// them a better shot at getting to level two or three and spells that can
// help them out (or building a level or two of their base skill so they
// aren't resisted as often). - bwr
if (is_monster() && mrs < 6 && coinflip())
return -1;
I can confirm that this affects the hit chance of Hexes; with 0 power and a reported 50% chance to defeat MR versus a rat, I had 70 successes out of 80 attempts of casting Corona during wizard mode testing. Is this behaviour desired? If it is, then the code to display the estimated success chance for hexes should be updated to include this factor.
- For this message the author gerbias has received thanks: 4
- Arrhythmia, duvessa, neil, rchandra