Addition of Racial Harvest bonuses, Elven nightsight, and rename of OreInfo.cs to ResourceInfo.cs
This commit is contained in:
parent
51ef5111f6
commit
1a241e17f1
11 changed files with 54 additions and 13 deletions
|
|
@ -439,7 +439,9 @@ namespace Server.Mobiles
|
|||
{
|
||||
global = LightCycle.ComputeLevelFor( this );
|
||||
|
||||
if ( this.LightLevel < 21 && AosAttributes.GetValue( this, AosAttribute.NightSight ) > 0 )
|
||||
bool racialNightSight = (Core.ML && this.Race == Race.Elf);
|
||||
|
||||
if ( this.LightLevel < 21 && ( AosAttributes.GetValue( this, AosAttribute.NightSight ) > 0 || racialNightSight ))
|
||||
personal = 21;
|
||||
else
|
||||
personal = this.LightLevel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue