瀏覽代碼

Merge branch 'master' of 192.168.0.254:BattleSever/WSHCommon

meijun 3 年之前
父節點
當前提交
810a2f144c
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      XmdsVSPlugins/XmdsCommonSkill/Plugin/PassiveSkills/other/TianShuBase.cs

+ 3 - 3
XmdsVSPlugins/XmdsCommonSkill/Plugin/PassiveSkills/other/TianShuBase.cs

@@ -39,7 +39,7 @@ namespace XmdsCommonSkill.Plugin.Skills.Magic
 		{
 			var pack = XmdsBuffFactory.GetInstance().GetXmdsBuffPack(this.GetBindBuffID());
 			var buff = (XmdsBuff_Damage)pack.GetXmdsBuff(XmdsBuffProperties.XmdsBuffAbility.Damage);
-			buff.mDamagePer = mValueSet2.GetValue(skillInfo.SkillLevel);
+			buff.mDamagePer = mValueSet2.GetValue(skillInfo.SkillLevel) + skillInfo.TalentSkillLevel1;
 			var bt = pack.mBuffTemplate;
 			pack.BindTemplateAndDispose();
 			owner.RegistSendBuff(bt);
@@ -52,7 +52,7 @@ namespace XmdsCommonSkill.Plugin.Skills.Magic
 		protected override void OnSkillDataChange(GameSkill gs, XmdsVirtual unit)
 		{
 			var buff = (XmdsBuff_Damage)unit.GetRegisBuffVirtual(this.GetBindBuffID());
-			buff.mDamagePer = mValueSet2.GetValue(gs.SkillLevel);
+			buff.mDamagePer = mValueSet2.GetValue(gs.SkillLevel) + gs.TalentSkillLevel1;
 		}
 
 		private float OnHandleHitOther(float damage, XmdsVirtual hitted, XmdsVirtual attacker, AttackSource source,
@@ -72,7 +72,7 @@ namespace XmdsCommonSkill.Plugin.Skills.Magic
 					this.mBuffValidEndTime = 0;         // 标记失效
 					//hitted.mUnit.AddBuff(this.GetBindBuffID(), attacker.mUnit);
 					this.launchEffectSpell(attacker, hitted, false);
-					damage += damage * mValueSet2.GetValue(skill.SkillLevel) * XmdsUnitProp.PER;
+					damage += damage * (mValueSet2.GetValue(skill.SkillLevel) + skill.TalentSkillLevel1) * XmdsUnitProp.PER;
 					return damage;
 				}