/*************************************************************************** * (c) 2000 TAKA and the GHOST DANCER MUD PROJECT TEAM * * You may use this code provided you accept it's usage agreements * * Usage agreement * 1) Is that you do not remove or modify this comment block. * 2) You must give due credit in the help files * 3) You email me at a_ghost_dancer@excite.com * this helps me judge what snippets are popular and i welcome * any ideas and if i find them worthy i may decide to code them * for GHOST and distribute them on our page. * 4) You must abid by all other ROM and MERC licences * 5) Finally any improvements/bugs you find or make please share them * so we can continue to put out quality snippets. * * Last thank you to all the ROM amd MERC folks for this wounderful code * base know as ROM. * * The Ghost Dancer MUD Project Team and me TAKA thank you * for your interest. * * You can email me at: * TAKA * a_ghost_dancer@excite.com * ***************************************************************************/ in COMM.C add in function bust_a_prompt /* * New prompts by TAKA */ case 'O' : /* displays current hp in a percent */ sprintf( buf2, "%d", (ch->hit * 100) / ch->max_hit); i = buf2; break; case 'P' : /* displays current mana in a percent */ sprintf( buf2, "%d", (ch->mana * 100) / ch->max_mana); i = buf2; break; case 'Q' : /* displays current movement in a percent */ sprintf( buf2, "%d", (ch->move * 100) / ch->max_move); i = buf2; break; /* End new prompts TAKA */ %O display current hp in percentage %P display current mana in percentage %Q display current move in percentage --these prompts by taka