// ARTEGORDONMOD - start
// allow equipped blessed items to drop into corpses
public override DeathMoveResult GetParentMoveResultFor(Item item)
{
if (item.LootType == LootType.Blessed)
return DeathMoveResult.MoveToCorpse;
return item.OnParentDeath(this);
}
// ARTEGORDONMOD
// allow blessed items to drop into corpses
public override DeathMoveResult GetInventoryMoveResultFor(Item item)
{
if (item.LootType == LootType.Blessed)
return DeathMoveResult.MoveToCorpse;
return item.OnInventoryDeath(this);
}
// ARTEGORDONMOD - end
private static void PlaceItemIn( int x, int y, Item item, Mobile from )
{
from.AddToBackpack(item);
item.Location = new Point3D( x, y, 0 );
}
public virtual bool RetainPackLocsOnDeath { get { return Core.AOS; } }
public virtual bool RetainPackLocsOnDeath { get { return true; } }
We use essential cookies to make this site work, and optional cookies to enhance your experience.