mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-16 16:34:41 +01:00
23 lines
674 B
C#
23 lines
674 B
C#
using MoleMole.Config;
|
|
using UnityEngine;
|
|
|
|
namespace MoleMole
|
|
{
|
|
public class Mono_BOSS_040 : BaseMonoDarkAvatar
|
|
{
|
|
public override void Awake()
|
|
{
|
|
base.Awake();
|
|
}
|
|
|
|
public override void BeHit(int frameHalt, AttackResult.AnimatorHitEffect hitEffect, AttackResult.AnimatorHitEffectAux hitEffectAux, KillEffect killEffect, BeHitEffect beHitEffect, float aniDamageRatio, Vector3 hitForward, float retreatVelocity)
|
|
{
|
|
if (hitEffect > AttackResult.AnimatorHitEffect.Light)
|
|
{
|
|
SetOverrideSteerFaceDirectionFrame(-hitForward);
|
|
}
|
|
base.BeHit(frameHalt, hitEffect, hitEffectAux, killEffect, beHitEffect, aniDamageRatio, hitForward, retreatVelocity);
|
|
}
|
|
}
|
|
}
|