fix bandage range, change some ondeath/onbeforedeath region calls, fix spell delayed damage
This commit is contained in:
parent
85fbf8ab81
commit
603f1bf8fe
6 changed files with 75 additions and 38 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue