Exemple #1
0
    // GodHand 스킬을 맞기 직전 나타나는 효과
    public void OnAlertGodhand(Skill skill)
    {
        charEffect.DeleteAllEffect();

        float durationTime = CalculateDebuffDuration((float)skill.durationTime[0]);

        skill.PlayAlertEffect();

        skillSound.OnAlertGodhand();
        charMotor.OnHitStunSkill(durationTime);
        charAnim.AlertSkill(charAnim.alertGodhand, CharacterStateEnum.AlertGodhand);
        charAnim.ReserveAnimation(charAnim.run, CharacterStateEnum.Run, durationTime);
        charEventMng.HitSkill(durationTime);
        charEventMng.OnHitGodhand(durationTime);
        charMapObjListener.OnHitStunSkill();
        charInvincible.OnHitStunSkill(durationTime);
        camAnim.GlobalShakeCamera(2.5f, 1.1f);
        camAnim.PlayAnimation(skill.cameraWork);
    }