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/status.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/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index 312b6a6f1..7df40765c 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -405,7 +405,7 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int {
if (
(sc->data[SC_TRICKDEAD].timer != -1 && skill_num != NV_TRICKDEAD)
- || sc->data[SC_AUTOCOUNTER].timer != -1
+ || (sc->data[SC_AUTOCOUNTER].timer != -1 && !flag)
|| (sc->data[SC_GOSPEL].timer != -1 && sc->data[SC_GOSPEL].val4 == BCT_SELF && skill_num != PA_GOSPEL)
|| (sc->data[SC_GRAVITATION].timer != -1 && sc->data[SC_GRAVITATION].val3 == BCT_SELF && skill_num != HW_GRAVITATION)
)
|