/just died on dlvl 31, moments after finding the phial and the cap of thranduil. arg!
/* Turning off, always mention */
if (v == 0)
{
message(MSG_RECOVER, 0, effect->on_end);
notify = TRUE;
}
/* Turning on, always mention */
else if (p_ptr->timed[idx] == 0)
{
message(effect->msg, 0, effect->on_begin);
notify = TRUE;
}
else if (notify)
{
/* Decrementing */
if (p_ptr->timed[idx] > v && effect->on_decrease)
message(effect->msg, 0, effect->on_decrease);
/* Incrementing */
else if (v > p_ptr->timed[idx] && effect->on_decrease)
message(effect->msg, 0, effect->on_increase);
}
Leave a comment: