| 368 | } |
| 369 | |
| 370 | void |
| 371 | leader_speaks(struct monst *mtmp) |
| 372 | { |
| 373 | /* maybe you attacked leader? */ |
| 374 | if (!mtmp->mpeaceful) { |
| 375 | if (!Qstat(pissed_off)) { |
| 376 | /* again, don't end it permanently if the leader gets angry |
| 377 | * since you're going to have to kill him to go questing... :) |
| 378 | * ...but do only show this crap once. */ |
| 379 | qt_pager("leader_last"); |
| 380 | } |
| 381 | Qstat(pissed_off) = TRUE; |
| 382 | mtmp->mstrategy &= ~STRAT_WAITMASK; /* end the inaction */ |
| 383 | } |
| 384 | /* the quest leader might have passed through the portal into the |
| 385 | regular dungeon; if so, mustn't perform "backwards expulsion" */ |
| 386 | if (!on_level(&u.uz, &qstart_level)) |
| 387 | return; |
| 388 | |
| 389 | if (!Qstat(pissed_off)) |
| 390 | chat_with_leader(mtmp); |
| 391 | } |
| 392 | |
| 393 | staticfn void |
| 394 | chat_with_nemesis(void) |
no test coverage detected