diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-03 20:52:31 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-03 20:52:31 +0000 |
commit | 610430033b7529776cdbd59cb9327fab3252309f (patch) | |
tree | f65eb189da2183b407c93af632eea91322349c46 /src/map/battle.c | |
parent | 6076bb0e708d2603f636e58211838c02b0c301c6 (diff) | |
download | hercules-610430033b7529776cdbd59cb9327fab3252309f.tar.gz hercules-610430033b7529776cdbd59cb9327fab3252309f.tar.bz2 hercules-610430033b7529776cdbd59cb9327fab3252309f.tar.xz hercules-610430033b7529776cdbd59cb9327fab3252309f.zip |
- SC_AUTOCOUNTER now only blocks all attacks/skills when the flag is 0 (attempt to use skill)
- Autocounter triggers are now checked against flag 1 (cast-end) rather than 0.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5893 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index caa05e2ff..278ecc1db 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3014,7 +3014,7 @@ int battle_weapon_attack( struct block_list *src,struct block_list *target, {
if(tsc->data[SC_AUTOCOUNTER].timer != -1 &&
(!sc || sc->data[SC_AUTOCOUNTER].timer == -1) &&
- status_check_skilluse(target, src, KN_AUTOCOUNTER, 0)
+ status_check_skilluse(target, src, KN_AUTOCOUNTER, 1)
) {
int dir = map_calc_dir(target,src->x,src->y);
int t_dir = unit_getdir(target);
|