Conflict based off of charisma

Higher charisma will make it more likely for monsters to be affected.
Conflict will also now require the monster to see the hero.

Originally from SporkHack by Derek Ray.
This commit is contained in:
Pasi Kallinen
2021-05-19 18:34:57 +03:00
parent 11e98efb94
commit 2f25556025
9 changed files with 27 additions and 10 deletions

View File

@@ -191,7 +191,7 @@ pri_move(struct monst *priest)
gy += rn1(3, -1);
if (!priest->mpeaceful
|| (Conflict && !resist(priest, RING_CLASS, 0, 0))) {
|| (Conflict && !resist_conflict(priest))) {
if (monnear(priest, u.ux, u.uy)) {
if (Displaced)
Your("displaced image doesn't fool %s!", mon_nam(priest));