- Moved BaseHouse's CheckAccount to AccountHandler for general use.

- Rented vendors can now be managed by all characters on the vendor owner's account.
- Corrected skill names displayed for skill bonuses on equipment. (Affected: Eval Intelligence -> Evaluate Intelligence, Forensics -> Forensic Evaluation, Lock Picking -> Lockpicking)
- Centralized skill name to cliloc conversion to AosSkillBonuses.GetLabel.
- Small SubtextSign fix hiding empty subtexts. (Not just nulls.)
- Added SA and HS power scroll skill arrays for future reference.
- Fixed house resizing not placing a temp no housing region for staff.
This commit is contained in:
eos 2012-04-15 02:36:01 +00:00
parent 9ceb0bc3c9
commit a3f8cb5fc6
11 changed files with 161 additions and 144 deletions

View file

@ -714,7 +714,18 @@ namespace Server
if( !GetValues( i, out skill, out bonus ) )
continue;
list.Add( 1060451 + i, "#{0}\t{1}", 1044060 + (int)skill, bonus );
list.Add( 1060451 + i, "#{0}\t{1}", GetLabel( skill ), bonus );
}
}
public static int GetLabel( SkillName skill )
{
switch ( skill )
{
case SkillName.EvalInt: return 1002070; // Evaluate Intelligence
case SkillName.Forensics: return 1002078; // Forensic Evaluation
case SkillName.Lockpicking: return 1002097; // Lockpicking
default: return 1044060 + (int)skill;
}
}