Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -43,12 +43,13 @@ namespace Server.Mobiles
|
|||
Say( 501222 ); // Thou art a criminal. I shall not resurrect thee.
|
||||
return false;
|
||||
}
|
||||
else if ( m.Kills >= 5 )
|
||||
|
||||
if ( m.Kills >= 5 )
|
||||
{
|
||||
Say( 501223 ); // Thou'rt not a decent and good person. I shall not resurrect thee.
|
||||
return false;
|
||||
}
|
||||
else if ( m.Karma < 0 )
|
||||
if ( m.Karma < 0 )
|
||||
{
|
||||
Say( 501224 ); // Thou hast strayed from the path of virtue, but thou still deservest a second chance.
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,12 +39,13 @@ namespace Server.Mobiles
|
|||
Say( 501222 ); // Thou art a criminal. I shall not resurrect thee.
|
||||
return false;
|
||||
}
|
||||
else if ( m.Kills >= 5 )
|
||||
|
||||
if ( m.Kills >= 5 )
|
||||
{
|
||||
Say( 501223 ); // Thou'rt not a decent and good person. I shall not resurrect thee.
|
||||
return false;
|
||||
}
|
||||
else if ( m.Karma < 0 )
|
||||
if ( m.Karma < 0 )
|
||||
{
|
||||
Say( 501224 ); // Thou hast strayed from the path of virtue, but thou still deservest a second chance.
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue