progress on -service.. no input, safe choices, etc
add Account.Inactive and Account.InactiveDuration refactor IsEligable to IsEligible
This commit is contained in:
parent
dd3c904944
commit
bff9e9abe4
9 changed files with 94 additions and 57 deletions
|
|
@ -931,7 +931,7 @@ namespace Server.Engines.CannedEvil
|
|||
|
||||
foreach (KeyValuePair<Mobile, int> kvp in m_DamageEntries)
|
||||
{
|
||||
if( IsEligable( kvp.Key, artifact ) )
|
||||
if( IsEligible( kvp.Key, artifact ) )
|
||||
{
|
||||
validEntries.Add( kvp.Key, kvp.Value );
|
||||
totalDamage += kvp.Value;
|
||||
|
|
@ -967,7 +967,7 @@ namespace Server.Engines.CannedEvil
|
|||
to.SendLocalizedMessage( 1062317 ); // For your valor in combating the fallen beast, a special artifact has been bestowed on you.
|
||||
}
|
||||
|
||||
public bool IsEligable( Mobile m, Item Artifact )
|
||||
public bool IsEligible( Mobile m, Item Artifact )
|
||||
{
|
||||
return m.Player && m.Alive && m.Region != null && m.Region == m_Region && m.Backpack != null && m.Backpack.CheckHold( m, Artifact, false );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue