diff --git a/ryzom/server/src/entities_game_service/egs_sheets/egs_static_success_table.cpp b/ryzom/server/src/entities_game_service/egs_sheets/egs_static_success_table.cpp index 51ae3a021..9860e1546 100644 --- a/ryzom/server/src/entities_game_service/egs_sheets/egs_static_success_table.cpp +++ b/ryzom/server/src/entities_game_service/egs_sheets/egs_static_success_table.cpp @@ -95,6 +95,12 @@ bool CStaticSuccessTable::_Init = false; float CStaticSuccessTable::_AverageDodgeFactor = 0.0f; const CStaticSuccessTable* CStaticSuccessTable::_Tables[SUCCESS_TABLE_TYPE::NB_TABLE_TYPES]; +NLMISC_DYNVARIABLE( float, AverageDodgeFactor, "Average dodge factor used in creature damage calculation" ) +{ + if (get) + *pointer = CStaticSuccessTable::getAverageDodgeFactor(); +} + //-------------------------------------------------------------- // initTables //--------------------------------------------------------------