1
This commit is contained in:
parent
888c34066e
commit
6e2c23f274
@ -44,9 +44,9 @@ void SprintBuff::SprintMove()
|
|||||||
owner->SetDisableMoveDirTimes(old_times);
|
owner->SetDisableMoveDirTimes(old_times);
|
||||||
owner->IncDisableMoveDirTimes();
|
owner->IncDisableMoveDirTimes();
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
a8::XPrintf("%f\n",
|
a8::XPrintf("%s\n",
|
||||||
{
|
{
|
||||||
a8::Format("xxxxxxxx move_dir:%f,%f,%f attack_dir:%f,%f,%f speed:%d",
|
a8::Format("xxxxxxxx move_dir:%f,%f,%f attack_dir:%f,%f,%f speed:%d disable_move_dir:%d",
|
||||||
{
|
{
|
||||||
owner->GetMoveDir().x,
|
owner->GetMoveDir().x,
|
||||||
owner->GetMoveDir().y,
|
owner->GetMoveDir().y,
|
||||||
@ -54,7 +54,8 @@ void SprintBuff::SprintMove()
|
|||||||
owner->GetAttackDir().x,
|
owner->GetAttackDir().x,
|
||||||
owner->GetAttackDir().y,
|
owner->GetAttackDir().y,
|
||||||
owner->GetAttackDir().z,
|
owner->GetAttackDir().z,
|
||||||
owner->GetSpeed()
|
owner->GetSpeed(),
|
||||||
|
owner->GetDisableMoveDirTimes(),
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
owner->room->xtimer.SetIntervalEx
|
owner->room->xtimer.SetIntervalEx
|
||||||
@ -65,7 +66,7 @@ void SprintBuff::SprintMove()
|
|||||||
if (a8::TIMER_EXEC_EVENT == event) {
|
if (a8::TIMER_EXEC_EVENT == event) {
|
||||||
a8::XPrintf("%s\n",
|
a8::XPrintf("%s\n",
|
||||||
{
|
{
|
||||||
a8::Format("xxxxxxxx move_dir:%f,%f,%f attack_dir:%f,%f,%f speed:%d",
|
a8::Format("xxxxxxxx move_dir:%f,%f,%f attack_dir:%f,%f,%f speed:%d disable_move_dir:%d",
|
||||||
{
|
{
|
||||||
owner->GetMoveDir().x,
|
owner->GetMoveDir().x,
|
||||||
owner->GetMoveDir().y,
|
owner->GetMoveDir().y,
|
||||||
@ -73,7 +74,8 @@ void SprintBuff::SprintMove()
|
|||||||
owner->GetAttackDir().x,
|
owner->GetAttackDir().x,
|
||||||
owner->GetAttackDir().y,
|
owner->GetAttackDir().y,
|
||||||
owner->GetAttackDir().z,
|
owner->GetAttackDir().z,
|
||||||
owner->GetSpeed()
|
owner->GetSpeed(),
|
||||||
|
owner->GetDisableMoveDirTimes(),
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user