|
|
@@ -101,6 +101,7 @@ namespace Common.Combat.FxAILogic
|
|
|
public bool isInit = false;
|
|
|
|
|
|
private bool isPlayStartAudio = false;
|
|
|
+
|
|
|
public void Init(Vector3 startPos,
|
|
|
TimeLineEventParticleLogicBasic timeLineEventParticleLogicBasic, ILifetCycleHitPoint attTarget,
|
|
|
SpecialDotInfo specialDotInfo = null)
|
|
|
@@ -164,7 +165,6 @@ namespace Common.Combat.FxAILogic
|
|
|
/// </summary>
|
|
|
public void DeductSkillStrength(long hp)
|
|
|
{
|
|
|
-
|
|
|
}
|
|
|
|
|
|
// private void Detection()
|
|
|
@@ -184,9 +184,17 @@ namespace Common.Combat.FxAILogic
|
|
|
{
|
|
|
FinishHit(CurrPos, hitFxName);
|
|
|
}
|
|
|
+
|
|
|
public void PlayPengZhuangHit()
|
|
|
{
|
|
|
- FinishHit(CurrPos, pengZhuangHitFxName);
|
|
|
+ if (string.IsNullOrEmpty(pengZhuangHitFxName))
|
|
|
+ {
|
|
|
+ FinishHit(CurrPos, hitFxName);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ FinishHit(CurrPos, pengZhuangHitFxName);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
protected void FinishHit(Vector3 pos, string hitFxName)
|
|
|
@@ -248,7 +256,7 @@ namespace Common.Combat.FxAILogic
|
|
|
isPlayStartAudio = true;
|
|
|
if (!string.IsNullOrEmpty(startAudioName))
|
|
|
{
|
|
|
- AudioManager.Instance.Play(startAudioName,false);
|
|
|
+ AudioManager.Instance.Play(startAudioName, false);
|
|
|
}
|
|
|
}
|
|
|
|