/// <summary> /// Is called whenever this Character was added to a new map /// </summary> internal protected override void OnEnterMap() { base.OnEnterMap(); // when removed from map, make sure the Character forgets everything and gets everything re-sent ClearSelfKnowledge(); m_lastMoveTime = Environment.TickCount; LastPosition = m_position; AddPostUpdateMessage(() => { // Add Honorless Target buff if (m_zone != null && m_zone.Template.IsPvP) { SpellCast.TriggerSelf(SpellId.HonorlessTarget); } }); if (IsPetActive) { // actually spawn pet IsPetActive = true; } }