Ejemplo n.º 1
0
            public void FreeMobile(bool recycle)
            {
                if (!m_Target.Deleted)
                {
                    m_Target.Frozen = false;
                    m_Target.SendLocalizedMessage(1042532);                       // You free yourself from the web!

                    Mephitis.m_Table.Remove(m_Target);

                    if (m_Target.Alive)
                    {
                        m_Target.Hidden = false;
                    }
                }

                if (recycle)
                {
                    m_Cocoon.Delete();
                }

                this.Stop();
            }
Ejemplo n.º 2
0
            public void FreeMobile(bool recycle)
            {
                if (!m_Target.Deleted)
                {
                    m_Target.Frozen = false;
                    m_Target.SendLocalizedMessage(1042532); // You free yourself from the web!

                    if (UnderWebEffect(m_Target))
                    {
                        mlist.Remove(m_Target);
                    }
                }

                if (recycle)
                {
                    Timer.DelayCall(TimeSpan.FromSeconds(10.0), new TimerCallback(delegate() { m_Cocoon.Delete(); }));
                }

                this.Stop();
            }