Apply MHP limit based on bLv (#3003)
* Fixes #814. * Applies the official maximum HP limit on players. * Official notice: http://ro.gnjoy.com/news/notice/View.asp?BBSMode=10001&seq=6322 * Levels caps are as follows: Lv 99 = 330k; Lv 150 = 660k; Lv 175 = 1.1m Thanks to @flamefury!
This commit is contained in:
@@ -8133,7 +8133,9 @@ static const struct _battle_data {
|
||||
{ "max_walk_speed", &battle_config.max_walk_speed, 300, 100, 100*DEFAULT_WALK_SPEED, },
|
||||
{ "max_lv", &battle_config.max_lv, 99, 0, MAX_LEVEL, },
|
||||
{ "aura_lv", &battle_config.aura_lv, 99, 0, INT_MAX, },
|
||||
{ "max_hp", &battle_config.max_hp, 32500, 100, 1000000000, },
|
||||
{ "max_hp_lv99", &battle_config.max_hp_lv99, 330000, 100, 1000000000, },
|
||||
{ "max_hp_lv150", &battle_config.max_hp_lv150, 660000, 100, 1000000000, },
|
||||
{ "max_hp", &battle_config.max_hp, 1100000, 100, 1000000000, },
|
||||
{ "max_sp", &battle_config.max_sp, 32500, 100, 1000000000, },
|
||||
{ "max_cart_weight", &battle_config.max_cart_weight, 8000, 100, 1000000, },
|
||||
{ "max_parameter", &battle_config.max_parameter, 99, 10, SHRT_MAX, },
|
||||
|
||||
Reference in New Issue
Block a user