diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-13 21:37:10 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-13 21:37:10 +0000 |
commit | a92c2e8b2d21660dea89d6c21cc33b5d11744c4f (patch) | |
tree | 32b60e479fd9f10785e48d0b953fee6469ba84d6 /src/map/battle.c | |
parent | 4cbf988c6707a3cfee4376acad2f96c118fbe149 (diff) | |
download | hercules-a92c2e8b2d21660dea89d6c21cc33b5d11744c4f.tar.gz hercules-a92c2e8b2d21660dea89d6c21cc33b5d11744c4f.tar.bz2 hercules-a92c2e8b2d21660dea89d6c21cc33b5d11744c4f.tar.xz hercules-a92c2e8b2d21660dea89d6c21cc33b5d11744c4f.zip |
- Added battle config sc_def_rate which adjusts natural defense of characters against status changes.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5275 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 f096ab117..35bc48183 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3828,6 +3828,7 @@ static const struct battle_data_short { { "allow_skill_without_day", &battle_config.allow_skill_without_day}, // [Komurka]
{ "skill_caster_check", &battle_config.skill_caster_check },
{ "status_cast_cancel", &battle_config.sc_castcancel },
+ { "status_def_rate", &battle_config.sc_def_rate },
};
static const struct battle_data_int {
@@ -4217,6 +4218,7 @@ void battle_set_defaults() { battle_config.skill_caster_check = 1;
battle_config.sc_castcancel = 0;
+ battle_config.sc_def_rate = 100;
}
void battle_validate_conf() {
|