diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-05 16:30:47 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-05 16:30:47 +0000 |
commit | d99c0313edbb4bd24172f825b7d621ad620ec7d1 (patch) | |
tree | adac4c1ccf43f1a85c65f0e47dc3b4a8af9c8044 /src/map/battle.c | |
parent | fc694ecbe6734d01c0a1626beb96f514fb06aa5e (diff) | |
download | hercules-d99c0313edbb4bd24172f825b7d621ad620ec7d1.tar.gz hercules-d99c0313edbb4bd24172f825b7d621ad620ec7d1.tar.bz2 hercules-d99c0313edbb4bd24172f825b7d621ad620ec7d1.tar.xz hercules-d99c0313edbb4bd24172f825b7d621ad620ec7d1.zip |
- 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
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 4 |
1 files changed, 4 insertions, 0 deletions
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;
|