新Feedback系统
This commit is contained in:
@@ -236,12 +236,18 @@ namespace Cielonos.MainGame.Characters.Inventory.Collections
|
||||
|
||||
public override void OnSpecialCPress()
|
||||
{
|
||||
CharacterBase target = BattleManager.EnemySm.GetNearestEnemy(5);
|
||||
if (functionSm["Block"].IsAvailable() && fullBodyFuncAnimSm.Stop(DisruptionType.ForcedAction) &&
|
||||
PlayTargetedAnimation("Block", target, 2f, false, true, upperBodyFuncAnimSm, 1f, 0.1f, true))
|
||||
comboSm.main.Reset();
|
||||
SetBlock();
|
||||
|
||||
if (!player.statusSm.HasStatus(StatusType.Stun))
|
||||
{
|
||||
comboSm.main.Reset();
|
||||
SetBlock();
|
||||
CharacterBase target = BattleManager.EnemySm.GetNearestEnemy(5);
|
||||
if (functionSm["Block"].IsAvailable() &&
|
||||
fullBodyFuncAnimSm.Stop(DisruptionType.ForcedAction) &&
|
||||
PlayTargetedAnimation("Block", target, 2f, false, true, upperBodyFuncAnimSm, 1f, 0.1f, true))
|
||||
{
|
||||
feedbackSc.PlayFeedback("TestFeedBack");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user