mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-05-17 04:55:05 +01:00
Fixing typos
Vanishing monsters will now no longer leave corpses Eurynome's counterattack no longer causes error messages
This commit is contained in:
parent
be9c390697
commit
7074f5e853
5 changed files with 6 additions and 3 deletions
2
src/do.c
2
src/do.c
|
@ -2046,7 +2046,7 @@ donull()
|
|||
stop_occupation();
|
||||
} else if(Upolyd && u.mh<u.mhmax){
|
||||
if(lastreped < monstermoves-100) You("attempt to make repairs.");
|
||||
if(!rn2(15-u.ulevel/2)) u.mh = min(u.mh+rnd(10),u.umhmax);;
|
||||
if(!rn2(15-u.ulevel/2)) u.mh = min(u.mh+rnd(10),u.mhmax);
|
||||
lastreped = monstermoves;
|
||||
if(u.mh == u.mhmax){
|
||||
You("complete your repairs.");
|
||||
|
|
|
@ -799,7 +799,7 @@ mdamagem(magr, mdef, mattk)
|
|||
*/
|
||||
num = monsndx(mdef->data);
|
||||
if (magr->mtame && !magr->isminion &&
|
||||
!(mvitals[num].mvflags & G_NOCORPSE)) {
|
||||
!(mvitals[num].mvflags & G_NOCORPSE || mdef->mvanishes)) {
|
||||
struct obj *virtualcorpse = mksobj(CORPSE, FALSE, FALSE);
|
||||
int nutrit;
|
||||
|
||||
|
|
|
@ -6394,6 +6394,7 @@ register struct attack *mattk;
|
|||
if(u.sealsActive&SEAL_EURYNOME && !rn2(5)){
|
||||
You("counterattack!");
|
||||
attack(mtmp);
|
||||
if(DEADMONSTER(mtmp)) return 2;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -6404,6 +6405,7 @@ register struct attack *mattk;
|
|||
){
|
||||
You("counterattack!");
|
||||
attack(mtmp);
|
||||
if(DEADMONSTER(mtmp)) return 2;
|
||||
}
|
||||
|
||||
assess_dmg:
|
||||
|
|
|
@ -2663,6 +2663,7 @@ xkilled(mtmp, dest)
|
|||
if (!rn2(6) && !(mvitals[mndx].mvflags & G_NOCORPSE)
|
||||
&& mdat->mlet != S_KETER
|
||||
&& mdat->mlet != S_PLANT
|
||||
&& !(mtmp->mvanishes)
|
||||
&& !(mtmp->mclone)
|
||||
) {
|
||||
int typ;
|
||||
|
|
|
@ -79,7 +79,7 @@ const struct Role roles[] = {
|
|||
},
|
||||
{ {"Binder", 0}, {
|
||||
{"Exile", 0},
|
||||
{"Heratic", 0},
|
||||
{"Heretic", 0},
|
||||
{"Cultist", 0},
|
||||
{"Binder", 0},
|
||||
{"Akousmatikoi", 0},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue