Unblind telepathy range
Unblind telepathy range depends on the number of telepathy granting items worn. Breaks saves.
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
/* OR 2b. hero is using a telepathy inducing */ \
|
||||
/* object and in range */ \
|
||||
|| (Unblind_telepat \
|
||||
&& (mdistu(mon) <= (BOLT_LIM * BOLT_LIM)))))
|
||||
&& (mdistu(mon) <= u.unblind_telepat_range))))
|
||||
|
||||
/* organized to perform cheaper tests first;
|
||||
is_pool() vs is_pool_or_lava(): hero who is underwater can see adjacent
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
* Incrementing EDITLEVEL can be used to force invalidation of old bones
|
||||
* and save files.
|
||||
*/
|
||||
#define EDITLEVEL 101
|
||||
#define EDITLEVEL 102
|
||||
|
||||
/*
|
||||
* Development status possibilities.
|
||||
|
||||
@@ -389,6 +389,7 @@ struct you {
|
||||
/* These ranges can never be more than MAX_RANGE (vision.h). */
|
||||
int nv_range; /* current night vision range */
|
||||
int xray_range; /* current xray vision range */
|
||||
int unblind_telepat_range;
|
||||
|
||||
/*
|
||||
* These variables are valid globally only when punished and blind.
|
||||
|
||||
Reference in New Issue
Block a user