summaryrefslogtreecommitdiff
path: root/src/Game/Actor/Player/Action/actionPlayerCutNormal.cpp
blob: f8f17bd43d3bb72811c2990233d3116570acb8be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include "Game/Actor/Player/Action/actionPlayerCutNormal.h"

namespace uking::action {

PlayerCutNormal::PlayerCutNormal(const InitArg& arg) : PlayerAction(arg) {}

void PlayerCutNormal::enter_(ksys::act::ai::InlineParamPack* params) {
    PlayerAction::enter_(params);
}

void PlayerCutNormal::leave_() {
    PlayerAction::leave_();
}

void PlayerCutNormal::loadParams_() {
    getStaticParam(&mAttackRatioNSwordS1_s, "AttackRatioNSwordS1");
    getStaticParam(&mAttackRatioNSwordS2_s, "AttackRatioNSwordS2");
    getStaticParam(&mAttackRatioNSwordS3_s, "AttackRatioNSwordS3");
    getStaticParam(&mAttackRatioLSwordS1_s, "AttackRatioLSwordS1");
    getStaticParam(&mAttackRatioLSwordS2_s, "AttackRatioLSwordS2");
    getStaticParam(&mAttackRatioLSwordS3_s, "AttackRatioLSwordS3");
    getStaticParam(&mAttackRatioSpearS1_s, "AttackRatioSpearS1");
    getStaticParam(&mAttackRatioSpearS2_s, "AttackRatioSpearS2");
    getStaticParam(&mAttackRatioSpearS3_s, "AttackRatioSpearS3");
    getStaticParam(&mAttackRatioSpearS4_s, "AttackRatioSpearS4");
    getStaticParam(&mAttackRatioSpearS5_s, "AttackRatioSpearS5");
    getStaticParam(&mSwordSearchFrame_s, "SwordSearchFrame");
    getStaticParam(&mSwordSearchAngle_s, "SwordSearchAngle");
}

void PlayerCutNormal::calc_() {
    PlayerAction::calc_();
}

}  // namespace uking::action