diff options
author | Haru <haru@dotalux.com> | 2017-03-16 14:28:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-16 14:28:16 +0100 |
commit | 8a6625c2e0b1a426dca880ef3ed610a2c34a9f31 (patch) | |
tree | 88aa4e9d29a5c8697f115b0abec440caed134361 /src/map/battle.c | |
parent | 07639c861a7326c4ae022a6fedc161941f69e651 (diff) | |
parent | 880ea659c9ec5241579281c8f9bff256d3d42eac (diff) | |
download | hercules-8a6625c2e0b1a426dca880ef3ed610a2c34a9f31.tar.gz hercules-8a6625c2e0b1a426dca880ef3ed610a2c34a9f31.tar.bz2 hercules-8a6625c2e0b1a426dca880ef3ed610a2c34a9f31.tar.xz hercules-8a6625c2e0b1a426dca880ef3ed610a2c34a9f31.zip |
Merge pull request #1630 from Emistry/fix_mvp_message
Fixed MVP exp message issue for clients 2013-12-23cRagexe and newer
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 64fda033f..77bb99730 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -7321,6 +7321,7 @@ static const struct battle_data { { "player_warp_keep_direction", &battle_config.player_warp_keep_direction, 0, 0, 1, }, { "atcommand_levelup_events", &battle_config.atcommand_levelup_events, 0, 0, 1, }, { "max_summoner_parameter", &battle_config.max_summoner_parameter, 120, 10, 10000, }, + { "mvp_exp_reward_message", &battle_config.mvp_exp_reward_message, 0, 0, 1, }, }; #ifndef STATS_OPT_OUT /** @@ -7599,6 +7600,13 @@ void battle_adjust_conf(void) { } #endif +#if PACKETVER < 20131223 + if (battle_config.mvp_exp_reward_message) { + ShowWarning("conf/map/battle/client.conf MVP EXP reward message is enabled but it requires PACKETVER 2013-12-23 or newer, disabling...\n"); + battle_config.mvp_exp_reward_message = 0; + } +#endif + #ifndef CELL_NOSTACK if (battle_config.custom_cell_stack_limit != 1) ShowWarning("Battle setting 'custom_cell_stack_limit' takes no effect as this server was compiled without Cell Stack Limit support.\n"); |