diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-08 19:33:01 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-08 19:33:01 +0000 |
commit | 1f8acdc9e58cd5344427babe69539ba86fdda03d (patch) | |
tree | 5a7f497e867ddf19a75f3aa241145d1418cb0e58 /src/map/battle.c | |
parent | a9c2d623a66f27674ea539963a8738138ca7f6aa (diff) | |
download | hercules-1f8acdc9e58cd5344427babe69539ba86fdda03d.tar.gz hercules-1f8acdc9e58cd5344427babe69539ba86fdda03d.tar.bz2 hercules-1f8acdc9e58cd5344427babe69539ba86fdda03d.tar.xz hercules-1f8acdc9e58cd5344427babe69539ba86fdda03d.zip |
- Added battle config options:
- skill_caster_check (does a status_checkskilluse on all skill attacks)
- status_cast_cancel (invokes skill_castcancel for opt1 type status changes)
- Fixed the death exp penalty underflow bug
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5229 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 808f8dbb7..354dc0d88 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3822,6 +3822,8 @@ static const struct battle_data_short { { "skip_teleport_lv1_menu", &battle_config.skip_teleport_lv1_menu}, // [LuzZza]
{ "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 },
};
static const struct battle_data_int {
@@ -4207,6 +4209,9 @@ void battle_set_defaults() { battle_config.skip_teleport_lv1_menu = 0;
battle_config.allow_skill_without_day = 0;
+
+ battle_config.skill_caster_check = 1;
+ battle_config.sc_castcancel = 0;
}
void battle_validate_conf() {
|