Esempio n. 1
0
            protected override void OnTick()
            {
                if (!m_From.Alive && m_From.Map is BaseInstance)                   //Does it have to be the same map that they died on?
                {
                    BaseInstance instance = m_From.Map as BaseInstance;

                    m_From.MoveToWorld(instance.DestPoint, instance.DestMap);
                    m_From.Resurrect();
                    m_From.Hits = m_From.HitsMax;
                    m_From.Mana = m_From.ManaMax;
                    m_From.Stam = m_From.StamMax;
                    //A death message?
                }
            }
Esempio n. 2
0
			public DeleteTimer(BaseInstance instance, TimeSpan dur) : base(dur)
			{
				m_Instance = instance;
			}
Esempio n. 3
0
 public DeleteTimer(BaseInstance instance, TimeSpan dur) : base(dur)
 {
     m_Instance = instance;
 }