1
This commit is contained in:
parent
210e984412
commit
36f4ac34d1
@ -32,7 +32,7 @@ void Guide::UpdateStep()
|
||||
(
|
||||
owner_->GetWeakPtrRef(),
|
||||
kPropGuideStep,
|
||||
curr_step_idx_,
|
||||
curr_step_meta_->id(),
|
||||
0,
|
||||
true);
|
||||
switch (curr_step_meta_->target()) {
|
||||
@ -123,6 +123,7 @@ void Guide::ProcMoveTargetAndPickup()
|
||||
1,
|
||||
1
|
||||
);
|
||||
int ii = 0;
|
||||
}
|
||||
},
|
||||
&owner_->xtimer_attacher);
|
||||
@ -140,7 +141,7 @@ void Guide::ProcMoveTargetAndPickup()
|
||||
done = false;
|
||||
break;
|
||||
}
|
||||
if (owner_->room->GetEntityByUniId(loot_uniid)) {
|
||||
if (!owner_->room->GetEntityByUniId(loot_uniid)) {
|
||||
done = false;
|
||||
break;
|
||||
}
|
||||
@ -335,6 +336,9 @@ void Guide::ProcUseSkill()
|
||||
|
||||
void Guide::NextStep()
|
||||
{
|
||||
#ifdef DEBUG
|
||||
a8::XPrintf("next step %d\n", {curr_step_idx_});
|
||||
#endif
|
||||
++curr_step_idx_;
|
||||
if (curr_step_idx_ >= mt::GuideStep::_steps.size()) {
|
||||
owner_->room->frame_event.AddPropChg
|
||||
|
Loading…
x
Reference in New Issue
Block a user