This commit is contained in:
mark 2009-05-16 20:07:15 +00:00
parent 2c723b90fc
commit 3dcaed01ba
9 changed files with 153 additions and 57 deletions

View file

@ -87,7 +87,7 @@ namespace Server.SkillHandlers
if ( skill.Base < 10.0 )
return "<div align=right>---</div>";
return String.Format( "<div align=right>{0:F1}</div>", skill.Base );
return String.Format( "<div align=right>{0:F1}</div>", skill.Value );
}
private static string FormatAttributes( int cur, int max )

View file

@ -96,7 +96,11 @@ namespace Server.SkillHandlers
{
from.SendLocalizedMessage( 1062488 ); // The instrument you are trying to play is no longer in your backpack!
}
else if ( m_Creature.Unprovokable || creature.Unprovokable )
else if ( m_Creature.Unprovokable )
{
from.SendLocalizedMessage( 1049446 ); // You have no chance of provoking those creatures.
}
else if ( creature.Unprovokable && !( creature is DemonKnight ) )
{
from.SendLocalizedMessage( 1049446 ); // You have no chance of provoking those creatures.
}