Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -205,16 +205,14 @@ namespace Server.Items
|
|||
{
|
||||
if ( !m.Player && (m.Body.IsMonster || m.Body.IsAnimal) )
|
||||
return SkillName.Veterinary;
|
||||
else
|
||||
return SkillName.Healing;
|
||||
return SkillName.Healing;
|
||||
}
|
||||
|
||||
public static SkillName GetSecondarySkill( Mobile m )
|
||||
{
|
||||
if ( !m.Player && (m.Body.IsMonster || m.Body.IsAnimal) )
|
||||
return SkillName.AnimalLore;
|
||||
else
|
||||
return SkillName.Anatomy;
|
||||
return SkillName.Anatomy;
|
||||
}
|
||||
|
||||
public void EndHeal()
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ namespace Server.Items
|
|||
|
||||
if ( skill >= 11 )
|
||||
return (1062008 + skill-11);
|
||||
else if ( skill >=5 )
|
||||
if ( skill >=5 )
|
||||
return (1061123 + skill-5);
|
||||
|
||||
switch( skill )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue