### Summary - Adds some more checks in case a corpse's owner is somehow null. Would like to eventually allow null owner corpses, but more work is needed. - Cleans up variable unboxing and reassignment in quests. Also flattens quest logic. Still more work needs to be done. - Codegens more quest items/mobiles.
17 lines
443 B
C#
17 lines
443 B
C#
using ModernUO.Serialization;
|
|
using Server.Mobiles;
|
|
|
|
namespace Server.Engines.Quests.Haven;
|
|
|
|
[SerializationGenerator(0, false)]
|
|
public partial class UzeraanTurmoilHorn : HornOfRetreat
|
|
{
|
|
[Constructible]
|
|
public UzeraanTurmoilHorn()
|
|
{
|
|
DestLoc = new Point3D(3597, 2582, 0);
|
|
DestMap = Map.Trammel;
|
|
}
|
|
|
|
public override bool ValidateUse(Mobile from) => from is PlayerMobile pm && pm.Quest is UzeraanTurmoilQuest;
|
|
}
|