- Corrected being able to cast multiple Gravitation Fields before the previous one is cancelled.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11291 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2007-09-25 04:04:50 +00:00
parent 52f3681f3d
commit 76ece51877
2 changed files with 3 additions and 1 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.
2007/09/25
* Corrected being able to cast multiple Gravitation Fields before the
previous one is cancelled. [Skotlex]
* Disabled tick cache (to enable it: define TICK_CACHE to the number of
calls that should be cached).
* Added a charid2sd database for fast charid searches.

View File

@ -991,7 +991,7 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int
(sc->data[SC_TRICKDEAD].timer != -1 && skill_num != NV_TRICKDEAD)
|| (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)
|| (sc->data[SC_GRAVITATION].timer != -1 && sc->data[SC_GRAVITATION].val3 == BCT_SELF && flag != 2)
// || (sc->data[SC_CLOAKING].timer != -1 && sc->data[SC_CLOAKING].val1 < 3 && skill_num != AS_CLOAKING) //Official sites say it blocks attack/skill usage, ingame proof says it does not.
)
return 0;