少年修仙传客户端代码仓库
client_Hale
2019-05-22 8c81100c8ff5d2e90dabcafbec59a5d45f9841c8
Fight/Actor/State/SMB/STM_BaseAttack.cs
@@ -624,6 +624,7 @@
        GActorFight _target = null;
        int _hurtTotalValue = 0;
        int _realHurtValue = 0;
        m_NpcPosList.Clear();
@@ -650,10 +651,11 @@
                }
                _hurtTotalValue = (int)(m_CacheSkill.hurtServerList[i].HurtHP * _floodPercent);
                _realHurtValue = (int)((_target.ActorInfo.RealHp - m_CacheSkill.hurtServerList[i].CurHP) * _floodPercent);
                AttackHandler.HandlerAttackTarget(_fight,
                                                  _target,
                                                  _hurtTotalValue,
                                                  _realHurtValue,
                                                  m_CacheSkill.hurtServerList[i].AttackType,
                                                  m_CacheSkill.id,
                                                  id,
@@ -687,10 +689,12 @@
                }
                _hurtTotalValue = Mathf.CeilToInt(m_CacheSkill.hurtClientList[i].HurtHP * _floodPercent);
                _realHurtValue = (int)((_target.ActorInfo.RealHp - m_CacheSkill.hurtClientList[i].CurHP) * _floodPercent);
                AttackHandler.HandlerAttackTarget(_fight,
                                                  _target,
                                                  _hurtTotalValue,
                                                  _realHurtValue,
                                                  m_CacheSkill.hurtClientList[i].AttackType,
                                                  m_CacheSkill.id,
                                                  id,
@@ -719,8 +723,9 @@
                }
                _hurtTotalValue = (int)(m_CacheSkill.hurtClntFightNpcList[i].HurtHP * _floodPercent);
                _realHurtValue = (int)((_target.ActorInfo.RealHp - m_CacheSkill.hurtClientList[i].CurHP) * _floodPercent);
                AttackHandler.HandlerAttackTarget(_fight, _target, _hurtTotalValue,
                AttackHandler.HandlerAttackTarget(_fight, _target, _hurtTotalValue, _realHurtValue,
                                                  m_CacheSkill.hurtClntFightNpcList[i].AttackType,
                                                  m_CacheSkill.id, id, _sweepHit,
                                                  _target.ActorInfo.serverDie && m_IsLastHitFrame);