Added IDevourable for PlaugeBeast and any other creatures that devour corpses.
Corpses no longer have booleans all over the place, I converted the main variables to CorpseFlag Added something to the Repair when deeds are deleted it'll also send a message in regards to repairing Added OnBefore and OnAfter Convert/Unconvert for Paragon which is used in PlaugeBeast... Basically if the plauge beast is a paragon, then the devour corpse total will increase.
This commit is contained in:
parent
123af436f9
commit
5d07b8f64a
5 changed files with 311 additions and 49 deletions
|
|
@ -955,6 +955,22 @@ namespace Server.Mobiles
|
|||
base.OnBeforeSpawn( location, m );
|
||||
}
|
||||
|
||||
public virtual void OnBeforeParagonConvert()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void OnAfterParagonConvert()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void OnBeforeParagonUnConvert()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void OnAfterParagonUnConvert()
|
||||
{
|
||||
}
|
||||
|
||||
public override ApplyPoisonResult ApplyPoison( Mobile from, Poison poison )
|
||||
{
|
||||
if ( !Alive || IsDeadPet )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue