少年修仙传客户端代码仓库
client_Hale
2018-08-25 00fc8fe66e09438fe3e8976ed392f6564ef8af4b
Fixed #2819 【前端】境界压制技能, 接入服务端下发伤害类型飘字
2个文件已修改
13 ■■■■ 已修改文件
Core/NetworkPackage/DTCFile/ServerPack/H06_PlayerVsNPC/DTC0614_tagUseSkillPos.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GAStaticDefine.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/NetworkPackage/DTCFile/ServerPack/H06_PlayerVsNPC/DTC0614_tagUseSkillPos.cs
@@ -260,7 +260,9 @@
                    {
                        // 是否飘字
                        if (_sTarget.HurtHP != 0
                         || _sTarget.AttackType == (byte)HurtAttackType.Miss)
                         || _sTarget.AttackType == (byte)HurtAttackType.Miss
                         || _sTarget.AttackType == (byte)HurtAttackType.Immune
                         || _sTarget.AttackType == (byte)HurtAttackType.Suppress)
                        {
                            GAStaticDefine.PopHp(_attacker, _cTarget, _sTarget.AttackType, (int)_sTarget.HurtHP);
                        }
@@ -620,7 +622,9 @@
            {
                // 是否飘字
                if (_sTarget.HurtHP != 0
                 || _sTarget.AttackType == (byte)HurtAttackType.Miss)
                 || _sTarget.AttackType == (byte)HurtAttackType.Miss
                 || _sTarget.AttackType == (byte)HurtAttackType.Immune
                 || _sTarget.AttackType == (byte)HurtAttackType.Suppress)
                {
                    GAStaticDefine.PopHp(_attacker, _cTarget, _sTarget.AttackType, (int)_sTarget.HurtHP);
                }
Fight/GameActor/GAStaticDefine.cs
@@ -284,7 +284,6 @@
        //{
        //}
        // ---- 判断是否显示
        if ((caster != null// 来源不能为空
          && (caster.ServerInstID == PlayerDatas.Instance.PlayerId // 自己攻击
@@ -395,6 +394,10 @@
                _targetRealm = 0;
                _pattern = (PopUpNum.Pattern)(((int)HurtAttackType.Normal - 1) * 3);
            }
            else if (attackType == (int)HurtAttackType.Immune)
            {
                _base = (int)PopUpNum.Pattern.PlayerAttack;
            }
            var popupInfo = new PopUpNum.PopupInfo()
            {