This commit is contained in:
aozhiwei 2022-10-19 18:33:36 +08:00
parent c6426ef305
commit 336d8897ad

View File

@ -938,7 +938,7 @@ void Creature::ProcSkillPhase(MetaData::SkillPhase* phase)
target_distance = skill_distance_; target_distance = skill_distance_;
room->xtimer.AddDeadLineTimerAndAttach room->xtimer.AddDeadLineTimerAndAttach
( (
(target_distance / weapon_meta->i->bullet_speed() + 0.3) * 1000.0f / FRAME_RATE_MS, (target_distance / weapon_meta->i->bullet_speed() + 0.6) * 1000.0f / FRAME_RATE_MS,
a8::XParams() a8::XParams()
.SetSender(this) .SetSender(this)
.SetParam1(context_pos.x) .SetParam1(context_pos.x)