Exemplo n.º 1
0
 public void Copy(bossrole data)
 {
     this.m_CurBossHp      = data.bossnowhp;
     this.m_BossMaxHp      = data.bosshpall;
     this.m_AddupDamage    = data.killhpall;
     this.m_BlessNum       = data.zhufunum;
     this.m_EndTime        = data.openendtime;
     this.m_BattleCoolDown = data.nextintime;
 }
Exemplo n.º 2
0
 public void RefeashBossRole(int nBossType, bossrole data)
 {
     if (m_BossDataMap.ContainsKey(nBossType))
     {
         m_BossDataMap[nBossType].m_BossRoleDB.ClearUp();
         m_BossDataMap[nBossType].m_BossRoleDB.Copy(data);
     }
     else
     {
         LogManager.LogError("!!!!!Error:BossDataMap key is null" + nBossType);
     }
 }