Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -139,16 +139,14 @@ namespace Server.Engines.Quests.Doom
|
|||
foundLoc = true;
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
int z = map.GetAverageZ( x, y );
|
||||
|
||||
if ( map.CanSpawnMobile( x, y, z ) )
|
||||
{
|
||||
dragon.MoveToWorld( new Point3D( x, y, z ), map );
|
||||
foundLoc = true;
|
||||
break;
|
||||
}
|
||||
int z = map.GetAverageZ( x, y );
|
||||
|
||||
if ( map.CanSpawnMobile( x, y, z ) )
|
||||
{
|
||||
dragon.MoveToWorld( new Point3D( x, y, z ), map );
|
||||
foundLoc = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -65,10 +65,9 @@ namespace Server.Engines.Quests.Doom
|
|||
|
||||
if ( fame < 1500 )
|
||||
return Utility.Dice( 2, 5, -1 );
|
||||
else if ( fame < 20000 )
|
||||
if ( fame < 20000 )
|
||||
return Utility.Dice( 2, 4, 8 );
|
||||
else
|
||||
return 50;
|
||||
return 50;
|
||||
}
|
||||
|
||||
public TheSummoningQuest( Victoria victoria, PlayerMobile from ) : base( from )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue