Make demon lords hostile if wielding Demonbane as well as Excalibur
This makes a lot of sense. Why would they hate one artifact sword so much and not really care about the one that is especially designed to kill their type personally?
This commit is contained in:
committed by
Pasi Kallinen
parent
e13b1833cc
commit
30ad8eed84
@@ -1327,7 +1327,8 @@ int mmflags;
|
||||
if (is_dprince(ptr) && ptr->msound == MS_BRIBE) {
|
||||
mtmp->mpeaceful = mtmp->minvis = mtmp->perminvis = 1;
|
||||
mtmp->mavenge = 0;
|
||||
if (uwep && uwep->oartifact == ART_EXCALIBUR)
|
||||
if (uwep && (uwep->oartifact == ART_EXCALIBUR
|
||||
|| uwep->oartifact == ART_DEMONBANE))
|
||||
mtmp->mpeaceful = mtmp->mtame = FALSE;
|
||||
}
|
||||
if (mndx == PM_LONG_WORM && (mtmp->wormno = get_wormno()) != 0) {
|
||||
|
||||
@@ -230,7 +230,8 @@ register struct monst *mtmp;
|
||||
{
|
||||
long cash, demand, offer;
|
||||
|
||||
if (uwep && uwep->oartifact == ART_EXCALIBUR) {
|
||||
if (uwep && (uwep->oartifact == ART_EXCALIBUR
|
||||
|| uwep->oartifact == ART_DEMONBANE)) {
|
||||
pline("%s looks very angry.", Amonnam(mtmp));
|
||||
mtmp->mpeaceful = mtmp->mtame = 0;
|
||||
set_malign(mtmp);
|
||||
|
||||
Reference in New Issue
Block a user