From 6b7b6be7077ebe5276702aa1abc0abee56b02e94 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 5 Sep 2024 16:15:10 +0800 Subject: [PATCH] 1 --- server/gameserver/ability.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server/gameserver/ability.cc b/server/gameserver/ability.cc index ba57f96b..7f23cba8 100644 --- a/server/gameserver/ability.cc +++ b/server/gameserver/ability.cc @@ -36,6 +36,13 @@ struct AttrAddition : public std::enable_shared_from_this }; +static std::array>, kAstEnd> s_speed_ratein_list = + { + std::vector>({}), + std::vector>({}), + std::vector>({}) + }; + static bool IsMulCalc(int attr_id) { switch (attr_id) {