|
@@ -33,7 +33,8 @@ namespace GameLogic.Combat.Skill
|
|
|
currTarget.Add(combatHeroHitPoint);
|
|
|
int index = Random.Range(3, 9);
|
|
|
SpecialDotInfo specialDotInfo = CombatHeroEntity.GetSpecialDotInfo("zdpos" + index);
|
|
|
- ActivationTimeLineData("1302_fashe", currTarget: currTarget,customizePos:new Vector3[] { specialDotInfo.GetWorlPos() }, indexCount: i, startTime: i * -0.1f);
|
|
|
+ ActivationTimeLineData("1302_fashe", currTarget: currTarget,
|
|
|
+ customizePos: new Vector3[] { specialDotInfo.GetWorlPos() }, indexCount: i, startTime: i * -0.1f);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -58,8 +59,15 @@ namespace GameLogic.Combat.Skill
|
|
|
ITimelineFxLogic timelineFxLogic,
|
|
|
TriggerData triggerData, ISkillFeatures skillFeatures)
|
|
|
{
|
|
|
+ float addHarm = effectValue[1];
|
|
|
+ b_1003 b1003 = targetEntity.combatHeroEntity.BuffControl.GetBuffBasicForType<b_1003>();
|
|
|
+ if (b1003 != null)
|
|
|
+ {
|
|
|
+ addHarm += b1003.buffCount * effectValue[2];
|
|
|
+ }
|
|
|
+
|
|
|
long v = CombatCalculateTool.Instance.GetVlaueRatioForLong(CombatHeroEntity.CurrCombatHeroInfo.attack.Value,
|
|
|
- effectValue[1]);
|
|
|
+ addHarm);
|
|
|
HarmReturnInfo harmReturnInfo = CombatCalculateTool.Instance.Harm(CombatHeroEntity, targetEntity, v,
|
|
|
AttType.Skill, triggerData,
|
|
|
wuXingType, skillFeatures,
|
|
@@ -68,7 +76,7 @@ namespace GameLogic.Combat.Skill
|
|
|
// int odds = CombatCalculateTool.Instance.GetOdd(0, 100);
|
|
|
if (harmReturnInfo.isHitHero)
|
|
|
{
|
|
|
- BuffInfo buffInfo = BuffInfo.GetBuffInfo(10031, 1,this);
|
|
|
+ BuffInfo buffInfo = BuffInfo.GetBuffInfo(10031, 1, this);
|
|
|
targetEntity.combatHeroEntity.BuffControl.AddBuff(CombatHeroEntity, buffInfo);
|
|
|
}
|
|
|
}
|