mplayer valkyries w/ Mjollnir
If an mplayer Valkyrie on the Astral Plane is given a war hammer, give her gauntlets of power instead of random gloves since that will either be Mjollnir or a very wimpy endgame weapon. (Maybe someday mplayer Valkyrie's will be able to throw Mjollnir; their chance of having it on the Astral Plane is moderately high if it hasn't already been created prior to arriving there.) I also gave monsters wearing gauntlets of power a 3..6 damage bonus for hand-to-hand. While making that change, I noticed that monsters wielding a scalpel or tsurugi wouldn't split puddings, unlike the hero (a post-3.6.0 change), so fix that.
This commit is contained in:
@@ -285,7 +285,9 @@ register boolean special;
|
||||
mk_mplayer_armor(mtmp, cloak);
|
||||
mk_mplayer_armor(mtmp, helm);
|
||||
mk_mplayer_armor(mtmp, shield);
|
||||
if (rn2(8))
|
||||
if (weapon == WAR_HAMMER) /* valkyrie: wimpy weapon or Mjollnir */
|
||||
mk_mplayer_armor(mtmp, GAUNTLETS_OF_POWER);
|
||||
else if (rn2(8))
|
||||
mk_mplayer_armor(mtmp, rnd_class(LEATHER_GLOVES,
|
||||
GAUNTLETS_OF_DEXTERITY));
|
||||
if (rn2(8))
|
||||
@@ -337,7 +339,7 @@ boolean special;
|
||||
int tryct = 0;
|
||||
|
||||
/* roll for character class */
|
||||
pm = PM_ARCHEOLOGIST + rn2(PM_WIZARD - PM_ARCHEOLOGIST + 1);
|
||||
pm = rn1(PM_WIZARD - PM_ARCHEOLOGIST + 1, PM_ARCHEOLOGIST);
|
||||
set_mon_data(&fakemon, &mons[pm], -1);
|
||||
|
||||
/* roll for an available location */
|
||||
|
||||
Reference in New Issue
Block a user