예제 #1
0
 // 播放攻击者受伤特效
 public void playAttackHurt(ImmeFightItemBase item)
 {
     if (item.damage > 0)
     {
         //m_being.effectControl.addLinkEffect(HurtItemBase.DAMAGE_EFFECTID);   // 掉血特效必然播放
         m_being.playFlyNum(-item.damage);
     }
     if (item.bAddHp)       // 回血
     {
         m_being.playFlyNum(item.addHp);
     }
 }
예제 #2
0
 // 播放攻击者受伤特效
 public void playAttackHurt(ImmeFightItemBase item)
 {
     if (item.damage > 0)
     {
         //m_being.effectControl.addLinkEffect(HurtItemBase.DAMAGE_EFFECTID);   // 掉血特效必然播放
         m_being.playFlyNum(-item.damage);
     }
     if (item.bAddHp)       // 回血
     {
         m_being.playFlyNum(item.addHp);
     }
 }