DarkEmu_GameServer.Systems.GM_MOBKILL C# (CSharp) Метод

GM_MOBKILL() приватный Метод

private GM_MOBKILL ( int id, ushort type ) : void
id int
type ushort
Результат void
        void GM_MOBKILL(int id, ushort type)
        {
            try
            {
                obj o = GetObject(id);
                o.AddAgroDmg(Character.Information.UniqueID, o.HP);
                o.HP = 0;
                o.StartDeadTimer(3000);
                o.GetDie = true;
                o.MonsterDrop();
                o.SetExperience();
                if (o.ID == 1954 || o.ID == 1982 || o.ID == 2002 || o.ID == 3810 || o.ID == 3875 || o.ID == 5871 || o.ID == 14538)
                    Systems.SendAll(Packet.Unique_Data(6, (int)o.ID, Character.Information.Name));
            }
            catch (Exception ex)
            {
                Console.WriteLine("Kill error on command and target: " + id);
                Systems.Debugger.Write(ex);
            }
        }
Systems