diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-04 17:58:10 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-04 17:58:10 +0000 |
commit | 32932947f48208db02010030a0d558cf2d19624d (patch) | |
tree | f3972640f291deb88b695e70c7d232e4bf14bc6d /src/map/battle.c | |
parent | 9f301a592ce1c2646bbda3404e45e4276b072fcd (diff) | |
download | hercules-32932947f48208db02010030a0d558cf2d19624d.tar.gz hercules-32932947f48208db02010030a0d558cf2d19624d.tar.bz2 hercules-32932947f48208db02010030a0d558cf2d19624d.tar.xz hercules-32932947f48208db02010030a0d558cf2d19624d.zip |
- Added battle config setting emergency_recall, specifies behaviour of that skill (skill.conf): 0 - Disabled. 1 - can't be used in nowarpto maps. 2 - Can be used everywhere.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7516 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index be22f4bc7..191608a3a 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3321,6 +3321,7 @@ static const struct battle_data_short { { "pvp_exp", &battle_config.pvp_exp }, { "gtb_sc_immunity", &battle_config.gtb_sc_immunity}, { "guild_max_castles", &battle_config.guild_max_castles }, + { "emergency_call", &battle_config.emergency_call }, { "death_penalty_type", &battle_config.death_penalty_type }, { "death_penalty_base", &battle_config.death_penalty_base }, { "death_penalty_job", &battle_config.death_penalty_job }, @@ -3738,6 +3739,7 @@ void battle_set_defaults() { battle_config.gm_join_chat=0; battle_config.gm_kick_chat=0; battle_config.guild_max_castles=0; + battle_config.emergency_call=2; battle_config.skillfree = 0; battle_config.skillup_limit = 0; battle_config.wp_rate=100; |