- You don't get critical'ed when in counter-attack stance anymore.

- Changed the default counter-type to "always critical".


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5992 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-04-11 19:55:48 +00:00
parent 0ef81c9d08
commit 58be7c433b
3 changed files with 6 additions and 3 deletions

View File

@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/04/11
* You don't get critical'ed when in counter-attack stance anymore. [Skotlex]
* Changed the default counter-type to "always critical". [Skotlex]
* Implemented use of ers for skill_unit_groups to reduce memory usage.
* Note that it's NOT TESTED yet. Use with caution, at least some obvious
bugs are expected to be found... [Skotlex]

View File

@ -99,7 +99,7 @@ combo_delay_rate: 100
// Use alternate auto Counter Attack Skill Type? (Note 4)
// For those characters on which it is set, 100% Critical,
// Otherwise it disregard DEF and HIT+20, CRI*2
auto_counter_type: 0
auto_counter_type: 15
// Can ground skills be placed on top of each other? (Note 4)
// If set, only skills with UF_NOREITERATION set will be affected (skill_unit_db)

View File

@ -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;