fix bandage range, change some ondeath/onbeforedeath region calls, fix spell delayed damage

This commit is contained in:
mark 2007-01-14 02:06:27 +00:00
parent 85fbf8ab81
commit 603f1bf8fe
6 changed files with 75 additions and 38 deletions

View file

@ -742,14 +742,20 @@ namespace Server
return true;
}
public virtual bool OnDeath( Mobile m )
public virtual bool OnBeforeDeath( Mobile m )
{
if ( m_Parent != null )
return m_Parent.OnDeath( m );
return m_Parent.OnBeforeDeath( m );
return true;
}
public virtual void OnDeath( Mobile m )
{
if ( m_Parent != null )
m_Parent.OnDeath( m );
}
public virtual bool OnDamage( Mobile m, ref int Damage )
{
if ( m_Parent != null )