new property: BLND_RES
Add enlightenment feedback for Sunsword's blocking of becoming blind from light flashes. It uses an extra property so that wizard mode can report the reason. EDITLEVEL is being incremented, so existing save and bones files are invalidated.
This commit is contained in:
@@ -156,6 +156,10 @@
|
||||
#define Blind_telepat (HTelepat || ETelepat)
|
||||
#define Unblind_telepat (ETelepat)
|
||||
|
||||
#define HBlnd_resist u.uprops[BLND_RES].intrinsic /* from form */
|
||||
#define EBlnd_resist u.uprops[BLND_RES].extrinsic /* wielding Sunsword */
|
||||
#define Blnd_resist (HBlnd_resist || EBlnd_resist)
|
||||
|
||||
#define HWarning u.uprops[WARNING].intrinsic
|
||||
#define EWarning u.uprops[WARNING].extrinsic
|
||||
#define Warning (HWarning || EWarning)
|
||||
|
||||
Reference in New Issue
Block a user