src/magic.c
/* for finding mana costs -- temporary version */
for finding mana costs -- temporary version
for finding mana costs -- temporary version
int mana_cost (CHAR_DATA *ch, int min_mana, int level)
{
    if (ch->level + 2 == level)
	return 1000;
    return UMAX(min_mana,(100/(2 + ch->level - level)));
}
int mana_cost ( CHAR_DATA * ch , int min_mana , int level ) { if ( ch -> level + 2 == level ) return 1000 ; return UMAX ( min_mana , ( 100 / ( 2 + ch -> level - level ) ) ) ; }
for finding mana costs -- temporary version
for finding mana costs -- temporary version