This commit is contained in:
aozhiwei 2023-03-09 07:19:11 +08:00
parent 1bc942d86d
commit 5744d5d468

View File

@ -162,6 +162,11 @@ void SprintBuff::Check(Position& pre_pos, Position& src_pos, std::map<int, long
}
}
pre_pos = owner->GetPos();
if (meta->_buff_param6 && !hited_objects.empty()) {
owner->RemoveBuffByUniId(buff_uniid);
owner->TryAddBuff(owner, meta->_int_buff_param1, skill_meta);
}
}
void SprintBuff::OnEnemyHit(Creature* enemy)