1
This commit is contained in:
parent
c44fc4dd88
commit
8daf51666b
@ -67,7 +67,7 @@ void SelectTargetWithSelfPosBuff::Activate()
|
||||
);
|
||||
for (auto& target : targets) {
|
||||
for (int buff_id : meta->_buff_param2_int_list) {
|
||||
target->TryAddBuff(caster_.Get(), buff_id);
|
||||
target->TryAddBuff(caster_.Get(), buff_id, skill_meta);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2907,5 +2907,13 @@ void Creature::UnSetBuffTag(int tag)
|
||||
|
||||
void Creature::ShotFindPath()
|
||||
{
|
||||
|
||||
if (std::abs(GetMoveDir().x) > FLT_EPSILON ||
|
||||
std::abs(GetMoveDir().z) > FLT_EPSILON
|
||||
) {
|
||||
#if 0
|
||||
glm::vec3 new_move_dir = GetMoveDir();
|
||||
GlmHelper::RotateY(new_move_dir, 90 / 180.0f);
|
||||
room->map_instance->Raycast();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user