public Int32 GetFengShuiAttc()
        {
            Int32 attc = 0;

            attc += (int)FengShuiData.Instance().fengshuiAdd[this.GetAttributeID(), 0];
            return(attc);
        }
예제 #2
0
 public static FengShuiData Instance()
 {
     if (null == m_instance)
     {
         m_instance = new FengShuiData();
     }
     return(m_instance);
 }
        public Int32 GetFengShuiHp()
        {
            Int32 hp = 0;

            hp += (int)(GetHpBase() * FengShuiData.Instance().fengshuiAdd[this.GetAttributeID(), 2] * 0.01) / 1;
            hp += (int)FengShuiData.Instance().fengshuiAdd[this.GetAttributeID(), 1];
            return(hp);
        }