Updates Combat Packets & Moves Tracking to Content (#298)
- [X] Changes outgoing combat packets - [X] Moves quest arrow to PlayerMobile and moves quest arrow packets to content. Bumps release version
This commit is contained in:
parent
55935d30b4
commit
6f5cb00cdd
19 changed files with 373 additions and 319 deletions
|
|
@ -196,14 +196,16 @@ namespace Server.Mobiles
|
|||
|
||||
private bool m_NoDeltaRecursion;
|
||||
|
||||
private int
|
||||
m_NonAutoreinsuredItems; // number of items that could not be automatically reinsured because gold in bank was not enough
|
||||
// number of items that could not be automatically reinsured because gold in bank was not enough
|
||||
private int m_NonAutoreinsuredItems;
|
||||
|
||||
private DateTime m_SavagePaintExpiration;
|
||||
private TimeSpan m_ShortTermElapse;
|
||||
|
||||
private DateTime[] m_StuckMenuUses;
|
||||
|
||||
private QuestArrow m_QuestArrow;
|
||||
|
||||
public PlayerMobile()
|
||||
{
|
||||
AutoStabled = new List<Mobile>();
|
||||
|
|
@ -794,6 +796,23 @@ namespace Server.Mobiles
|
|||
|
||||
public HonorContext ReceivedHonorContext { get; set; }
|
||||
|
||||
public QuestArrow QuestArrow
|
||||
{
|
||||
get => m_QuestArrow;
|
||||
set
|
||||
{
|
||||
if (m_QuestArrow != value)
|
||||
{
|
||||
m_QuestArrow?.Stop();
|
||||
|
||||
m_QuestArrow = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void ClearQuestArrow() => m_QuestArrow = null;
|
||||
|
||||
public override void ToggleFlying()
|
||||
{
|
||||
if (Race != Race.Gargoyle)
|
||||
|
|
@ -1627,6 +1646,7 @@ namespace Server.Mobiles
|
|||
pm.Quest?.StopTimer();
|
||||
|
||||
pm.SpeechLog = null;
|
||||
pm.ClearQuestArrow();
|
||||
pm.LastOnline = DateTime.UtcNow;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue