示例#1
0
文件: effect2.c 项目: anylonen/omega
void alert(int blessing)
{
  if (blessing > -1) {
    mprint("You feel on-the-ball.");
    Player.status[ALERT]+= 4+(5*blessing);
  }
  else sleep_player(abs(blessing)+3);
}
示例#2
0
/* potion of sleep */
void i_sleep_self(pob o)
{
    sleep_player(6);
    Objects[o->id].known = 1;
}