summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-03 18:43:19 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-03 18:43:19 +0000
commitbe9cf2aec39f2e29990d945f783e3dbc2ad88ae9 (patch)
treecfc6acc69ee9e5da8e39e5416cce9d97b7e9ea52 /src/map/battle.c
parent7b9cddaed2958e41f570ada6cdaec0cceb5ec103 (diff)
downloadhercules-be9cf2aec39f2e29990d945f783e3dbc2ad88ae9.tar.gz
hercules-be9cf2aec39f2e29990d945f783e3dbc2ad88ae9.tar.bz2
hercules-be9cf2aec39f2e29990d945f783e3dbc2ad88ae9.tar.xz
hercules-be9cf2aec39f2e29990d945f783e3dbc2ad88ae9.zip
- Modified Rude-Attacked behaviour so that such skills only triggers when the rude-attacked count is greater than 3.
- Added config setting slaves_inherit_mode to determine whether slaves take on their master's aggressive/passive status (defaults to yes) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5890 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 2851f0c88..e618d4e87 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3580,6 +3580,7 @@ static const struct battle_data_short {
{ "no_spawn_on_player", &battle_config.no_spawn_on_player },
{ "plant_spawn_delay", &battle_config.plant_spawn_delay },
{ "boss_spawn_delay", &battle_config.boss_spawn_delay },
+ { "slaves_inherit_mode", &battle_config.slaves_inherit_mode },
{ "slaves_inherit_speed", &battle_config.slaves_inherit_speed },
{ "summons_inherit_effects", &battle_config.summons_inherit_effects },
{ "pc_damage_walk_delay_rate", &battle_config.pc_walk_delay_rate },
@@ -3961,6 +3962,7 @@ void battle_set_defaults() {
battle_config.no_spawn_on_player=0;
battle_config.plant_spawn_delay=100;
battle_config.boss_spawn_delay=100;
+ battle_config.slaves_inherit_mode=1;
battle_config.slaves_inherit_speed=1;
battle_config.summons_inherit_effects=1;
battle_config.pc_walk_delay_rate=20;