This commit is contained in:
parent
2c723b90fc
commit
3dcaed01ba
9 changed files with 153 additions and 57 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue