act_wiz.c do_mstat
find
/* Should show all affects listed not just ones with matching skills */
for( paf = victim->first_affect; paf; paf = paf->next )
{
if( ( skill = get_skilltype( paf->type ) ) )
ch_printf( ch, "&c%s: &w'%s' ", skill_tname[skill->type], skill->name );
else
ch_printf( ch, "&c%d: &w'Unknown' ", paf->type );
if( ( paf->location % REVERSE_APPLY ) == APPLY_STAT )
ch_printf( ch, "Mods %s", ext_flag_string( &paf->bitvector, stattypes ) );
else if( ( paf->location % REVERSE_APPLY ) == APPLY_RESISTANT )
ch_printf( ch, "Mods %s", ext_flag_string( &paf->bitvector, ris_flags ) );
else
ch_printf( ch, "Mods %s", a_types[paf->location % REVERSE_APPLY] );
if( ( paf->location % REVERSE_APPLY ) == APPLY_EXT_AFFECT )
{
if( paf->modifier == 0 )
ch_printf( ch, " by %s", ext_flag_string( &paf->bitvector, a_flags ) );
else if( paf->modifier > 0 && paf->modifier < AFF_MAX )
ch_printf( ch, " by %s", a_flags[paf->modifier] );
else
ch_printf( ch, " by %d", paf->modifier );
}
else
ch_printf( ch, " by %d", paf->modifier );
ch_printf( ch, " for %d Seconds &D\r\n", paf->duration );
}
change it to
/* Should show all affects listed not just ones with matching skills */
for( paf = victim->first_affect; paf; paf = paf->next )
{
if( ( skill = get_skilltype( paf->type ) ) )
pager_printf( ch, "&c%s: &w'%s' ", skill_tname[skill->type], skill->name );
else
pager_printf( ch, "&c%d: &w'Unknown' ", paf->type );
if( ( paf->location % REVERSE_APPLY ) == APPLY_STAT )
pager_printf( ch, "Mods %s", ext_flag_string( &paf->bitvector, stattypes ) );
else if( ( paf->location % REVERSE_APPLY ) == APPLY_RESISTANT )
pager_printf( ch, "Mods %s", ext_flag_string( &paf->bitvector, ris_flags ) );
else
pager_printf( ch, "Mods %s", a_types[paf->location % REVERSE_APPLY] );
if( ( paf->location % REVERSE_APPLY ) == APPLY_EXT_AFFECT )
{
if( paf->modifier == 0 )
pager_printf( ch, " by %s", ext_flag_string( &paf->bitvector, a_flags ) );
else if( paf->modifier > 0 && paf->modifier < AFF_MAX )
pager_printf( ch, " by %s", a_flags[paf->modifier] );
else
pager_printf( ch, " by %d", paf->modifier );
}
else
pager_printf( ch, " by %d", paf->modifier );
pager_printf( ch, " for %d Seconds &D\r\n", paf->duration );
}