Beispiel #1
0
int equip()
{
    full_heal();
    command( "equip" );
    add_hp( THISO->query_max_hp() );
    return 1;
}
Beispiel #2
0
void change_hp()
{
  int c = 0;

  while(c != '+' && c != '-')
    {
      c = prompt_minibuffer("Increase or decrease? (+/-)");
    }

  if(c == '+') add_hp();
  if(c == '-') red_hp();
}