diff --git a/server/gameserver/battledatacontext.cc b/server/gameserver/battledatacontext.cc index a0d0abcb..c4cc94cb 100644 --- a/server/gameserver/battledatacontext.cc +++ b/server/gameserver/battledatacontext.cc @@ -370,3 +370,13 @@ std::shared_ptr BattleDataContext::GetWeaponByUniId(long long wea } return nullptr; } + +void BattleDataContext::ForceInit(long long hero_uniid, + MetaData::Player* hum_meta, + long long weapon1_uniid, + MetaData::Equip* weapon1_meta, + long long weapon2_uniid, + MetaData::Equip* weapon2_meta) +{ + +} diff --git a/server/gameserver/battledatacontext.h b/server/gameserver/battledatacontext.h index 0df6d3e3..8b622a5a 100644 --- a/server/gameserver/battledatacontext.h +++ b/server/gameserver/battledatacontext.h @@ -54,6 +54,13 @@ struct BattleDataContext float GetDef(); + void ForceInit(long long hero_uniid, + MetaData::Player* hum_meta, + long long weapon1_uniid, + MetaData::Equip* weapon1_meta, + long long weapon2_uniid, + MetaData::Equip* weapon2_meta); + private: void Clear(); void ApplyAttr(std::array& attr_abs,