- Fixed 'or' operator for object conditionals.
- Fixed train context menu occasionally showing the train option as available when it shouldn't be. - Fixed a crash in the documentation generator. - Added 3 new command implementors, serving as aliases for various Area usages: Range, Screen and Facet - Fixed house placement allowing placed houses to intersect other house regions.
This commit is contained in:
parent
72c4dc6018
commit
2c829d38ed
12 changed files with 174 additions and 62 deletions
|
|
@ -3196,12 +3196,12 @@ namespace Server.Mobiles
|
|||
|
||||
if ( skill != null && theirSkill != null && skill.Base >= 60.0 && CheckTeach( skill.SkillName, from ) )
|
||||
{
|
||||
double toTeach = skill.Base / 3.0;
|
||||
int toTeach = skill.BaseFixedPoint / 3;
|
||||
|
||||
if ( toTeach > 42.0 )
|
||||
toTeach = 42.0;
|
||||
if ( toTeach > 420 )
|
||||
toTeach = 420;
|
||||
|
||||
list.Add( new TeachEntry( (SkillName)i, this, from, ( toTeach > theirSkill.Base ) ) );
|
||||
list.Add( new TeachEntry( (SkillName)i, this, from, ( toTeach > theirSkill.BaseFixedPoint ) ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue