整合SLSUtilities
This commit is contained in:
@@ -24,7 +24,7 @@ namespace Cielonos.MainGame.Inventory.Collections
|
||||
fullBodyFuncAnimSm.CheckPlayability() && functionSm["AirAttack"].IsAvailable())
|
||||
{
|
||||
fallDamageMultiplier = (player.landMovementSc.groundDetector.GetDistanceToGround() - 1.4f);
|
||||
comboSm.ResetCombo();
|
||||
comboSm.main.Reset();
|
||||
functionSm["AirAttack"].Execute();
|
||||
PlayTargetedAnimation("AirAttackStart");
|
||||
}
|
||||
@@ -34,10 +34,10 @@ namespace Cielonos.MainGame.Inventory.Collections
|
||||
|
||||
if (functionSm["LightAttack"].IsAvailable() && fullBodyFuncAnimSm.CheckPlayability())
|
||||
{
|
||||
comboSm.NextCombo("L");
|
||||
comboSm.main.NextCombo("L");
|
||||
functionSm["LightAttack"].Execute();
|
||||
CharacterBase target = BattleManager.EnemySm.GetNearestEnemy(5);
|
||||
PlayTargetedAnimation("LightAttack" + comboSm.GetCurrentNodeName(), target, 0.8f);
|
||||
PlayTargetedAnimation("LightAttack" + comboSm.main.GetCurrentNodeName(), target, 0.8f);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -96,7 +96,7 @@ namespace Cielonos.MainGame.Inventory.Collections
|
||||
{
|
||||
if (player.landMovementSc.groundDetector.DetectGround(0.4f))
|
||||
{
|
||||
comboSm.ResetCombo();
|
||||
comboSm.main.Reset();
|
||||
PlayTargetedAnimation("AirAttackEnd");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user