阶段性完成
This commit is contained in:
@@ -45,6 +45,11 @@ namespace Cielonos.MainGame.Characters
|
||||
|
||||
protected virtual void Update()
|
||||
{
|
||||
if (owner.statusSm.isDead)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
fullBodyFuncAnimSm?.UpdateTime();
|
||||
UpdateIntervalInfo();
|
||||
}
|
||||
@@ -78,7 +83,20 @@ namespace Cielonos.MainGame.Characters
|
||||
{
|
||||
public virtual void RegisterDefaultFunctions()
|
||||
{
|
||||
registeredFunctions.Add("SetRootMotionMoveXMultiplier", anim =>
|
||||
{
|
||||
owner.movementSc.rootMotionMoveXMultiplier = anim.runtimeVariables.GetVariable<float>("RootMotionMoveXMultiplier");
|
||||
});
|
||||
|
||||
registeredFunctions.Add("SetRootMotionMoveYMultiplier", anim =>
|
||||
{
|
||||
owner.movementSc.rootMotionMoveYMultiplier = anim.runtimeVariables.GetVariable<float>("SetRootMotionMoveYMultiplier");
|
||||
});
|
||||
|
||||
registeredFunctions.Add("SetRootMotionMoveZMultiplier", anim =>
|
||||
{
|
||||
owner.movementSc.rootMotionMoveZMultiplier = anim.runtimeVariables.GetVariable<float>("SetRootMotionMoveZMultiplier");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,7 +104,7 @@ namespace Cielonos.MainGame.Characters
|
||||
{
|
||||
public virtual bool SetGetHitDisruption(DisruptionType disruptionType, BreakthroughType breakthroughType)
|
||||
{
|
||||
if (owner.reactionSc.breakthroughResistances[breakthroughType].value)
|
||||
if (owner.reactionSc.breakthroughResistances[breakthroughType])
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user