Buff scroll of confuse monster

This commit is contained in:
Pasi Kallinen
2023-10-11 20:20:05 +03:00
parent dfac5fbf67
commit 13ad9561f3
2 changed files with 5 additions and 4 deletions

View File

@@ -1257,7 +1257,7 @@ adjust wand of make invisible and potion of invisibility effects
barbed devils have an attack that sticks you to them
balrogs prefer bullwhip if hero is wielding a weapon
ice devils have an additional attack, a slowing touch
buff blessed potion of monster detection
buff scroll of confuse monster and blessed potion of monster detection
Fixes to 3.7.0-x General Problems Exposed Via git Repository

View File

@@ -1311,14 +1311,15 @@ seffect_confuse_monster(struct obj **sobjp)
make_confused(0L, TRUE);
}
} else {
int incr = 0;
/* scroll vs spell */
int incr = (sobj->oclass == SCROLL_CLASS) ? 3 : 0;
if (!sblessed) {
Your("%s%s %s%s.", makeplural(body_part(HAND)),
altfeedback ? "" : " begin to glow",
altfeedback ? (const char *) "tingle" : hcolor(NH_RED),
u.umconf ? " even more" : "");
incr = rnd(2);
incr += rnd(2);
} else {
if (altfeedback)
Your("%s tingle %s sharply.", makeplural(body_part(HAND)),
@@ -1327,7 +1328,7 @@ seffect_confuse_monster(struct obj **sobjp)
Your("%s glow %s brilliant %s.",
makeplural(body_part(HAND)),
u.umconf ? "an even more" : "a", hcolor(NH_RED));
incr = rn1(8, 2);
incr += rn1(8, 2);
}
/* after a while, repeated uses become less effective */
if (u.umconf >= 40)