1
This commit is contained in:
parent
432118f50e
commit
6c61266f4f
@ -89,9 +89,7 @@ void SprintBuff::CoCollisionCheck()
|
|||||||
(int event, const a8::Args* args) mutable
|
(int event, const a8::Args* args) mutable
|
||||||
{
|
{
|
||||||
if (a8::TIMER_EXEC_EVENT == event) {
|
if (a8::TIMER_EXEC_EVENT == event) {
|
||||||
if (!meta->_buff_param3_int_list.empty()) {
|
Check(pre_pos, src_pos, hited_objects);
|
||||||
Check(pre_pos, src_pos, hited_objects);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
&xtimer_attacher);
|
&xtimer_attacher);
|
||||||
@ -127,6 +125,9 @@ void SprintBuff::Check(Position& pre_pos, Position& src_pos, std::map<int, long
|
|||||||
[this] (int event, const a8::Args* args)
|
[this] (int event, const a8::Args* args)
|
||||||
{
|
{
|
||||||
if (a8::TIMER_EXEC_EVENT == event) {
|
if (a8::TIMER_EXEC_EVENT == event) {
|
||||||
|
#ifdef DEBUG
|
||||||
|
a8::XPrintf("11111111111111111111111111\n", {});
|
||||||
|
#endif
|
||||||
owner->RemoveBuffByUniId(buff_uniid);
|
owner->RemoveBuffByUniId(buff_uniid);
|
||||||
owner->TryAddBuff(owner, meta->_int_buff_param1, skill_meta);
|
owner->TryAddBuff(owner, meta->_int_buff_param1, skill_meta);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user