From f57738ddc6b2b42ad9c3f34d20f04259e67a8dbd Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 21 Dec 2023 16:34:33 +0800 Subject: [PATCH] 1 --- server/gameserver/creature.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/server/gameserver/creature.cc b/server/gameserver/creature.cc index 813d26d9..0c6813fb 100644 --- a/server/gameserver/creature.cc +++ b/server/gameserver/creature.cc @@ -3882,5 +3882,13 @@ float Creature::GetHeightOffset() void Creature::SpecShot(const glm::vec3& pos, int max_bullet) { - + room->frame_event.AddPropChgEx + ( + GetWeakPtrRef(), + kPropSpecShot, + 0, + pos.x, + pos.y, + pos.z + ); }