summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-17 13:38:53 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-17 13:38:53 +0000
commit1e279e2478b89dd4cc5717f83aa9b86b99ef2048 (patch)
tree6e84ceaf86cbe3fe9e0a06a1a810d22d21090116 /src/map/battle.c
parentb4222488bbe68eb2533e033dd8b14e61fc830ef1 (diff)
downloadhercules-1e279e2478b89dd4cc5717f83aa9b86b99ef2048.tar.gz
hercules-1e279e2478b89dd4cc5717f83aa9b86b99ef2048.tar.bz2
hercules-1e279e2478b89dd4cc5717f83aa9b86b99ef2048.tar.xz
hercules-1e279e2478b89dd4cc5717f83aa9b86b99ef2048.zip
Added skill_steal_type and removed snatcher's steal fail message
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@231 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 23bdca930..c0ba107e6 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5113,7 +5113,10 @@ static const struct {
{ "muting_players", &battle_config.muting_players}, // added by [Apple]
{ "zeny_from_mobs", &battle_config.zeny_from_mobs}, // [Valaris]
{ "mobs_level_up", &battle_config.mobs_level_up}, // [Valaris]
- { "pk_min_level", &battle_config.pk_min_level}, // [celest]
+ { "pk_min_level", &battle_config.pk_min_level}, // [celest]
+ { "skill_steal_type", &battle_config.skill_steal_type}, // [celest]
+ { "skill_steal_rate", &battle_config.skill_steal_rate}, // [celest]
+
//SQL-only options start
#ifndef TXT_ONLY
{ "mail_system", &battle_config.mail_system }, // added by [Valaris]
@@ -5336,6 +5339,8 @@ void battle_set_defaults() {
battle_config.zeny_from_mobs = 0;
battle_config.mobs_level_up = 0;
battle_config.pk_min_level = 55;
+ battle_config.skill_steal_type = 1;
+ battle_config.skill_steal_rate = 100;
battle_config.castrate_dex_scale = 150;