From d99c0313edbb4bd24172f825b7d621ad620ec7d1 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 5 May 2006 16:30:47 +0000 Subject: - Being in Enjoyable Rest state will now also trigger the HP/SP Time skills (even if there's no other TK around). - Renamed SC_TKDORI to SC_TKREST (makes more sense if you ask me) - Added battle config settings view_range_rate and chase_range_rate to adjust the view-range and chase-range (range2/range3) of the mob_db without having to manually change them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6490 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index b8426214a..db2b8be3f 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3592,6 +3592,8 @@ static const struct battle_data_short { { "mvp_hp_rate", &battle_config.mvp_hp_rate }, { "monster_hp_rate", &battle_config.monster_hp_rate }, { "monster_max_aspd", &battle_config.monster_max_aspd }, + { "view_range_rate", &battle_config.view_range_rate }, + { "chase_range_rate", &battle_config.chase_range_rate }, { "atcommand_gm_only", &battle_config.atc_gmonly }, { "atcommand_spawn_quantity_limit", &battle_config.atc_spawn_quantity_limit }, { "atcommand_slave_clone_limit", &battle_config.atc_slave_clone_limit}, @@ -3984,6 +3986,8 @@ void battle_set_defaults() { battle_config.mvp_hp_rate=100; battle_config.monster_hp_rate=100; battle_config.monster_max_aspd=199; + battle_config.view_range_rate=100; + battle_config.chase_range_rate=100; battle_config.atc_gmonly=0; battle_config.atc_spawn_quantity_limit=0; battle_config.atc_slave_clone_limit=0; -- cgit v1.2.3-70-g09d2