Initial support for web service for newer clients (#5731)

Co-authored-by: Jittapan Pluemsumran <secret@rathena.org>
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
This commit is contained in:
Vincent Stumpf
2022-08-16 06:10:18 -07:00
committed by GitHub
parent 5d105b5736
commit 0ac52d0bb4
65 changed files with 11127 additions and 122 deletions

View File

@@ -13686,17 +13686,17 @@ void PlayerStatPointDatabase::loadingFinished(){
level_one = std::make_shared<s_statpoint_entry>();
level_one->level = 1;
level_one->statpoints = start_status_points;
level_one->statpoints = inter_config.start_status_points;
level_one->traitpoints = 0;
this->put( 1, level_one );
}else if( battle_config.use_statpoint_table ){
if( level_one->statpoints != start_status_points ){
ShowError( "Status points for Level 1 (=%u) do not match inter_athena.conf value (=%u).\n", level_one->statpoints, start_status_points );
level_one->statpoints = start_status_points;
if( level_one->statpoints != inter_config.start_status_points ){
ShowError( "Status points for Level 1 (=%u) do not match inter_athena.conf value (=%u).\n", level_one->statpoints, inter_config.start_status_points );
level_one->statpoints = inter_config.start_status_points;
}
}else{
level_one->statpoints = start_status_points;
level_one->statpoints = inter_config.start_status_points;
level_one->traitpoints = 0;
}