summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-11 19:55:48 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-11 19:55:48 +0000
commit11835d127f26df6638493c45a7c5e090668430ae (patch)
tree69056e2a5a89972352a9f891fa00431ecb90ffee /src/map/battle.c
parent354a5439cd4f7b4e1454cb37637ce07af279466c (diff)
downloadhercules-11835d127f26df6638493c45a7c5e090668430ae.tar.gz
hercules-11835d127f26df6638493c45a7c5e090668430ae.tar.bz2
hercules-11835d127f26df6638493c45a7c5e090668430ae.tar.xz
hercules-11835d127f26df6638493c45a7c5e090668430ae.zip
- You don't get critical'ed when in counter-attack stance anymore.
- Changed the default counter-type to "always critical". git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5992 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index cb84d3044..06242d98e 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1162,6 +1162,7 @@ static struct Damage battle_calc_weapon_attack(
sd->state.arrow_atk = flag.arrow;
}
+/* Apparently counter attack no longer causes you to be critical'ed by mobs. [Skotlex]
//Check for counter
if(!skill_num)
{
@@ -1169,7 +1170,7 @@ static struct Damage battle_calc_weapon_attack(
//If it got here and you had autocounter active, then the direction/range does not matches: critical
flag.cri = 1;
} //End counter-check
-
+*/
if (!skill_num && (tsd || battle_config.enemy_perfect_flee))
{ //Check for Lucky Dodge
short flee2 = status_get_flee2(target);
@@ -4058,7 +4059,7 @@ void battle_set_defaults() {
battle_config.etc_log = 1;
battle_config.save_clothcolor = 0;
battle_config.undead_detect_type = 0;
- battle_config.auto_counter_type = 0;
+ battle_config.auto_counter_type = BL_ALL;
battle_config.min_hitrate = 5;
battle_config.max_hitrate = 100;
battle_config.agi_penalty_type = 1;