From a076a7fdabc0d191cf15d3b505a60914106012fa Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 14 Mar 2023 16:55:35 +0800 Subject: [PATCH] 1 --- server/gameserver/buff/callfunc.cc | 10 ++++++++++ server/gameserver/buff/callfunc.h | 2 ++ 2 files changed, 12 insertions(+) diff --git a/server/gameserver/buff/callfunc.cc b/server/gameserver/buff/callfunc.cc index 94bc97be..214fd531 100644 --- a/server/gameserver/buff/callfunc.cc +++ b/server/gameserver/buff/callfunc.cc @@ -93,6 +93,11 @@ void CallFuncBuff::Activate() ProcFlashMoveToPos(); } break; + case BuffCallFunc_e::kLightCircle: + { + ProcLightCircle(); + } + break; default: { } @@ -286,3 +291,8 @@ void CallFuncBuff::ProcFlashMoveToPos() Global::Instance()->verify_set_pos = 0; owner->room->grid_service->MoveCreature(owner); } + +void CallFuncBuff::ProcLightCircle() +{ + +} diff --git a/server/gameserver/buff/callfunc.h b/server/gameserver/buff/callfunc.h index c25d4005..d21b8384 100644 --- a/server/gameserver/buff/callfunc.h +++ b/server/gameserver/buff/callfunc.h @@ -15,6 +15,7 @@ A8_DECLARE_CLASS_ENUM(BuffCallFunc_e, int, kAddEnergyShield = 10, kAddHp = 11, kFlashMoveToPos = 12, + kLightCircle = 13 ); @@ -34,6 +35,7 @@ class CallFuncBuff : public Buff void ProcAddEnergyShield(); void ProcAddHp(); void ProcFlashMoveToPos(); + void ProcLightCircle(); float hold_param2_ = 0.0; };