1
This commit is contained in:
parent
cfd52a6e0e
commit
5906b7288a
@ -450,7 +450,7 @@ void Skill::ProcSpecDirShotPhase(const mt::SkillPhase* phase)
|
||||
auto context_pos_p = owner->context_pos;
|
||||
owner->room->xtimer.SetTimeoutEx
|
||||
(
|
||||
(target_distance / weapon_meta->bullet_speed() + 1.5) * 1000.0f / FRAME_RATE_MS,
|
||||
(target_distance / weapon_meta->bullet_speed() + 1.0) * 1000.0f / FRAME_RATE_MS,
|
||||
[this, context_pos_p, weapon_meta]
|
||||
(int event, const a8::Args* args)
|
||||
{
|
||||
@ -474,8 +474,9 @@ void Skill::ProcSpecDirShotPhase(const mt::SkillPhase* phase)
|
||||
target_distance = 0;
|
||||
owner->TryAddBuff(owner, 202013);
|
||||
owner->TryAddBuff(owner, 202014);
|
||||
#if 0
|
||||
target_id = GetTraceTargetId(owner);
|
||||
|
||||
#endif
|
||||
}
|
||||
glm::vec3 old_attack_dir = owner->GetAttackDir();
|
||||
glm::vec3 attack_dir = owner->skill_dir_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user