少年修仙传客户端代码仓库
client_Zxw
2018-09-05 1289df0a91aa39848c8a5013a2a69c4cdefe4eec
1863 前端  灵宠属性项509不需要全值
2个文件已修改
38 ■■■■ 已修改文件
System/Pet/RidingAndPetActivationModel.cs 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/RoleParticulars/RoleParticularModel.cs 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Pet/RidingAndPetActivationModel.cs
@@ -75,7 +75,7 @@
        public enum RidingAndPetProperty
        {
            PetAttack = 508,//灵宠攻击
            PetLife = 509,//灵宠生命
            PetLife = 509,//人物生命(灵宠赋予角色的)
            MountProperty1 = 510,//坐骑属性效果1
            MountProperty2 = 511,//坐骑属性效果2
        }
@@ -87,27 +87,27 @@
            {
                return 0f;
            }
            if (skillconfig.Effect1 == (int)RidingAndPetProperty.PetLife)
            if (skillconfig.Effect1 == (int)RidingAndPetProperty.PetAttack)
            {
                return GetPetAttack(skillconfig.EffectValue11, skillconfig.EffectValue12);
            }
            else if (skillconfig.Effect2 == (int)RidingAndPetProperty.PetLife)
            else if (skillconfig.Effect2 == (int)RidingAndPetProperty.PetAttack)
            {
                return GetPetAttack(skillconfig.EffectValue21, skillconfig.EffectValue22);
            }
            else if (skillconfig.Effect3 == (int)RidingAndPetProperty.PetLife)
            else if (skillconfig.Effect3 == (int)RidingAndPetProperty.PetAttack)
            {
                return GetPetAttack(skillconfig.EffectValue31, skillconfig.EffectValue32);
            }
            else if (skillconfig.Effect4 == (int)RidingAndPetProperty.PetLife)
            else if (skillconfig.Effect4 == (int)RidingAndPetProperty.PetAttack)
            {
                return GetPetAttack(skillconfig.EffectValue41, skillconfig.EffectValue42);
            }
            else if (skillconfig.Effect5 == (int)RidingAndPetProperty.PetLife)
            else if (skillconfig.Effect5 == (int)RidingAndPetProperty.PetAttack)
            {
                return GetPetAttack(skillconfig.EffectValue51, skillconfig.EffectValue52);
            }
            else if (skillconfig.Effect6 == (int)RidingAndPetProperty.PetLife)
            else if (skillconfig.Effect6 == (int)RidingAndPetProperty.PetAttack)
            {
                return GetPetAttack(skillconfig.EffectValue61, skillconfig.EffectValue62);
            }
@@ -171,27 +171,27 @@
            {
                return 0f;
            }
            if (skillconfig.Effect1 == (int)RidingAndPetProperty.PetAttack)
            if (skillconfig.Effect1 == (int)RidingAndPetProperty.PetLife)
            {
                return GetPetAttack(skillconfig.EffectValue11, skillconfig.EffectValue12);
            }
            else if (skillconfig.Effect2 == (int)RidingAndPetProperty.PetAttack)
            else if (skillconfig.Effect2 == (int)RidingAndPetProperty.PetLife)
            {
                return GetPetAttack(skillconfig.EffectValue21, skillconfig.EffectValue22);
            }
            else if (skillconfig.Effect3 == (int)RidingAndPetProperty.PetAttack)
            else if (skillconfig.Effect3 == (int)RidingAndPetProperty.PetLife)
            {
                return GetPetAttack(skillconfig.EffectValue31, skillconfig.EffectValue32);
            }
            else if (skillconfig.Effect4 == (int)RidingAndPetProperty.PetAttack)
            else if (skillconfig.Effect4 == (int)RidingAndPetProperty.PetLife)
            {
                return GetPetAttack(skillconfig.EffectValue41, skillconfig.EffectValue42);
            }
            else if (skillconfig.Effect5 == (int)RidingAndPetProperty.PetAttack)
            else if (skillconfig.Effect5 == (int)RidingAndPetProperty.PetLife)
            {
                return GetPetAttack(skillconfig.EffectValue51, skillconfig.EffectValue52);
            }
            else if (skillconfig.Effect6 == (int)RidingAndPetProperty.PetAttack)
            else if (skillconfig.Effect6 == (int)RidingAndPetProperty.PetLife)
            {
                return GetPetAttack(skillconfig.EffectValue61, skillconfig.EffectValue62);
            }
System/RoleParticulars/RoleParticularModel.cs
@@ -532,27 +532,27 @@
            {
                return 0;
            }
            if (skillconfig.Effect1 == (int)RidingAndPetActivationModel.RidingAndPetProperty.PetLife)
            if (skillconfig.Effect1 == (int)RidingAndPetActivationModel.RidingAndPetProperty.PetAttack)
            {
                return GetPetAttack(skillconfig.EffectValue11, skillconfig.EffectValue12, pets);
            }
            else if (skillconfig.Effect2 == (int)RidingAndPetActivationModel.RidingAndPetProperty.PetLife)
            else if (skillconfig.Effect2 == (int)RidingAndPetActivationModel.RidingAndPetProperty.PetAttack)
            {
                return GetPetAttack(skillconfig.EffectValue21, skillconfig.EffectValue22, pets);
            }
            else if (skillconfig.Effect3 == (int)RidingAndPetActivationModel.RidingAndPetProperty.PetLife)
            else if (skillconfig.Effect3 == (int)RidingAndPetActivationModel.RidingAndPetProperty.PetAttack)
            {
                return GetPetAttack(skillconfig.EffectValue31, skillconfig.EffectValue32, pets);
            }
            else if (skillconfig.Effect4 == (int)RidingAndPetActivationModel.RidingAndPetProperty.PetLife)
            else if (skillconfig.Effect4 == (int)RidingAndPetActivationModel.RidingAndPetProperty.PetAttack)
            {
                return GetPetAttack(skillconfig.EffectValue41, skillconfig.EffectValue42, pets);
            }
            else if (skillconfig.Effect5 == (int)RidingAndPetActivationModel.RidingAndPetProperty.PetLife)
            else if (skillconfig.Effect5 == (int)RidingAndPetActivationModel.RidingAndPetProperty.PetAttack)
            {
                return GetPetAttack(skillconfig.EffectValue51, skillconfig.EffectValue52, pets);
            }
            else if (skillconfig.Effect6 == (int)RidingAndPetActivationModel.RidingAndPetProperty.PetLife)
            else if (skillconfig.Effect6 == (int)RidingAndPetActivationModel.RidingAndPetProperty.PetAttack)
            {
                return GetPetAttack(skillconfig.EffectValue61, skillconfig.EffectValue62, pets);
            }