1
This commit is contained in:
parent
fc2b19827b
commit
ccd5f340e0
@ -1066,9 +1066,13 @@ void Skill::ProcShotPhase(const mt::SkillPhase* phase)
|
||||
|
||||
void Skill::ProcForthBackJumpPhase(const mt::SkillPhase* phase)
|
||||
{
|
||||
if (GetMinorType() != SMT_NONE) {
|
||||
return;
|
||||
}
|
||||
|
||||
glm::vec3 old_dir = owner->GetMoveDir();
|
||||
Position old_pos = owner->GetPos();
|
||||
if (GetMinorType() == SMT_NONE) {
|
||||
|
||||
int buff_id1 = phase->param3_ints.size() > 0 ? phase->param3_ints[0] : 0;
|
||||
int buff_id2 = phase->param3_ints.size() > 1 ? phase->param3_ints[1] : 0;
|
||||
int buff_id3 = phase->param3_ints.size() > 2 ? phase->param3_ints[2] : 0;
|
||||
@ -1117,6 +1121,5 @@ void Skill::ProcForthBackJumpPhase(const mt::SkillPhase* phase)
|
||||
skill_meta);
|
||||
}
|
||||
);
|
||||
}
|
||||
owner->SetMoveDir(old_dir);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user