Use macro for a location next to hero
This commit is contained in:
@@ -457,7 +457,7 @@ explode(
|
||||
/* if grabber is reaching into hero's spot and
|
||||
hero's spot is within explosion radius, grabber
|
||||
gets hit by double damage */
|
||||
if (grabbed && mtmp == u.ustuck && distu(x, y) <= 2)
|
||||
if (grabbed && mtmp == u.ustuck && next2u(x, y))
|
||||
mdam *= 2;
|
||||
/* being resistant to opposite type of damage makes
|
||||
target more vulnerable to current type of damage
|
||||
|
||||
Reference in New Issue
Block a user