So I added a bit to index.php for the professions addon:
in /roster/addons/professions/guild/index.php at line 106 find:
- Code: Select all
// Setup some user row data
$level_array = explode (':',$row['skill_level']);
$levelpct = $level_array[0] / 350 * 100 ;
settype( $levelpct, 'integer' );
And change it to:
- Code: Select all
// Setup some user row data
$level_array = explode (':',$row['skill_level']);
if( $skill_name != 'Poisons' )
{
$levelpct = $level_array[0] / 375 * 100 ;
}
else
{
$levelpct = $level_array[0] / 350 * 100 ;
}
settype( $levelpct, 'integer' );
Example of how it looks now: http://roster.treehuggery.org/index.php ... ions&a=g:1