R363 - can't drown breathless monsters
- if you're polymorphed into an eel, you were able to drown things like xorns - also, fix the tombstone message when an eel drowns you, it was basing the message on your location, not the eel's location
This commit is contained in:
@@ -45,6 +45,7 @@ touch_artifact checks needed when snagging w/bullwhip and stealing
|
|||||||
cannot trip over submerged objects if you're water walking
|
cannot trip over submerged objects if you're water walking
|
||||||
wand of striking was not identified if it activated a statue trap
|
wand of striking was not identified if it activated a statue trap
|
||||||
cannot sacrifice while you're swallowed
|
cannot sacrifice while you're swallowed
|
||||||
|
player polymorphed into an eel cannot drown breathless/amphibious monsters
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
@@ -1158,8 +1158,9 @@ do_stone:
|
|||||||
} else if(u.ustuck == mtmp) {
|
} else if(u.ustuck == mtmp) {
|
||||||
if (is_pool(mtmp->mx,mtmp->my) && !Swimming
|
if (is_pool(mtmp->mx,mtmp->my) && !Swimming
|
||||||
&& !Amphibious) {
|
&& !Amphibious) {
|
||||||
boolean moat = (levl[u.ux][u.uy].typ != POOL) &&
|
boolean moat =
|
||||||
(levl[u.ux][u.uy].typ != WATER) &&
|
(levl[mtmp->mx][mtmp->my].typ != POOL) &&
|
||||||
|
(levl[mtmp->mx][mtmp->my].typ != WATER) &&
|
||||||
!Is_medusa_level(&u.uz) &&
|
!Is_medusa_level(&u.uz) &&
|
||||||
!Is_waterlevel(&u.uz);
|
!Is_waterlevel(&u.uz);
|
||||||
|
|
||||||
|
|||||||
@@ -1417,7 +1417,8 @@ register struct attack *mattk;
|
|||||||
}
|
}
|
||||||
} else if(u.ustuck == mdef) {
|
} else if(u.ustuck == mdef) {
|
||||||
/* Monsters don't wear amulets of magical breathing */
|
/* Monsters don't wear amulets of magical breathing */
|
||||||
if (is_pool(u.ux,u.uy) && !is_swimmer(mdef->data)) {
|
if (is_pool(u.ux,u.uy) && !is_swimmer(mdef->data) &&
|
||||||
|
!amphibious(mdef->data)) {
|
||||||
You("drown %s...", mon_nam(mdef));
|
You("drown %s...", mon_nam(mdef));
|
||||||
tmp = mdef->mhp;
|
tmp = mdef->mhp;
|
||||||
} else if(mattk->aatyp == AT_HUGS)
|
} else if(mattk->aatyp == AT_HUGS)
|
||||||
|
|||||||
Reference in New Issue
Block a user