diff options
Diffstat (limited to 'src/xtra2.c')
-rw-r--r-- | src/xtra2.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/xtra2.c b/src/xtra2.c index 7958827b..d78858b3 100644 --- a/src/xtra2.c +++ b/src/xtra2.c @@ -241,6 +241,17 @@ bool_ set_tim_breath(int v, bool_ magical) } /* + * Set timered precognition + */ +bool_ set_tim_precognition(int v) +{ + return set_simple_field( + &p_ptr->tim_precognition, v, + TERM_WHITE, "You feel able to predict the future.", + TERM_WHITE, "You feel less able to predict the future."); +} + +/* * Set "p_ptr->absorb_soul" * notice observable changes */ |