private void DividePoint(int seq, int Hp, int totPoint)
    {
        MonDesc desc = GetDesc(seq);

        if (desc != null)
        {
            foreach (KeyValuePair <int, int> item in desc.dicDamageLog)
            {
                float num = (float)item.Value / (float)Hp;
                if (MyInfoManager.Instance.Seq != item.Key)
                {
                    P2PManager.Instance.SendPEER_MON_ADDPOINT(item.Key, (int)((float)totPoint * num));
                }
                else
                {
                    Defense component = GameObject.Find("Main").GetComponent <Defense>();
                    if (component != null)
                    {
                        component.AddDefensePoint(bRed: true, (int)((float)totPoint * num));
                    }
                }
            }
        }
    }