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:
@@ -103,6 +103,8 @@ set_uasmon(void)
|
||||
PROPSET(REGENERATION, regenerates(mdat));
|
||||
PROPSET(REFLECTING, (mdat == &mons[PM_SILVER_DRAGON]));
|
||||
PROPSET(BLINDED, !haseyes(mdat));
|
||||
PROPSET(BLND_RES, (dmgtype_fromattack(mdat, AD_BLND, AT_EXPL)
|
||||
|| dmgtype_fromattack(mdat, AD_BLND, AT_GAZE)));
|
||||
#undef PROPSET
|
||||
|
||||
/* whether the player is flying/floating depends on their steed,
|
||||
|
||||
Reference in New Issue
Block a user