|
@@ -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;
|
|
|
}
|
|
|
|