This commit is contained in:
parent
03fc95bfb7
commit
879e2fc778
12 changed files with 255 additions and 166 deletions
|
|
@ -942,7 +942,7 @@ namespace Server.Engines.CannedEvil
|
|||
|
||||
totalDamage = 0;
|
||||
|
||||
foreach (KeyValuePair<Mobile, int> kvp in m_DamageEntries)
|
||||
foreach (KeyValuePair<Mobile, int> kvp in validEntries)
|
||||
{
|
||||
totalDamage += kvp.Value;
|
||||
|
||||
|
|
@ -969,7 +969,6 @@ namespace Server.Engines.CannedEvil
|
|||
|
||||
public bool IsEligable( Mobile m, Item Artifact )
|
||||
{
|
||||
//return true;
|
||||
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