Example #1
0
 private void SetGetZuZhouData(bool isBegin)
 {
     if (isBegin)
     {
         isGetZuzhouTrigger            = true;
         zuZhouGetBegin_BigTime        = PlayerConfig.GetCurBig();
         zuZhouGet_skillReleaseBigTime = zuZhouGetBegin_BigTime + PlayerConfig.zuZhou_BigCount;
     }
     else
     {
         isGetZuzhouTrigger = false;
         //--受到伤害:
         if (curZuZhouType == ZuZhouType.Normal)
         {
             this.LoseHP((int)hasZuZhouDamgeValue);
         }
         else if (curZuZhouType == ZuZhouType.Normal)
         {
             this.LoseHP((int)hasZuZhouDamgeValue);
             this.LoseHP((int)hasZuZhouDamgeValue);
         }
     }
 }