40 FxCop Warnings; good practice
This commit is contained in:
parent
3f535ea235
commit
34e3a88bfe
30 changed files with 45 additions and 49 deletions
|
|
@ -1104,7 +1104,7 @@ namespace Server.Items
|
|||
|
||||
// Evasion grants a variable bonus post ML. 50% prior.
|
||||
if ( Evasion.IsEvading( defender ) )
|
||||
chance *= Evasion.GetParryScalar( defender );
|
||||
chance *= Evasion.GetParryScalar( defender );
|
||||
|
||||
// Low dexterity lowers the chance.
|
||||
if ( defender.Dex < 80 )
|
||||
|
|
@ -1133,9 +1133,9 @@ namespace Server.Items
|
|||
chance += 0.05;
|
||||
}
|
||||
|
||||
// Evasion grants a variable bonus post ML. 50% prior.
|
||||
if( Evasion.IsEvading( defender ) )
|
||||
chance *= Evasion.GetParryScalar( defender );
|
||||
// Evasion grants a variable bonus post ML. 50% prior.
|
||||
if( Evasion.IsEvading( defender ) )
|
||||
chance *= Evasion.GetParryScalar( defender );
|
||||
|
||||
// Low dexterity lowers the chance.
|
||||
if( defender.Dex < 80 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue