Feel滚
This commit is contained in:
@@ -2,7 +2,6 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using Cielonos.MainGame.Characters;
|
||||
using DG.Tweening;
|
||||
using MoreMountains.FeedbacksForThirdParty;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cielonos.MainGame.Characters.Inventory.Collections
|
||||
@@ -86,9 +85,9 @@ namespace Cielonos.MainGame.Characters.Inventory.Collections
|
||||
//.AddHitSound("LightAttackCriticalHit")
|
||||
.AddHitEvent((enemy, hitPosition) =>
|
||||
{
|
||||
slash.hitSm.PlayHitSound(hitPosition,
|
||||
/*slash.hitSm.PlayHitSound(hitPosition,
|
||||
slash.attackSm.attackValue.isCritical ? "LightAttackCriticalHit" : "LightAttackNormalHit");
|
||||
feedbackSc["Hit"].Play();
|
||||
feedbackSc["Hit"].Play();*/
|
||||
});
|
||||
|
||||
//Swing("LightAttackSwing", "Swing", swingForce);
|
||||
@@ -115,7 +114,7 @@ namespace Cielonos.MainGame.Characters.Inventory.Collections
|
||||
.SetTimeSubmodule<NormalArea>(1f)
|
||||
.SetHitSubmodule<NormalArea>();
|
||||
|
||||
slash.hitSm.AddHitEvent((_,_) => feedbackSc["Hit"].Play());
|
||||
//slash.hitSm.AddHitEvent((_,_) => feedbackSc["Hit"].Play());
|
||||
//Swing("GroundImpact", "GroundImpact", Vector3.down * 0.2f * (1 + Mathf.Log10(fallDamageMultiplier)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user